[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
multi-occur-by-filename-regexp docstring misleading
From: |
Ryan Yeske |
Subject: |
multi-occur-by-filename-regexp docstring misleading |
Date: |
Wed, 25 Jan 2006 18:36:35 -0800 |
Symptoms:
(defun multi-occur-by-filename-regexp (bufregexp regexp &optional nlines)
"Show all lines matching REGEXP in buffers named by BUFREGEXP.
See also `multi-occur'."
The docstring makes it seem like it will search all buffers matching
REGEXP, but it only looks at buffers for which there is a
(buffer-file-name). This should be documented more clearly.
It would be nice if there was a variant of multi-occur to search any
buffer names. I ran into this bug looking wanting to find instances
of a word in irc buffers, which all start with a ?# character. There
is no easy way to do this. It would also be nice to be able to have a
straightforward way to run occur on all emacs buffers (I know the text
FOO is in some buffer I have open somewhere, but I cant rememeber
where!)
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/rcyeske/contrib/emacs/etc/DEBUG for instructions.
In GNU Emacs 22.0.50.2 (i386-unknown-openbsd3.6)
of 2006-01-20 on cut.bc.hsia.telus.net
configured using `configure '--without-x''
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: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
t: t
temperature-mode: t
rcirc-track-mode: t
display-time-mode: t
iswitchb-mode: t
auto-image-file-mode: t
show-paren-mode: t
auto-compression-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Recent input:
a c s RET h m m m DEL SPC DEL , SPC t h e r e s SPC
m u i l t DEL DEL DEL l t i - o c c u r - b y - f i
l e n a m e - r e g e x p , SPC C-h f m u l t i - o
c TAB - b TAB RET C-a C-k C-x o TAB RET C-x 1 ESC x
r e p o r t - e m a c s - b u g RET
Recent messages:
Making completion list...
Quit
Making completion list...
Type C-x 1 to remove help window.
Quit
Searched 8 buffers; 3 matches for `rcirc'
Quit
Type M-x switch-to-buffer-other-window RET to restore the other window.
mouse-2, RET: find function's definition
Loading emacsbug (compiled; note, source file is newer)...done
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- multi-occur-by-filename-regexp docstring misleading,
Ryan Yeske <=