all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Defaults for elisp-mode files
@ 2012-10-03 18:06 Stefan Monnier
  2012-10-03 18:22 ` Drew Adams
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Stefan Monnier @ 2012-10-03 18:06 UTC (permalink / raw
  To: emacs-devel

I'm seeing more and more Elisp files with "-*- lexical-binding: t;
coding: utf-8 -*-" showing up, and I expect them to become the norm in
the longer term.

So I think in the longer term these annotations should be made
unnecessary because they're ugly.
For the `utf-8', I guess we can simply set auto-coding-alist and we
could do that right now without much risk for serious breakage (IOW
I suggest we do that for the next release after 24.3).

But for the lexical-binding setting, it seems less obvious how to handle
such a switch (other than start warning any file which doesn't set it
explicitly to t or nil, and after a while change the default, and after
yet another while remove the warning, the whole process taking probably
more than 10 years).  Any suggestion would be welcome.


        Stefan



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-10-04 19:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-03 18:06 Defaults for elisp-mode files Stefan Monnier
2012-10-03 18:22 ` Drew Adams
2012-10-03 18:41 ` Christopher Schmidt
2012-10-04  0:59 ` Juanma Barranquero
2012-10-04  1:29 ` Stephen J. Turnbull
2012-10-04  3:48   ` Stefan Monnier
2012-10-04  3:56     ` Christopher Monsanto
2012-10-04 14:15       ` Juanma Barranquero
2012-10-04 15:37         ` Christopher Monsanto
2012-10-04 16:24           ` Juanma Barranquero
2012-10-04 17:00             ` Andreas Schwab
2012-10-04 17:12               ` Juanma Barranquero
2012-10-04 17:07           ` Stephen J. Turnbull
2012-10-04  6:01     ` Stephen J. Turnbull
2012-10-04 19:10 ` Andreas Röhler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.