help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Changes to message-mode and encoding in Emacs26


From: Alex Bennée
Subject: Re: Changes to message-mode and encoding in Emacs26
Date: Mon, 02 Oct 2017 18:12:29 +0100
User-agent: mu4e 0.9.19; emacs 26.0.60

Eli Zaretskii <address@hidden> writes:

>> From: Alex Bennée <address@hidden>
>> Cc: Eli Zaretskii <address@hidden>, address@hidden
>> Date: Mon, 02 Oct 2017 09:36:07 +0100
>>
>> I haven't narrowed it down yet but is certainly during message-do-fcc.
>> It's hard to tell because the work takes place in a temporary buffer but
>> I'm currently looking at the code that does:
>>
>>     (when file
>>       (with-temp-buffer
>>      (insert-buffer-substring buf)
>>      (message-clone-locals buf)
>>      (message-encode-message-body)
>>
>> And wondering how that might of changed.
>
> Is 'buf' a unibyte buffer or a multibyte buffer?

buf is the source buffer and yes it will be a multibyte buffer by virtue
of utf-8 encoding and special characters.

>
>> Any idea how to examine the current with-temp-buffer while stepping
>> through in edebug?
>
> You can "C-x b" when Emacs is stopped in Edebug.

The with-temp-buffer doesn't show up on the list until later (where it
is a duplicate created for the purpose of saving the email)

>
> (Why are we still discussing this issue on this list?)

I was responding to Alexis but I can create a new emacs-devel message if
you want or just post directly to the bugs. I feel we are getting close.

--
Alex Bennée



reply via email to

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