all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: Is there an emacs bash script mode / colouring?
Date: Mon, 12 Oct 2009 03:32:30 +0000 (UTC)	[thread overview]
Message-ID: <hau80e$lui$3@reader1.panix.com> (raw)
In-Reply-To: 87ab0wc9ac.wl%anselm.helbig+news2009@googlemail.com

In article <87ab0wc9ac.wl%anselm.helbig+news2009@googlemail.com>,
Anselm Helbig  <anselm.helbig+news2009@googlemail.com> wrote:
>Hi!
>
>> This may sound like a silly question, but is there a major/minor mode for 
>> emacs that does syntax colouring and auto-formatting of bash scripts?
>> 
>> I've tried searching the web, but can't seem to find anything applicable.
>
>Well, silly it is. 8-) Bash is supported by sh-mode, which should
>already be active when you're using the .sh extension for your
>file. If you don't use an extension, it will be activated after a
>revert-buffer. 

If there's not an sh-extension on the file, how does the
revert-buffer help?

(Sorry -- the only way I learn anything is by asking
stupid questions like this one.)

David




  parent reply	other threads:[~2009-10-12  3:32 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
2009-09-18 20:12           ` despen
2009-09-16 17:28     ` Peter Dyballa
2009-10-12  3:32   ` David Combs [this message]
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='hau80e$lui$3@reader1.panix.com' \
    --to=dkcombs@panix.com \
    --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.