|
From: | Colin S. Miller |
Subject: | Re: Is there an emacs bash script mode / colouring? |
Date: | Fri, 18 Sep 2009 17:19:45 +0100 |
User-agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
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. Use M-x font-lock-mode as this enables fontifcation for all edits (until it is toggle off by repeating M-x font-lock-mode) M-x font-lock-fontify-buffer does a one-off fontification - it is only useful if fontify gets confused, which is normally caused by editing the start marker of a multi-line block of text (a comment, string etc). HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.
[Prev in Thread] | Current Thread | [Next in Thread] |