[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ioccur, incremental occur

From: Thierry Volpiatto
Subject: Re: ioccur, incremental occur
Date: Sat, 03 Apr 2010 08:01:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Leo <address@hidden> 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

cd to ioccur directory

hg update -C development

Thierry Volpiatto
Gpg key:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]