Re: Compatibility with mailx aliases

2024-06-23 Thread Walter Alejandro Iglesias
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

Re: Compatibility with mailx aliases

2024-06-23 Thread Rene Kita
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

Re: Compatibility with mailx aliases

2024-06-23 Thread Kevin J. McCarthy
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_Q

Re: Compatibility with mailx aliases

2024-06-22 Thread Rene Kita
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 */ > > >

Re: Compatibility with mailx aliases

2024-06-22 Thread Walter Alejandro Iglesias
On Sun, Jun 23, 2024 at 06:29:45AM +0200, Rene Kita wrote: > On Sat, Jun 22, 2024 at 11:23:40AM +0200, Walter Alejandro Iglesias wrote: > > I was lazy, I didn't take a look at the code before sending this > > suggestion. Now I tested your patch and it works, but I don't > > understand what your di

Re: Compatibility with mailx aliases

2024-06-22 Thread Kevin J. McCarthy
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 o

Re: Compatibility with mailx aliases

2024-06-22 Thread Rene Kita
On Sat, Jun 22, 2024 at 11:23:40AM +0200, Walter Alejandro Iglesias wrote: > Hi Rene, Hi Walter! > On Sat, Jun 22, 2024 at 10:36:52AM +0200, Rene Kita wrote: > > On Sat, Jun 22, 2024 at 07:13:16AM +0200, Walter Alejandro Iglesias wrote: > > > Traditional mailx (bsd versions and GNU mailutils) nee

Re: Compatibility with mailx aliases

2024-06-22 Thread Walter Alejandro Iglesias
On Sat, Jun 22, 2024 at 11:36:47AM +0200, Walter Alejandro Iglesias wrote: > > > A lot of existing software requires quoting the name when it contains > > > '.'. What does BSD or GNU mailutils with those? Does it use single > > > quotes or what? Such as > > > > > > '"John R. Doe" ' > > > > I

Re: Compatibility with mailx aliases

2024-06-22 Thread Walter Alejandro Iglesias
On Sat, Jun 22, 2024 at 11:32:06AM +0200, Walter Alejandro Iglesias wrote: > Hi Alejandro, > > On Sat, Jun 22, 2024 at 11:02:28AM +0200, Alejandro Colomar wrote: > > Hi Walter, > > > > On Sat, Jun 22, 2024 at 10:36:52AM GMT, Rene Kita wrote: > > > On Sat, Jun 22, 2024 at 07:13:16AM +0200, Walter

Re: Compatibility with mailx aliases

2024-06-22 Thread Walter Alejandro Iglesias
Hi Alejandro, On Sat, Jun 22, 2024 at 11:02:28AM +0200, Alejandro Colomar wrote: > Hi Walter, > > On Sat, Jun 22, 2024 at 10:36:52AM GMT, Rene Kita wrote: > > On Sat, Jun 22, 2024 at 07:13:16AM +0200, Walter Alejandro Iglesias wrote: > > > Traditional mailx (bsd versions and GNU mailutils) needs

Re: Compatibility with mailx aliases

2024-06-22 Thread Walter Alejandro Iglesias
Hi Rene, On Sat, Jun 22, 2024 at 10:36:52AM +0200, Rene Kita wrote: > On Sat, Jun 22, 2024 at 07:13:16AM +0200, Walter Alejandro Iglesias wrote: > > Traditional mailx (bsd versions and GNU mailutils) needs this syntax for > > aliases: > > > > alias john"John Dou " > > > > With full add

Re: Compatibility with mailx aliases

2024-06-22 Thread Alejandro Colomar
Hi Walter, On Sat, Jun 22, 2024 at 10:36:52AM GMT, Rene Kita wrote: > On Sat, Jun 22, 2024 at 07:13:16AM +0200, Walter Alejandro Iglesias wrote: > > Traditional mailx (bsd versions and GNU mailutils) needs this syntax for > > aliases: > > > > alias john"John Dou " How about addresses t

Re: Compatibility with mailx aliases

2024-06-22 Thread Rene Kita
On Sat, Jun 22, 2024 at 07:13:16AM +0200, Walter Alejandro Iglesias wrote: > Traditional mailx (bsd versions and GNU mailutils) needs this syntax for > aliases: > > alias john "John Dou " > > With full addresses, since they contain spaces, you need to enclose them > in quotes. Any unix user w

Compatibility with mailx aliases

2024-06-21 Thread Walter Alejandro Iglesias
Traditional mailx (bsd versions and GNU mailutils) needs this syntax for aliases: alias john"John Dou " With full addresses, since they contain spaces, you need to enclose them in quotes. Any unix user would tend to add those quotes since there are three fields there, not five. If you add