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

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

Re: Is there an emacs bash script mode / colouring?


From: despen
Subject: Re: Is there an emacs bash script mode / colouring?
Date: Fri, 18 Sep 2009 16:12:28 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:

> Eric B. wrote:
>> "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> wrote in
>> message news:4ab1111e$0$285$14726298@news.sunsite.dk...
>>> Eric,
>>>
>>> Does
>>> M-x font-lock-mode
>>> or
>>> M-x font-lock-fontify-buffer
>>> help?
>>
>> Aha - both seem to work like a charm.  Thanks for the tip.
>>
>>> Is the mode-line "(Shell-script [bash])" or "(Shell-script Font[bash]") ?
>>
>> My mode-line is Shell-script[bash].  How do I change that to Font[bash]?
>>
>> Thanks,
>>
>> Eric
>>
>>
> Ah.
> emacs doesn't indicate if the font-lock minor mode is enabled;
> Xemacs does.

Yes.  A pain but easily repaired.  I find just an "F" is enough:

(or (assq 'font-lock-mode minor-mode-alist)
    (setq minor-mode-alist
          (cons '(font-lock-mode " F") minor-mode-alist)))


reply via email to

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