[Top][All Lists]

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

a#b highlighted wrong in shell-script mode

From: Dan Jacobson
Subject: a#b highlighted wrong in shell-script mode
Date: 20 Jan 2001 07:18:20 +0800
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

I noticed when I type a#b in shell-script mode, the # is seen as the
beginning of a comment and turns red.  This might be right for a//b in
c-mode, but is wrong as a#b doesn't contain a comment. "a #b" does. By
the way, on the other hand in a *Shell* buffer, even a #b doesn't have
any part turn red.

Indeed after turning [dim] red, one wouldn't see dangerous mistakes like
echo nothing special here#; except this dangerous command here

The only special things I did were like
(setq font-lock-mode-maximum-decoration t)
(global-font-lock-mode t) etc.
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com. 積丹尼

reply via email to

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