[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add M-x occur to the menu-bar

From: Ted Zlatanov
Subject: Re: Add M-x occur to the menu-bar
Date: Mon, 23 Feb 2004 15:33:44 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (usg-unix-v)

Here's another version of the next-error patch.  What it does:

- move the next-error framework to simple.el, so it's always loaded.
  This was next-error plus all the related functions.

- make the next-error-function always local (but not buffer-local)

- hook compile.el, occur (in replace.el), and grep.el into the
  next-error framework; make it easy to hook more modes into the
  framework since it's guaranteed to be always loaded and using it is
  as simple as setting next-error-function to something meaningful to
  the mode

- preserve the compile.el behavior of:

a) if called in a usable buffer, use it for next-error
b) else, if given a usable buffer, use it
c) else, look through all the buffers and find a suitable one

- fix up some documentation

I hope it's nearly done :)  It seems to be useful in its current state.


Attachment: next-error.patch
Description: next-error patch

Attachment: next-error.patch2
Description: context version of the next-errorpatch for rms

reply via email to

[Prev in Thread] Current Thread [Next in Thread]