emacs-devel
[Top][All Lists]
Advanced

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

Re: Towards a cleaner build: rmailmm


From: Eli Zaretskii
Subject: Re: Towards a cleaner build: rmailmm
Date: Fri, 14 Jun 2019 10:23:45 +0300

> From: Stefan Monnier <address@hidden>
> Date: Thu, 13 Jun 2019 18:15:31 -0400
> 
> > But...  wouldn't string-to-unibyte be the right thing here anyway?
> 
> I'd tend to agree.  string-as-unibyte ends up basically encoding with
> `utf-8-emacs-unix` coding-system which seems like an odd choice here.

I think we should simply remove that call and use the result of
buffer-string directly.  The buffer whose text we are receiving from
buffer-string is a unibyte buffer, so the string will also be unibyte.
I just tried this on my recent mail and didn't see any problems.

> > I'm not an rmail user, so I can't test this.
> 
> Neither am I.

I am.



reply via email to

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