Malcolm Purvis <malcolmp(a)xemacs.org> writes:
This is a sync of occur-mode with GNU Emacs 22.0.50.1 (CVS). Note
that these
are 21.5 core lisp files.
New features include syntax hightlighting of the matched regular expression,
the ability to rename the occur buffer, the ability to search multiple buffers
and minor mode that allows movement between the matching lines while remaining
in the occur buffer.
Since the occur code has started using font-lock features it has been moved
out of replace.el into its own files because the necessary functions are not
available to replace.el during the dumping stage.
This patch also changes the behaviour of read-buffer slightly to conform with
GNU Emacs usage: It can return an empty string if 'require-match' is t and
'default' is nil. Previously it would insist that a buffer be entered. A
search through the package code has shown that this is the only place that
relies of this combination of argument values.
Malcolm
lisp/ChangeLog addition:
2005-10-10 Malcolm Purvis <malcolmp(a)xemacs.org>
* minibuf.el:
* minibuf.el (read-buffer): Follow GNU Emacs behaviour: Can return
empty string if require-match is t and default is nil.
* replace.el: Moved occur code to occur.el
* simple.el:
* simple.el (line-number-at-pos): New.
* subr.el:
* subr.el (delete-dups): New.
* occur.el: New. Sync with 22.0.50.1 (CVS)
* next-error.el: New. Sync with 22.0.50.1 (CVS)
Hi Malcolm,
are you aware that compile.el in the xemacs-base package also contains
a definition of
(defun next-error (&optional argp)
and your sync broke next-error functionality for me in
grep
igrep
igrep-find.
Please take a look.
Thanks
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/