From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net Newsgroups: gmane.emacs.help Subject: Re: Is there an emacs bash script mode / colouring? Date: Fri, 18 Sep 2009 16:12:28 -0400 Organization: A noiseless patient Spider Message-ID: References: <87ab0wc9ac.wl%anselm.helbig+news2009@googlemail.com> <21c77$4ab10a12$4c0ab2c1$8986@TEKSAVVY.COM> <4ab1111e$0$285$14726298@news.sunsite.dk> <71fa2$4ab2876f$4c0ab2c1$16688@TEKSAVVY.COM> <4ab3b33f$0$286$14726298@news.sunsite.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253306456 18361 80.91.229.12 (18 Sep 2009 20:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Sep 2009 20:40:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 18 22:40:49 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MokG9-000431-76 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 22:40:49 +0200 Original-Received: from localhost ([127.0.0.1]:43268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MokG8-0005B2-N2 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Sep 2009 16:40:48 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!nuzba.szn.dk!pnx.dk!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-X-Trace: news.eternal-september.org U2FsdGVkX189WJxijUiLSfPCELxSD81FIpOcuFKBhC3EHYVI9+69vHF7UmcyEaUKIdQ06txxu2xbbeisjIpC9ldPr0+tZisMbF0+m3Xvhmj9ExzkpL0miuZno/25kC4sJy0/mlrhitA= Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Fri, 18 Sep 2009 20:12:28 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+tDAX7S6zXiYeNYs6JYux1nB+GI9pukJQ= Cancel-Lock: sha1:Pe7dNfTk9UV9GX2yJXfFy7VNZuE= sha1:t4xiHQu27vNNLr+tDznwu9Guo3I= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:173174 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68295 Archived-At: "Colin S. Miller" writes: > Eric B. wrote: >> "Colin S. Miller" 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)))