Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread Derek Martin
On Thu, Oct 25, 2018 at 06:14:18PM +0100, Nuno Silva wrote: > > Also, depending on exactly why you're doing this multi-locale stuff, > > an even better solution may be to let Mutt's send_charset handle it > > for you. [...] > But, if I understood the purpose of send_charset correctly, it only > a

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread nunojsilva
On 2018-10-25, Derek Martin wrote: > On Thu, Oct 25, 2018 at 11:11:52AM -0500, Derek Martin wrote: >> On Thu, Oct 25, 2018 at 12:53:43PM +0100, Nuno Silva wrote: >> > When I use emacsclient, the interface locale is not broken: the terminal >> > I/O encoding is correctly set from the locale. The on

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread Derek Martin
On Thu, Oct 25, 2018 at 11:11:52AM -0500, Derek Martin wrote: > On Thu, Oct 25, 2018 at 12:53:43PM +0100, Nuno Silva wrote: > > When I use emacsclient, the interface locale is not broken: the terminal > > I/O encoding is correctly set from the locale. The only difference (that > > I know of) is th

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread Derek Martin
On Thu, Oct 25, 2018 at 12:53:43PM +0100, Nuno Silva wrote: > When I use emacsclient, the interface locale is not broken: the terminal > I/O encoding is correctly set from the locale. The only difference (that > I know of) is that Emacs will use utf8 to read/write files. If this > should match the

Switching sort order from 'd' to 't'

2018-10-25 Thread Felix Finch
Just noticed an interesting phenomena. I was asked about a several-day-long thread whose most recent message was yesterday, wanted to find the thread beginning, so I switched to 'd' order, found the most recent message, and switched to 't' order while on that message; mutt beeped and went to th

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread nunojsilva
On 2018-10-24, Derek Martin wrote: > On Tue, Oct 23, 2018 at 10:31:45PM +0100, Nuno Silva wrote: >> On 2017-10-12, nunojsi...@ist.utl.pt wrote: >> >> > Recently, I have tried to use mutt on a non-utf8 terminal. Everything >> > works as expected in an utf8 environment, but when I compose new e-ma

Re: Composing in utf8 from latin1 terminal

2018-10-25 Thread nunojsilva
On 2018-10-24, Ian Zimmerman wrote: > On 2018-10-23 22:31, Nuno Silva wrote: > >> So far I did not find a way to change this on the mutt side, but I made >> a new major mode for mutt messages in Emacs (the editor I use with >> mutt), with a hook that changes the file encoding to latin1 if the file