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

Re: detect shell script language

Miles Bader wrote:
Matej Cepl <ceplm@seznam.cz> writes:
The mode name should appear in this line both preceded and followed by
`-*-'.  Other text may appear on the line as well.  For example,

Except that this is totally Emacs-specific and to the best of my knowledge
nobody outside of Emacs world doesn't use it.

Nonetheless, if such a cookie is present, it's a great thing to use for
this purpose, as it's unambiguous.

Indeed I'm using it besides sha-bang (and if this -*- check succeeds, it has the precedence over sha-bang)

|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.purplesucker.com Deep Purple Cover Band |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |

Reply to: