I was confused by the behaviour of next-error-follow-minor-mode in the current emacs CVS. I vaguely remembered that it was on by default, and indeed found that C-c C-f switched it off (and another C-c C-f switched it on). However, now I look at the code, I think it's just a minor bug, where ":init-value" ought to be ":lighter", in simple.el. (" Fol" is presumably a valid non-nil value, but it looks suspiciously like something meant for the modeline.)
(define-minor-mode next-error-follow-minor-mode "Minor mode for compilation, occur and diff modes. When turned on, cursor motion in the compilation, grep, occur or diff buffer causes automatic display of the corresponding source code location." :group 'next-error :init-value " Fol" (if (not next-error-follow-minor-mode) (remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t) (add-hook 'post-command-hook 'next-error-follow-mode-post-command-hook nil t) (make-local-variable 'next-error-follow-last-line))) _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel