From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Disable pgp signatures for Gcc copy
Date: Tue, 06 Nov 2012 08:31:37 +0900 [thread overview]
Message-ID: <b4mpq3rhbja.fsf@jpl.org> (raw)
In-Reply-To: <87a9uwt8pc.fsf@toke.dk>
Toke Høiland-Jørgensen wrote:
> So my question is, is there a way to disable signatures for Gcc copies
> of mails (similar to Mutt's fcc_clear option)?
That will be just one of the purposes of to use
`gnus-gcc-pre-body-encode-hook', that runs before archiving
a message copy as Gcc. Here's what I tried:
(add-hook 'gnus-gcc-pre-body-encode-hook
(lambda ()
(message-goto-body)
(while (re-search-forward
"^<#secure\\( [^\n >]+\\)* mode=sign\\( [^\n >]+\\)*>\n"
nil t)
(delete-region (match-beginning 0) (match-end 0)))))
next prev parent reply other threads:[~2012-11-05 23:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-05 14:39 Toke Høiland-Jørgensen
2012-11-05 23:31 ` Katsumi Yamaoka [this message]
2012-11-06 0:41 ` Toke Høiland-Jørgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4mpq3rhbja.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).