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#21257: auto-mode-alist too eager for Ruby? Date: Fri, 14 Aug 2015 18:28:36 +0200 Message-ID: <877foxx2a3.fsf@igel.home> References: <87y4hem1g1.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1439569767 8041 80.91.229.3 (14 Aug 2015 16:29:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2015 16:29:27 +0000 (UTC) Cc: 21257@debbugs.gnu.org To: David Kastrup Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 14 18:29:16 2015 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 1ZQHr0-0007ao-8b for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 18:29:14 +0200 Original-Received: from localhost ([::1]:47185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHqz-0005ar-AW for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Aug 2015 12:29:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHqu-0005SY-MI for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2015 12:29:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQHqo-0007gS-FY for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2015 12:29:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQHqo-0007gM-Cb for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2015 12:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZQHqn-0002EX-V2 for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2015 12:29: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, 14 Aug 2015 16:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21257 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21257-submit@debbugs.gnu.org id=B21257.14395697228560 (code B ref 21257); Fri, 14 Aug 2015 16:29:01 +0000 Original-Received: (at 21257) by debbugs.gnu.org; 14 Aug 2015 16:28:42 +0000 Original-Received: from localhost ([127.0.0.1]:55881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZQHqU-0002E0-CG for submit@debbugs.gnu.org; Fri, 14 Aug 2015 12:28:42 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:48799) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZQHqS-0002Dr-3z for 21257@debbugs.gnu.org; Fri, 14 Aug 2015 12:28:40 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3mt9F252N1z3hj7M; Fri, 14 Aug 2015 18:28:37 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3mt9F15Mc7zvh2F; Fri, 14 Aug 2015 18:28:37 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id x0gkJo3K7X7t; Fri, 14 Aug 2015 18:28:36 +0200 (CEST) X-Auth-Info: yALe4ywO/c+wVTiMsMrw6tJ278kBJEF4YDwinTPdAD9z/x2SnZtaSW2ttzZb14qz Original-Received: from igel.home (unknown [188.174.194.124]) by mail.mnet-online.de (Postfix) with ESMTPA; Fri, 14 Aug 2015 18:28:36 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 6635F2C4692; Fri, 14 Aug 2015 18:28:36 +0200 (CEST) X-Yow: .. So, if we convert SUPPLY-SIDE SOYBEAN FUTURES into HIGH-YIELD T-BILL INDICATORS, the PRE-INFLATIONARY risks will DWINDLE to a rate of 2 SHOPPING SPREES per EGGPLANT!! In-Reply-To: <87y4hem1g1.fsf@fencepost.gnu.org> (David Kastrup's message of "Fri, 14 Aug 2015 15:42:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (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: 208.118.235.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:105474 Archived-At: David Kastrup writes: > The respective entry in auto-mode-alist appears to be > > ("\\(?:\\.rb\\|ru\\|rake\\|thor\\|jbuilder\\|rabl\\|gemspec\\|podspec\\|/\\(?:Gem\\|Rake\\|Cap\\|Thor\\|Puppet\\|Berks\\|Vagrant\\|Guard\\|Pod\\)file\\)\\'" . ruby-mode) > > which appears to admit a whole lot of files just based on the ending > letters without any distinguishing symbols before them. It probably just lacks a pair of parens to factor out the \. match. 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."