all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Default via M-n for M-x occur
Date: Thu, 08 Jul 2004 19:55:29 +0300	[thread overview]
Message-ID: <87acyas80r.fsf@mail.jurta.org> (raw)
In-Reply-To: <3769.217.194.34.123.1089300821.squirrel@wwws.franken.de> (Stephan Stahl's message of "Thu, 8 Jul 2004 17:33:41 +0200 (CEST)")

"Stephan Stahl" <stahl@eos.franken.de> writes:
> I'm a big fan of M-n in read-from-minibuffer and co.

I like M-n too, but only when it provides a reasonable default.

> I think this change to occur-read-primary-args in replace.el would
> be useful:

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.

It would be more useful to provide a better default value,
for example, the last isearch regexp.

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

  reply	other threads:[~2004-07-08 16:55 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 [this message]
2004-07-09 16:05   ` Richard Stallman
2004-07-09 16:09     ` David Kastrup
2004-07-09 20:57       ` 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

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

  git send-email \
    --in-reply-to=87acyas80r.fsf@mail.jurta.org \
    --to=juri@jurta.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.