Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9097e8af
Commit
9097e8af
authored
Oct 26, 2007
by
Richard M. Stallman
Browse files
(isearch-buffers-multi): New option.
(isearch-buffers-search-fun): Test it.
parent
5ca7d652
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
7 deletions
+30
-7
etc/NEWS
etc/NEWS
+8
-6
lisp/ChangeLog
lisp/ChangeLog
+15
-0
lisp/isearch-multi.el
lisp/isearch-multi.el
+7
-1
No files found.
etc/NEWS
View file @
9097e8af
...
...
@@ -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.
...
...
lisp/ChangeLog
View file @
9097e8af
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.
...
...
lisp/isearch-multi.el
View file @
9097e8af
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment