[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Small improvements to ruby-mode
From: |
Glenn Morris |
Subject: |
Re: Small improvements to ruby-mode |
Date: |
Fri, 21 Jun 2013 19:45:46 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Dmitry Gutov wrote:
>>> (add-to-list 'auto-mode-alist '("\\.rake\\'" . ruby-mode))
>>> (add-to-list 'auto-mode-alist '("\\.ru\\'" . ruby-mode))
>>> (add-to-list 'auto-mode-alist '("Gemfile\\'" . ruby-mode))
>>> (add-to-list 'auto-mode-alist '("Guardfile\\'" . ruby-mode))
>>> (add-to-list 'auto-mode-alist '("Capfile\\'" . ruby-mode))
>>> (add-to-list 'auto-mode-alist '("\\.thor\\'" . ruby-mode))
>>> (add-to-list 'auto-mode-alist '("Thorfile\\'" . ruby-mode))
>>> (add-to-list 'auto-mode-alist '("Vagrantfile\\'" . ruby-mode))
>>> (add-to-list 'auto-mode-alist '("\\.jbuilder\\'" . ruby-mode))
>>
>> These should be consolidated into a single regexp and should probably be
>> made a bit tighter (e.g. don't put BadCapfile in ruby-mode).
>
> Also done, revno 113129 and 113130.
Please just write the regexp by hand, rather than using regexp-opt.
Otherwise:
Loading loaddefs.el (source)...
Attempt to autoload regexp-opt while preparing to dump
make[1]: *** [emacs] Error 1
- Small improvements to ruby-mode, Bozhidar Batsov, 2013/06/21
- Re: Small improvements to ruby-mode, Stefan Monnier, 2013/06/21
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/06/21
- Re: Small improvements to ruby-mode, Bozhidar Batsov, 2013/06/22
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/06/22
- Re: Small improvements to ruby-mode, Stefan Monnier, 2013/06/22
- Re: Small improvements to ruby-mode, Bozhidar Batsov, 2013/06/23
- Re: Small improvements to ruby-mode, Dmitry Gutov, 2013/06/23
- Re: Small improvements to ruby-mode, Bozhidar Batsov, 2013/06/24