[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Defaults for elisp-mode files
From: |
Stephen J. Turnbull |
Subject: |
Re: Defaults for elisp-mode files |
Date: |
Thu, 04 Oct 2012 15:01:06 +0900 |
Stefan Monnier writes:
> No, I mean to set auto-coding-list so that .el files get read as utf-8.
I was afraid you meant that, but one can always hope. ;-)
> I don't think so: if the file doesn't have a `coding:' cookie but has
> significant non-ASCII chars in it, we usually sooner or later get bug
> reports about it (because someone loaded the file in an locale where
> the encoding ended up not recognized correctly).
Funny, that's another bug that just doesn't show up on XEmacs channels
that I know of. The reason is simple: ISO-2022-JP is unambiguous and
very reliably detectable.[1]
Very occasionally somebody will ask for help with a 3rd party file. I
explain about coding cookies and C-u C-x C-f ... C-x C-m f iso-2022-jp
and never hear from them about that again.
Of course, all of the above would be true of UTF-8.
> > While you *can* set `auto-coding-alist', I think it will cause a lot
> > of pain.
>
> We'll see ;-)
You were warned. ;-)
Footnotes:
[1] At least in my experience.
- Re: Defaults for elisp-mode files, (continued)
- Re: Defaults for elisp-mode files, Juanma Barranquero, 2012/10/03
- Defaults for elisp-mode files, Stephen J. Turnbull, 2012/10/03
- Re: Defaults for elisp-mode files, Stefan Monnier, 2012/10/03
- Re: Defaults for elisp-mode files, Christopher Monsanto, 2012/10/03
- Re: Defaults for elisp-mode files, Juanma Barranquero, 2012/10/04
- Re: Defaults for elisp-mode files, Christopher Monsanto, 2012/10/04
- Re: Defaults for elisp-mode files, Juanma Barranquero, 2012/10/04
- Re: Defaults for elisp-mode files, Andreas Schwab, 2012/10/04
- Re: Defaults for elisp-mode files, Juanma Barranquero, 2012/10/04
- Re: Defaults for elisp-mode files, Stephen J. Turnbull, 2012/10/04
- Re: Defaults for elisp-mode files,
Stephen J. Turnbull <=
Re: Defaults for elisp-mode files, Andreas Röhler, 2012/10/04