emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF-8 encoded Lisp files
Date: Mon, 28 Sep 2015 18:58:16 +0300

> Cc: address@hidden, address@hidden
> From: Paul Eggert <address@hidden>
> Date: Mon, 28 Sep 2015 08:08:32 -0700
> 
> On 09/27/2015 11:53 PM, Eli Zaretskii wrote:
> > The best solution we have now is to have a coding cookie in each such
> > file, and the question is how can that be avoided.
> >
> > IOW, the solution should IMO be independent of user's preferences.
> 
> Here's an idea: improve the handling of .dir-locals.el so that it could 
> contain something like this:
> 
>    ((nil . ((coding . 'utf-8)
>         (tab-width . 8)
>         (fill-column . 70)))
>     (c-mode . ((c-file-style . "GNU"))))

That's better than having to specify encoding in individual files, so
I think this would be progress.  Thanks.



reply via email to

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