From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#17991: shell-mode: fails to recognize .bashrc files as shell scripts Date: Fri, 11 Jul 2014 14:52:39 +0200 Message-ID: <87ha2o5a7c.fsf@igel.home> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405083204 22261 80.91.229.3 (11 Jul 2014 12:53:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jul 2014 12:53:24 +0000 (UTC) Cc: Kevin Rodgers , 17991@debbugs.gnu.org To: Andrew Pennebaker Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 11 14:53:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X5aKC-000262-SB for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2014 14:53:16 +0200 Original-Received: from localhost ([::1]:44625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5aKC-0002Iq-9s for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jul 2014 08:53:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5aK4-0002HU-7O for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 08:53:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X5aJy-0004a6-WF for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 08:53:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X5aJy-0004Zt-Qd for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 08:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X5aJx-0006Zw-Pr for bug-gnu-emacs@gnu.org; Fri, 11 Jul 2014 08:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Jul 2014 12:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17991 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17991-submit@debbugs.gnu.org id=B17991.140508316525248 (code B ref 17991); Fri, 11 Jul 2014 12:53:01 +0000 Original-Received: (at 17991) by debbugs.gnu.org; 11 Jul 2014 12:52:45 +0000 Original-Received: from localhost ([127.0.0.1]:53098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5aJg-0006Z9-OC for submit@debbugs.gnu.org; Fri, 11 Jul 2014 08:52:45 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:55952) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X5aJd-0006Yu-JU for 17991@debbugs.gnu.org; Fri, 11 Jul 2014 08:52:42 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3h8vL03zjmz3hj3G; Fri, 11 Jul 2014 14:52:40 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3h8vL02G1xz7S6Kl; Fri, 11 Jul 2014 14:52:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id Kxguq-scT26x; Fri, 11 Jul 2014 14:52:39 +0200 (CEST) X-Auth-Info: dy4pvcSM4skXrAQzhZ34SraKVtg56YxJ9ZeoyjhQO8w= Original-Received: from igel.home (host-188-174-218-28.customer.m-online.net [188.174.218.28]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 11 Jul 2014 14:52:39 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 652EF2C0974; Fri, 11 Jul 2014 14:52:39 +0200 (CEST) X-Yow: Hello? Enema Bondage? I'm calling because I want to be happy, I guess.. In-Reply-To: (Andrew Pennebaker's message of "Fri, 11 Jul 2014 07:20:18 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91442 Archived-At: Andrew Pennebaker 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."