* executable-set-magic
@ 2007-12-08 5:08 Otto Maddox
2007-12-09 12:37 ` executable-set-magic Richard Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Otto Maddox @ 2007-12-08 5:08 UTC (permalink / raw)
To: bug-gnu-emacs
Info node "(autotype)Executables" says that "Various interpreter modes
such as Shell script mode or AWK mode will automatically insert or
update the buffer's magic number..."
executable-insert is set to t but this doesn't happen.
C-x b foo RET
M-x sh-mode RET
No magic number is inserted, and you have to do it manually with
`C-c :'
Similarly, AWK mode doesn't automatically set it, either.
--
Otto Maddox
ottomaddox@fastmail.fm
--
http://www.fastmail.fm - The way an email service should be
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: executable-set-magic
2007-12-08 5:08 executable-set-magic Otto Maddox
@ 2007-12-09 12:37 ` Richard Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2007-12-09 12:37 UTC (permalink / raw)
To: Otto Maddox; +Cc: bug-gnu-emacs
Info node "(autotype)Executables" says that "Various interpreter modes
such as Shell script mode or AWK mode will automatically insert or
update the buffer's magic number..."
sh-set-shell does in some cases alter the first line.
So that statement isn't false.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-09 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-08 5:08 executable-set-magic Otto Maddox
2007-12-09 12:37 ` executable-set-magic Richard Stallman
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).