unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
Subject: RE: feature proposal: occur-read-primary-args: (from Xemacs)
Date: Thu, 31 Dec 2015 10:50:34 -0800 (PST)	[thread overview]
Message-ID: <cb7489e4-5426-44dc-a4de-370e7b4c1652@default> (raw)
In-Reply-To: <878u4ava0b.fsf@mat.ucm.es>

>    > I actually wonder whether Uwe knows about a much simpler to use
>    > feature: type M-n or <down> arrow at the Occur prompt.
> 
> No I did not, but your solution is hitting one key more :-D

That's because Emacs does not insert the default value into the
minibuffer as an "initial value".  For one thing, since Emacs 23
there can be multiple default values, which you can retrieve, one
by one, using `M-n' repeatedly.

---

[If you use Icicles then you can opt to have Emacs automatically
insert the (first) default value in the minibuffer, so you do
not need to use `M-n' to retrieve it.  (In that case, if you do
not want it you can hit `M-k' to remove it.)

You choose the behavior you want by customizing option
`icicle-default-value'.  You can choose to insert the default
value or not; and if inserted, whether to leave the cursor
before or after it, and whether to preselect it.]



  reply	other threads:[~2015-12-31 18:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-27 16:42 feature proposal: occur-read-primary-args: (from Xemacs) Uwe Brauer
2015-12-31  0:22 ` Juri Linkov
2015-12-31  3:34   ` Eli Zaretskii
2015-12-31 16:49     ` Uwe Brauer
2015-12-31 18:50       ` Drew Adams [this message]
2015-12-31 16:48   ` Uwe Brauer

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=cb7489e4-5426-44dc-a4de-370e7b4c1652@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=oub@mat.ucm.es \
    /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).