emacs-devel
[Top][All Lists]
Advanced

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

Re: make `occur' use word at point as default


From: Richard M. Stallman
Subject: Re: make `occur' use word at point as default
Date: Thu, 01 Sep 2005 11:52:50 -0400

    M-n and M-p are for the history list. M-n already pulls the default value
    into the minibuffer and adds it (possibly edited) to the history list. This
    is enough connection between the two.

    In this case, you seem to want the default value to be the _previous_
    history value (so that empty input "searches the same thing again").

Yes, that's what the default is now.

    This
    means that M-n, M-p, and empty input will all do more or less the same
    thing: use the last (i.e. previous) history value.

Each of them follows a convention.  In this case, all three conventions
converge.

    However, you might consider giving access to a list of "default values"
    (more than just 1 or 2) via _different_ keys from M-n and M-p - the arrow
    keys, for instance.

Finding other keys would be difficult.






reply via email to

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