emacs-devel
[Top][All Lists]
Advanced

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

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


From: Kevin Rodgers
Subject: Re: Add M-x occur to the menu-bar
Date: Wed, 28 Jan 2004 15:45:53 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Ted Zlatanov wrote:

On 28 Jan 2004, address@hidden wrote:
2) next-error is IMHO a bad name for a function that finds the next
  match in grep mode, and the next occurrence in occur mode.

That's probably tru.  If you can come up with a better name, maybe
we can change it.  I don't find dwim-next to be much btter.

I would just defalias, since we're patching next-error anyhow.  Some
names I thought of:

(additive)
next-error-or-occurrence (hard to spell)
next-error-or-occur (but what if other modes are added?)
next-error-or-spot

(different altogether)
next-instance
next-place
next-interesting
next-dwim

(defalias 'next-match 'next-error)      ; for grep
(defalias 'next-occurrence 'occur-next) ; for occur

--
Kevin Rodgers






reply via email to

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