GNU bug report logs - #21257
auto-mode-alist too eager for Ruby?

Previous Next

Package: emacs;

Reported by: David Kastrup <dak <at> gnu.org>

Date: Fri, 14 Aug 2015 14:55:02 UTC

Severity: normal

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 21257 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: David Kastrup <dak <at> gnu.org>
Cc: 21257 <at> debbugs.gnu.org
Subject: Re: bug#21257: auto-mode-alist too eager for Ruby?
Date: Fri, 14 Aug 2015 18:28:36 +0200
David Kastrup <dak <at> gnu.org> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 9 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.