* bug#15849: 24.3.50; lexical-binding in first line ugly
@ 2013-11-10 7:25 Helmut Eller
2013-11-10 19:16 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Helmut Eller @ 2013-11-10 7:25 UTC (permalink / raw)
To: 15849
Emacs doesn't let be put the lexical-binding: t at the end of the file.
The manual says in (elisp)Lexical Binding:
"Note that unlike other such variables, this one must be set in the
first line of a file."
But in (elisp)Library Headers it says this:
The very first line should have this format:
;;; FILENAME --- DESCRIPTION
The description should be contained in one line. If the file needs a
`-*-' specification, put it after DESCRIPTION. If this would make the
first line too long, use a Local Variables section at the end of the
file.
Clearly the manual contradicts itself. My first line is already full
and putting the lexical-binding marker there is just plain ugly. Please
provide another way to specify lexical binding. Something like a
declaration (IMO, the Right Thing):
(declaim (lexical-binding t))
or some magic comment like
;;;###lexical-binding
that doesn't need to be in the first line.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#15849: 24.3.50; lexical-binding in first line ugly
2013-11-10 7:25 bug#15849: 24.3.50; lexical-binding in first line ugly Helmut Eller
@ 2013-11-10 19:16 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2013-11-10 19:16 UTC (permalink / raw)
To: Helmut Eller; +Cc: 15849
Helmut Eller wrote:
> Please provide another way to specify lexical binding.
Dupe of http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10605
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-10 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-10 7:25 bug#15849: 24.3.50; lexical-binding in first line ugly Helmut Eller
2013-11-10 19:16 ` Glenn Morris
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).