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

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

[sh-mode] .profile is not bash flavoured


From: Trent Buck
Subject: [sh-mode] .profile is not bash flavoured
Date: Sat, 28 Apr 2007 23:22:03 +1000
User-agent: Mutt/1.5.13 (2006-08-11)

In GNU Emacs 22.1.50.1 (x86_64-pc-linux-gnu) of 2007-04-28,

    emacs -Q ~/.profile

uses the sh major mode with the bash "flavour", as seen in the
modeline.  This is incorrect; the "flavour" should be "sh" (or perhaps
"posix"), since a large number of Bourne- and POSIX-compatible login
shells read this file, not just Bash.

This is a minor issue and it may not be worth implementing correctly.
I guess that the change would need to go in the `sh-set-shell' call in
the definition of `sh-mode'.
-- 
Trent Buck, Student Errant

Attachment: signature.asc
Description: Digital signature


reply via email to

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