On Sun, Jun 23, 2024 at 03:43:50PM +0800, Kevin J. McCarthy wrote:
> On Sun, Jun 23, 2024 at 08:44:44AM +0200, Rene Kita wrote:
> >On Sun, Jun 23, 2024 at 01:53:21PM +0800, Kevin J. McCarthy wrote:
> >> On Sun, Jun 23, 2024 at 06:29:45AM +0200, Rene Kita wrote:
> >> > MUTT_TOKEN_QUOTE tells mutt to tread quotes as parts of the string, from
> >> > the header:
> >> > #define MUTT_TOKEN_QUOTE      (1<<3)  /* don't interpret quotes */
> >> >
> >> > AFAIU, this should not have undesired side effects. But I have never
> >> > read this part of the code before, I might be wrong.
> >>
> >> This will break aliases such as
> >>  alias kmtest "McCarthy, Kevin" <ke...@example.com>
> >>
> >> The double quotes are stripped out of the returned token without
> >> MUTT_TOKEN_QUOTE.
> >
> >Yes, that's the whole idea, isn't it? As said somewhere up thread,
> >you'll need to use single quotes in such a case.
> >
> > alias kmtest '"McCarthy, Kevin" <ke...@example.com>'
> >
> >This is the same behavior as mailx shows and breaks current mutt
> >behavior. That's why it should be an option.
> 
> Okay.  I saw that but thought you had later concluded there were no side 
> effects.  My mistake :).

If the code was designed to work that way (too clever may be?), it's not
worth complicating it even more with this option.  I will continue to
use two aliases files. :-)

Thank you all!


> 
> -- 
> Kevin J. McCarthy
> GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
> 
> 

-- 
Walter

Reply via email to