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

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

Re: Kind of shell type not recognised


From: Peter Dyballa
Subject: Re: Kind of shell type not recognised
Date: Mon, 6 Feb 2006 11:28:53 +0100


Am 06.02.2006 um 08:52 schrieb Henrik Enberg:

When I launch GNU Emacs with -Q and then C-x C-f Mistus.sh RET The
    mode-line contains the string

            (Shell-script[tcsh])

It does not do this when I try it.
(I do not have a file Mistus.sh;
perhaps something in that file causes it.)

The "[name_of_shell]" bit in the mode-line is determined by the users
login shell.  One can change it by M-x sh-set-shell.

Why isn't the shell script's extension used *when* it exists? sh-set- shell is not dynamic, it does not allow to write scripts for more than one type of shell ... It would be nicer it would read the first line, after being typed, and correct the "[name_of_shell]" part accordingly. And the contents of the context menu!

The context menu is based on the type of shell interpreter. If I write a Bourne shell script I can't enter csh code.

--
Greetings

  Pete

Wasting time is an important part of living.






reply via email to

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