I've always used next-error-follow-minor-mode in the *occur* buffer. Recently I noticed that the buffers switch among the windows when ever the cursor moves to a different line.
While visiting any file with several lines containing some text M-x occur <ret> {something in your file several times} <ret> C-x o M-x next-error-follow-minor-mode <ret> C-n C-n C-n... In GNU Emacs 22.0.50.1 (i386-msvc-nt5.1.2600) of 2005-11-11 on LD1 X server distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-msvc (12.00)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: cp1252 default-enable-multibyte-characters: t Recent messages: (C:\emacs\bin\emacs.exe -Q --no-splash) Loading encoded-kb...done For information about the GNU Project and its goals, type C-h C-p. Searched 1 buffer; 21 matches for `grey' Next-Error-Follow minor mode enabled _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug