all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jidanni@jidanni.org
To: 9110@debbugs.gnu.org
Cc: help-gnu-emacs@gnu.org, pedzsan@gmail.com
Subject: bug#9110: how to map sh-mode to mean bash-mode
Date: Mon, 18 Jul 2011 04:42:37 +0800	[thread overview]
Message-ID: <871uxovdtu.fsf@jidanni.org> (raw)
In-Reply-To: 4E232057.1040409@easy-emacs.de

Dear bug-gnu-emacs,
There is no way to map sh-mode to bash-mode.
As you know, the bash shell likes to call itself sh sometimes.
But it is really still bash.
Hence I would like to make my emacs assume anything it thinks is sh is
really bash, and thus show me "bash" in the mode line, not "sh", no
matter how smart it thinks it is. See also
http://lists.gnu.org/archive/html/help-gnu-emacs/2011-07/msg00143.html
However the real solution should be a one liner of lisp in ones .emacs.





  reply	other threads:[~2011-07-17 20:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-15 23:58 how to map sh-mode to mean bash-mode jidanni
2011-07-17  9:26 ` Andreas Röhler
2011-07-17 14:25   ` Perry Smith
2011-07-17 17:30     ` Andreas Röhler
2011-07-17 17:48     ` Andreas Röhler
2011-07-17 20:42       ` jidanni [this message]
2011-07-17 23:02         ` bug#9110: " Glenn Morris
2011-07-17 23:53         ` bug#9110: closed (Re: bug#9110: how to map sh-mode to mean bash-mode) jidanni
2011-07-18 15:42           ` Stefan Monnier
2011-07-18  4:51         ` bug#9110: how to map sh-mode to mean bash-mode jidanni
2011-07-18  5:52         ` Andreas Röhler
2011-07-18  8:19           ` Peter Dyballa
2011-07-18  8:31             ` Andreas Röhler
2011-07-18  8:40               ` Peter Dyballa
2011-07-19 23:25         ` bug#9110: " jidanni
2011-07-26  5:43     ` Kevin Rodgers
     [not found] <jwvpqla4326.fsf-monnier+gnu.emacs.help@gnu.org>
2011-07-18  4:51 ` jidanni
2011-07-19 23:25 ` jidanni

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=871uxovdtu.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=9110@debbugs.gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pedzsan@gmail.com \
    /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.