Leo <[email protected]> writes: > 3. the *iccour* buffer should be kept. > > The reason to use occur or ioccur other than C-s is to have an > overview of entries that the user wants to look at for example during > bug fixing one might want to look at all places a function has been > used. So the *ioccur* buffer should be there for them to navigate to > entries easily without doing the search again. > Even better, instead of keeping a ioccur buffer (unique) like occur, ioccur use now named ioccur-buffer for each buffer where you search in. So the ioccur is not overwrited if you search in another buffer.
So when you call ioccur and a ioccur-buffer exist for this buffer, incremental search is NOT started, the ioccur-buffer is displayed. When ioccur-buffer is visible and you call ioccur from other buffer, ioccur-buffer is erased and incremental search restart. When you are in ioccur-buffer, hitting "R" erase buffer and restart incremental search. Of course, hitting C-j or left just jump to matched line and kill ioccur buffer as always. This is in development branch of ioccur: hg clone http://mercurial.intuxication.org/hg/ioccur cd to ioccur directory hg update -C development -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/ _______________________________________________ gnu-emacs-sources mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
