bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21257: auto-mode-alist too eager for Ruby?


From: Andreas Schwab
Subject: bug#21257: auto-mode-alist too eager for Ruby?
Date: Fri, 14 Aug 2015 18:28:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

David Kastrup <dak@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]