all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: Is there an emacs bash script mode / colouring?
Date: Fri, 18 Sep 2009 17:19:45 +0100	[thread overview]
Message-ID: <4ab3b33f$0$286$14726298@news.sunsite.dk> (raw)
In-Reply-To: <71fa2$4ab2876f$4c0ab2c1$16688@TEKSAVVY.COM>

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.


  reply	other threads:[~2009-09-18 16:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 18:57 Is there an emacs bash script mode / colouring? Eric B.
2009-09-15 19:06 ` Bruno Barbier
2009-09-15 19:11 ` Anselm Helbig
2009-09-16 15:53   ` Eric B.
2009-09-16 16:23     ` Colin S. Miller
2009-09-17 18:41       ` Eric B.
2009-09-18 16:19         ` Colin S. Miller [this message]
2009-09-18 20:12           ` despen
2009-09-16 17:28     ` Peter Dyballa
2009-10-12  3:32   ` David Combs
2009-10-12 11:53     ` Richard Riley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='4ab3b33f$0$286$14726298@news.sunsite.dk' \
    --to=no-spam-thank-you@csmiller.demon.co.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.