unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: make `occur' use word at point as default
Date: Thu, 01 Sep 2005 11:52:50 -0400	[thread overview]
Message-ID: <E1EArMw-0000bc-1h@fencepost.gnu.org> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICIEDCCMAA.drew.adams@oracle.com>

    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	other threads:[~2005-09-01 15:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-28 12:37 make `occur' use word at point as default Emilio Lopes
2005-08-29  8:39 ` Richard M. Stallman
2005-08-29 17:39   ` Emilio Lopes
2005-08-29 19:33     ` Drew Adams
2005-08-29 20:07       ` David Kastrup
2005-08-30  7:57     ` Mathias Dahl
2005-08-30 13:43     ` Kai Großjohann
2005-08-31 14:35       ` Richard M. Stallman
2005-08-31 16:03         ` Drew Adams
2005-09-01 15:52           ` Richard M. Stallman [this message]
2005-09-01 17:09             ` Drew Adams
2005-09-01 19:29               ` Juri Linkov
2005-09-01 23:59                 ` Drew Adams
2005-09-03  1:41               ` Richard M. Stallman
2005-09-03  2:01                 ` Drew Adams
2005-09-03  2:04                   ` Drew Adams
2005-09-03 13:33                     ` Benjamin Riefenstahl
2005-09-04  0:58                   ` Richard M. Stallman
2005-09-06 15:19                     ` Drew Adams
2005-09-07  5:05                       ` Richard M. Stallman
2005-09-07  5:25                         ` Drew Adams
2005-09-07  5:46                         ` Juri Linkov
2005-09-08  2:41                           ` Richard M. Stallman
2005-09-07  5:27                       ` Juri Linkov
2005-09-01  5:47         ` Juri Linkov
2005-09-01 13:08           ` Stefan Monnier
2005-09-01 19:29             ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1EArMw-0000bc-1h@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).