From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: ding@gnus.org
Subject: Re: Disable pgp signatures for Gcc copy
Date: Tue, 06 Nov 2012 01:41:42 +0100 [thread overview]
Message-ID: <87hap3sgu1.fsf@toke.dk> (raw)
In-Reply-To: <b4mpq3rhbja.fsf@jpl.org>
[-- Attachment #1: Type: text/plain, Size: 581 bytes --]
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> 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)))))
>
That works beautifully. Thanks a lot! :)
-Toke
--
Toke Høiland-Jørgensen
toke@toke.dk
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
prev parent reply other threads:[~2012-11-06 0:41 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
2012-11-06 0:41 ` Toke Høiland-Jørgensen [this message]
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=87hap3sgu1.fsf@toke.dk \
--to=toke@toke.dk \
--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).