emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch: enhanced mark navigation commands


From: Ted Zlatanov
Subject: Re: Patch: enhanced mark navigation commands
Date: Wed, 05 Mar 2008 10:11:34 -0600
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

On Wed, 5 Mar 2008 08:12:35 +0300 "Adrian Robert" <address@hidden> wrote: 

AR> The attached lisp allows moving around within a buffer or buffers to
AR> places where recent edits or other events took place.  It has been
AR> part of Emacs.app for a while and users have found it useful; I'd like
AR> to propose it being added to the emacs distribution itself, probably
AR> as part of simple.el.

AR> Specifically, the keys M-p and M-n are bound to move forwards and
AR> backwards through the mark history.  Also, immediately after popping a
AR> global mark, e.g., with C-x C-SPC, then the global mark ring is used.

Would next-error and previous-error (which are useful for any motion to
"points of interest" and have aliases defined accordingly) be
appropriate here?  They already handle occur-mode, grep-mode, and
compilation-mode point of interest, and the intent is to provide a DWIM
interface.

It makes sense that if any of those three modes are not on, next-error
and previous-error should move to recent edit points.  If one of those
modes is on, we can provide an override, but I expect users to be happy
with the default behavior as I describe it.  What do you think?

Ted





reply via email to

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