[Top][All Lists]

[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: Sat, 26 Sep 2015 09:32:20 +0300

> Date: Sat, 26 Sep 2015 09:27:11 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> > From: Paul Eggert <address@hidden>
> > Cc: address@hidden
> > Date: Fri, 25 Sep 2015 15:32:11 -0700
> > 
> > Here's a better idea.  Developers that use a UTF-8 locale are OK 
> > already.  Let's suggest to the remaining developers that they put 
> > something like the following into their .emacs:
> > 
> >    (add-hook 'auto-coding-functions (lambda (size) 'utf-8))
> > 
> > This will let Emacs default to UTF-8 for files that don't already have a 
> > coding cookie.
> You are assuming that those "remaining developers" use Emacs only for
> working on Emacs, is that right?

And I fail to see how's that less prone to errors, anyway: it still
requires something to be added manually to some file.  The only
solution which will make the current situation better is one that will
work in "emacs -Q".

reply via email to

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