all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* isearch-buffers-minor-mode
@ 2007-11-22 12:45 Andreas Röhler
  2007-11-22 19:11 ` isearch-buffers-minor-mode Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Röhler @ 2007-11-22 12:45 UTC (permalink / raw)
  To: emacs-devel; +Cc: Juri Linkov

Hi Juri,

thanks a lot for `isearch-buffers-minor-mode'.

Please permit a small feature request before bug-report
below.

Editing several shell-sripts, I have to watch
dependencies while changing names. So your mode will
permit a quick look through. OTOH while running the
scripts, checking the result etc. lot of others buffer
will be opened.

Thus I look for a selecting-method, a
`add-to-isearch-buffers-list' function. May you provide
this?

BTW concerning the possible bug: can't see where now
buffers-list is taken...

Andreas Röhler

;;;;;;;;;;;;;

Emacs -Q 

M-x isearch-buffers-minor-mode

from scratch-buffer with content  "foo bar load"

C-s load

failed to switch to *Messages*, where another "load" could be found.

Error message was: "isearch-buffers-wrap: Symbol's function definition is 
void: nil"

Below the contents of  *Messages* so far:

;;;;;;;;;

Finished loading /usr/local/share/emacs/site-lisp/egg/leim-list.el 
   and load others...
Loading /usr/local/share/emacs/23.0.50/leim/leim-list.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
<<< Press Return to bury the buffer list >>>
Making completion list...
Quit
Isearch-Buffers minor mode enabled
isearch-buffers-wrap: Symbol's function definition is void: nil
Mark saved where search started

;;;;;;;;;;;;

In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
 of 2007-11-18 
Windowing system distributor `The X.Org Foundation', version 11.0.70199902
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: de_DE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  isearch-buffers-minor-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
f o o SPC b a r M-x e l e <tab> <return> <down> <return> 
M-+ C-x b <return> SPC l o a d C-a M-x m u l t i - 
i s <tab> <backspace> <backspace> <tab> <tab> <M-backspace> 
<M-backspace> i s e <tab> - m <tab> <tab> <M-backspace> 
C-g M-x i s e a r c h - b u f f <tab> <return> C-s 
l o a d C-s C-s C-s M-x r e p o r t - e m a c s - b 
u g <return>

Recent messages:
Making completion list...
Quit
Isearch-Buffers minor mode enabled
isearch-buffers-wrap: Symbol's function definition is void: nil
Mark saved where search started
complete-tag: No tags table loaded; try M-x visit-tags-table
Scanning for dabbrevs...100%
dabbrev-expand: No dynamic expansion for `isearch-b' found
Scanning for dabbrevs...100%
dabbrev-expand: No dynamic expansion for `isearch-b' found

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: isearch-buffers-minor-mode
  2007-11-22 12:45 isearch-buffers-minor-mode Andreas Röhler
@ 2007-11-22 19:11 ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2007-11-22 19:11 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: emacs-devel

> Please permit a small feature request before bug-report below.
>
> Editing several shell-sripts, I have to watch dependencies while
> changing names. So your mode will permit a quick look through. OTOH
> while running the scripts, checking the result etc. lot of others
> buffer will be opened.
>
> Thus I look for a selecting-method, a `add-to-isearch-buffers-list'
> function. May you provide this?

There is a special variable `isearch-buffers-next-buffer-function' that
can contain a user-defined function.  It is dynamic by nature.  When more
buffers are opened, it can find them all, when you implement an
appropriate algorithm in this function.

> BTW concerning the possible bug: can't see where now buffers-list is
> taken...
>
> M-x isearch-buffers-minor-mode
>
> from scratch-buffer with content  "foo bar load"
>
> C-s load
>
> failed to switch to *Messages*, where another "load" could be found.
>
> Error message was: "isearch-buffers-wrap: Symbol's function definition is
> void: nil"
>
> Below the contents of  *Messages* so far:

Do you try to search all buffers?  This functionality is not yet implemented.

-- 
Juri Linkov
http://www.jurta.org/emacs/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-22 19:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-22 12:45 isearch-buffers-minor-mode Andreas Röhler
2007-11-22 19:11 ` isearch-buffers-minor-mode Juri Linkov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.