unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Andrew Pennebaker <andrew.pennebaker@gmail.com>
Cc: Kevin Rodgers <kevin.d.rodgers@gmail.com>, 17991@debbugs.gnu.org
Subject: bug#17991: shell-mode: fails to recognize .bashrc files as shell scripts
Date: Fri, 11 Jul 2014 14:52:39 +0200	[thread overview]
Message-ID: <87ha2o5a7c.fsf@igel.home> (raw)
In-Reply-To: <CAHXt_SX8_xjs9zxwRUQsrRoQ5BQoAP7ZY6+gbCTKzgavLJW_bA@mail.gmail.com> (Andrew Pennebaker's message of "Fri, 11 Jul 2014 07:20:18 -0500")

Andrew Pennebaker <andrew.pennebaker@gmail.com> writes:

> My current workaround is to manually add (.\bashrc|\.profile).* to
> auto-mode-alist. I just wish this were the default pattern.

I don't consider this a workaround, but rather the correct way to handle
such personal preferences.

> ... is there another convention for naming multiple bash configs, per
> machine, that matches the existing patterns? I guess I could use ".
> bashrc.android.sh", ugly but functional.

Since the shell is a full programming language, there are no limits in
what people will do with the startup scripts.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





      reply	other threads:[~2014-07-11 12:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-10 18:13 bug#17991: shell-mode: fails to recognize .bashrc files as shell scripts Andrew Pennebaker
2014-07-10 18:23 ` Glenn Morris
2014-07-10 19:17   ` Andrew Pennebaker
2014-07-11  7:19     ` Kevin Rodgers
2014-07-11 12:20       ` Andrew Pennebaker
2014-07-11 12:52         ` Andreas Schwab [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87ha2o5a7c.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=17991@debbugs.gnu.org \
    --cc=andrew.pennebaker@gmail.com \
    --cc=kevin.d.rodgers@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).