Katsumi Yamaoka 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