(isearch-buffers-multi): New option.
(isearch-buffers-search-fun): Test it.
This commit is contained in:
parent
5ca7d652e5
commit
9097e8af9b
3 changed files with 30 additions and 7 deletions
14
etc/NEWS
14
etc/NEWS
|
@ -153,12 +153,6 @@ history element containing the search string becomes the current.
|
|||
|
||||
* New Modes and Packages in Emacs 23.1
|
||||
|
||||
** The package isearch-multi.el has been added. It implements a new mode
|
||||
`isearch-buffers-minor-mode' that allows isearch to search through
|
||||
multiple buffers. In this mode a new variable
|
||||
`isearch-buffers-next-buffer-function' defines the function to call
|
||||
to get the next buffer to search in the series of multiple buffers.
|
||||
|
||||
** The package doc-view.el has been added. It supports viewing of PDF,
|
||||
PostScript and DVI documents inside an Emacs buffer by converting the
|
||||
document to a set of PNG images first. One can also search for a
|
||||
|
@ -177,6 +171,8 @@ When running isearch in a ChangeLog file, if the search fails,
|
|||
then another C-s tries searching the previous ChangeLog,
|
||||
if there is one (e.g. go from ChangeLog to ChangeLog.12).
|
||||
|
||||
This is enabled if isearch-buffers-multi is non-nil.
|
||||
|
||||
+++
|
||||
** In Dired-x, all command guesses for ! are now added to the default
|
||||
list accessible by M-n instead of pushing all guesses temporarily into
|
||||
|
@ -432,6 +428,12 @@ forms to subroutines.
|
|||
|
||||
* New Packages for Lisp Programming in Emacs 23.1
|
||||
|
||||
** The package isearch-multi.el has been added. It implements a new mode
|
||||
`isearch-buffers-minor-mode' that allows isearch to search through
|
||||
multiple buffers. In this mode a new variable
|
||||
`isearch-buffers-next-buffer-function' defines the function to call
|
||||
to get the next buffer to search in the series of multiple buffers.
|
||||
|
||||
** The new package avl-tree.el deals with the AVL tree data structure.
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
2007-10-26 Richard Stallman <rms@gnu.org>
|
||||
|
||||
* isearch-multi.el (isearch-buffers-multi): New option.
|
||||
(isearch-buffers-search-fun): Test it.
|
||||
|
||||
* progmodes/ps-mode.el (ps-mode-map): Delete C-c v binding.
|
||||
Put ps-run-clear on C-c C-l.
|
||||
|
||||
* newcomment.el (comment-styles): New style indent-or-triple.
|
||||
(comment-style): Make that the default.
|
||||
(comment-add defvar): Doc fix.
|
||||
(comment-add): Delete arg EXTRA.
|
||||
(comment-region-default): Open code call to comment-add.
|
||||
Handle indent-or-triple style which uses `multi-char' for INDENT.
|
||||
|
||||
2007-10-26 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* eshell/em-unix.el (nil-blank-string): Doc fix.
|
||||
|
|
|
@ -37,6 +37,12 @@
|
|||
:version "23.1"
|
||||
:group 'isearch)
|
||||
|
||||
(defcustom isearch-buffers-multi t
|
||||
"Non-nil enables searching multiple related buffers, in certain modes."
|
||||
:type 'boolean
|
||||
:version "23.1"
|
||||
:group 'isearch-buffers)
|
||||
|
||||
(defcustom isearch-buffers-pause t
|
||||
"A choice defining where to pause the search.
|
||||
If the value is nil, don't pause before going to the next buffer.
|
||||
|
@ -121,7 +127,7 @@ Intended to be added to `isearch-mode-hook'."
|
|||
;; successively, and search the string in them. Do this only
|
||||
;; when bound is nil (i.e. not while lazy-highlighting search
|
||||
;; strings in the current buffer).
|
||||
(unless bound
|
||||
(when (and (not bound) isearch-buffers-multi)
|
||||
;; If no-pause or there was one attempt to leave the current buffer
|
||||
(if (or (null isearch-buffers-pause)
|
||||
(and isearch-buffers-pause isearch-buffers-current-buffer))
|
||||
|
|
Loading…
Add table
Reference in a new issue