From: Kim F. Storm [mailto:[EMAIL PROTECTED] >"Jared Finder" <[EMAIL PROTECTED]> writes: > >> Steps to reproduce: >> >> 1. Start up Emacs with emacs -Q. >> 2. Add (c-subword-mode 1) to grep-mode hook with: >> (add-hook 'grep-mode-hook (lambda () (c-subword-mode 1))) > >Why do you want to do that? > >I'm not saying that it doesn't make sense to do so -- I just >don't get it.
Since 99% of the time, I want forward-word and backward-word remapped to c-forward-subword and c-backward-subword, I have created global-c-subword mode: (define-global-minor-mode global-c-subword-mode c-subword-mode (lambda () (c-subword-mode 1))) Of course, this causes c-subword-mode to be enabled in grep-mode as well. I didn't mention this in the bug, because I thought it was irrelevant details. -- MJF _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug