Bug #6742
closedEmacs compilation-shell-minor-mode misconfiguration
Description
In the definition of inferior-ruby-mode, compilation-shell-minor-mode is enabled before it's variables are set. The way compilation shell is written, this will cause very strange highlighting in the inferior buffer, and inconsistent and useless behaviour of next-error. A simple fix is to put the enable after the setting of those variables. After that, next-error should take you to the file/linenumber of errors listed in the inferior buffer!
Patch which fixes the issue on my box is included.
Files
Updated by j2petkov (Jean-Christophe Petkovich) over 12 years ago
- File inf-ruby.patch inf-ruby.patch added
Somehow I managed to avoid including the patch file. Let's try that again.
Updated by mame (Yusuke Endoh) almost 12 years ago
- Status changed from Open to Assigned
- Assignee set to nobu (Nobuyoshi Nakada)
Nobu, please check this.
--
Yusuke Endoh mame@tsg.ne.jp
Updated by nobu (Nobuyoshi Nakada) almost 12 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r38107.
Jean-Christophe, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
inf-ruby.el: fix compilation-shell-minor-mode
- misc/inf-ruby.el (inferior-ruby-mode): fix the
compilation-shell-minor-mode configuration. a patch by
j2petkov (Jean-Christophe Petkovich) in [ruby-core:46518].
[Bug #6742]