bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: executable.el / sh-script.el problem?


From: Richard Stallman
Subject: Re: executable.el / sh-script.el problem?
Date: Tue, 22 Jan 2002 21:55:17 -0700 (MST)

    Visiting a fresh buffer and performing M-x sh-mode does not
    automatically insert the magic #! line at the top of the script-to-be,
    nor does it automatically make the file executable on saving, as I was
    led to expect by the documentation in executable.el.

This is not a bug.  Merely selecting a major mode in Emacs is not
supposed to do such things to your file's contents and modes.

You can call sh-set-shell if you want to do such things.

Where in executable.el is there documentation that appears
to say that sh-mode would do these things?  I don't see it,
but if you point it out to me, I will fix it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]