emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the default for `send-mail-function'


From: Eli Zaretskii
Subject: Re: Changing the default for `send-mail-function'
Date: Mon, 27 Jun 2011 07:04:50 -0400

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Mon, 27 Jun 2011 11:39:13 +0200
> Mail-Copies-To: never
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >>      (with-current-buffer process-buffer
> >> +      (set-buffer-multibyte nil)
> >>        (setq buffer-undo-list t)
> >>        (erase-buffer))
> >
> > Why?  What purpose would or could making the buffer unibyte possible
> > serve in this case?
> 
> Pure cargo-culting.  :-)  I looked at what nnimap did differently with
> encoding/charsets, and it was `coding-system-for-*', and
> `set-buffer-multibyte'.

Whenever you see that a buffer is set to unibyte, you should first
suspect that the code is wrong.

> If somebody on Windows could try removing the `set-buffer-multibyte'
> again and post via Gmail, that would be nice...

Cristoph already did, and said it still worked for him.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]