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

From: Andreas Schwab <[email-masked]>
Date: Fri, 14 Aug 2015 18:28:36 +0200

David Kastrup <[email-masked]> 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, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."