all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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 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.