Re: hide pgp or smime signatures ?
On Tue, Oct 09, 2007 at 02:31:48PM -0700, Gary Johnson wrote:
> > > On 2007-10-09, Nicolas KOWALSKI <niko@xxxxxxxxxxxxxxxxx> wrote:
> > > > Is it possible to not display the pgp or smime signature at all in
> > > > the pager ?
> This is what I actually use when reading the mutt lists.
>
> folder-hook +Incoming/. 'message-hook ~A '\''set
> display_filter="sed '\'\\\'\''/^.*\\[-- .* --]$/d'\'\\\'\''"'\'''
>
> That is one line. It removes all lines that begin with an invisible
> escape sequence followed by "[-- " and end with " --]". It removes
> the lines
Yes, it works perfectly, Thanks.
> So, you can either play with the regular expressions in the filters I
> posted previously and see if you can get rid of those pgp/smime
> indications yourself, or you can post what you're seeing here and I
> can try to give a you filter that will work for that case.
I will test using your previous code, as I now see how to do it.
Thanks for your help proposition.
Best regards,
--
Nicolas