bug-gnu-emacs
[Top][All Lists]
Advanced

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

feature request: ability to use occur within *Occur* buffer


From: Benjamin Rutt
Subject: feature request: ability to use occur within *Occur* buffer
Date: 15 Feb 2001 10:58:08 -0700
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.1 (i386-redhat-linux-gnu, X toolkit)
 of Tue Jun 13 2000 on porky.devel.redhat.com
configured using `configure  --mandir=/usr/man --infodir=/usr/info 
--prefix=/usr --libexecdir=/usr/lib --sharedstatedir=/var --with-gcc --with-pop 
--with-x-toolkit i386-redhat-linux-gnu'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

This is not a bug per se, it's more of a feature request.  The problem
is, you cannot run M-x occur within an *Occur* results buffer.
Running occur within occur would be useful because you could refine
partial results.  It is often easier to think about a complicated
occur regexp as a combination of two simpler regexps, rather than
having to draw up the complicated regexp in one shot.  (much like it
is easier to do 'cat foo | grep "regex1" | grep "regex2"' than just
'cat foo | grep "\(regex1\|regex2\)"'.  

The first thing occur does is erase the *Occur* buffer, so this
doesn't work currently.  Maybe a user customization option should be
to have a variable, say occur-uniquify-results-buffer, that if set to
t will simply call (rename-uniquely) on each new occur buffer.  Or,
someone else suggested that it would be neat to have occur buffers
named "*Occurences of foo.*bar in BAZ", which would be convenient from
a buffer-switching perspective.  Both of these solutions would be at
the expense of having to manage possibly many more old occur buffers,
but for me the expense would be worth it in some cases (and I could
control it by the value of occur-uniquify-results-buffer).

Thanks,
Benjamin Rutt
address@hidden

Recent input:
ESC x r e p l DEL o r t - e m TAB RET

Recent messages:
Loading env...
Loading env...done
Loading bbdb-autoloads...
Loading bbdb-autoloads...done
Loading advice...
Loading advice...done
Loading /home/brutt/emacs/local.el (source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...
Loading emacsbug...done




reply via email to

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