unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: stahl@eos.franken.de, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Default via M-n for M-x occur
Date: Fri, 09 Jul 2004 23:57:22 +0300	[thread overview]
Message-ID: <87smc0lwzx.fsf@mail.jurta.org> (raw)
In-Reply-To: <x5n029b1rj.fsf@lola.goethe.zz> (David Kastrup's message of "09 Jul 2004 18:09:52 +0200")

David Kastrup <dak@gnu.org> writes:
> Richard Stallman <rms@gnu.org> writes:
>>     Currently `occur-read-primary-args' sets the default value to the
>>     last element of the regexp history.  But the whole history list is
>>     available by M-p.  It makes no sense to duplicate the last history
>>     element as a default value available by M-n.
>> 
>> Since it does have a default, that default should (for consistency)
>> be available through M-n.
>
> It is not a good idea to mention the default in the prompt then: this
> will lead people to think that just typing RET would provide them
> with the default.

And if RET will not use the default value and the prompt will not
display the default then it makes no sense to make the last history
element available through M-n because exactly the same value (as well
as all other history value) is available through M-n.

-- 
Juri Linkov
http://www.jurta.org/emacs/

      reply	other threads:[~2004-07-09 20:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-08 15:33 Default via M-n for M-x occur Stephan Stahl
2004-07-08 16:55 ` Juri Linkov
2004-07-09 16:05   ` Richard Stallman
2004-07-09 16:09     ` David Kastrup
2004-07-09 20:57       ` Juri Linkov [this message]

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=87smc0lwzx.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=stahl@eos.franken.de \
    /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).