nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] show: quotes in email addresses

2015-06-24 09:06:40
Anthony wrote:

However, I don't want to see the quotes in show(1) output, just as I
already don't have to type them in my outgoing messages. Can nmh be
configured that way? 

That's easy to configure, by filtering (decoded) addresses through
the unquote format function,

    $ fmttest -address -format "%(unquote(decode{text}))" '"Anthony J. Bentley" 
<anthony(_at_)anjbe(_dot_)name>'
    Anthony J. Bentley <anthony(_at_)anjbe(_dot_)name>

If you're using the default format files such as %nmhetcdir%/mhl.headers,
you could hack them.  Or better, customize your own and use -format.

Should displaying the quotes be the default behavior?

I think that would be the best solution.  Any objection?

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>