From: Dani Moncayo <dmoncayo@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: 12443@debbugs.gnu.org
Subject: bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy)
Date: Fri, 14 Sep 2012 21:17:56 +0200 [thread overview]
Message-ID: <CAH8Pv0iNYV2HZNd6KaB5T1VPUy1v9OQE-z6GR2MwwqyWv-fkgA@mail.gmail.com> (raw)
In-Reply-To: <6DE0F5273298453C9EF24A012F8DBC17@us.oracle.com>
>> > So, hereby I propose to fix this, i.e., to omit the "default " in
>> > those commands where this is currently shown.
>>
>> I find the "(default ...)" text to use up too much space for
>> my own taste, so I use the patch below to rewrite it on-the-fly
>> to "[...]".
>
> Just get rid of "(default ...)" altogether. A user can use `M-n' to see the
> default value, and `M-n RET' instead of `RET' to choose it. No big deal, and a
> lot less noise.
But some users may prefer to see the default value in the prompt.
> ---
>
> Or do as I do in Icicles: give users the choice, across all minibuffer prompts.
> They have an option, with these possible values:
>
> nil - Do not insert default value
> or add it to prompt.
> t - Add default value to prompt
> (except for `read-file-name' and
> `read-from-minibuffer').
> Do not insert it.
> `insert-start' - Insert default value
> and leave cursor at start.
> `insert-end' - Insert default value
> and leave cursor at end.
> `preselect-start' - Insert and preselect default value;
> leave cursor at beginning.
> `preselect-end' - Insert and preselect default value;
> leave cursor at end.
>
That looks like a good improvement, indeed.
> The default value of the option is `t' (mainly to be closer to what people are
> used to in vanilla Emacs). But what I am suggesting for Emacs is the `nil'
> behavior as default: do nothing with the default value. (Personally, I use
> `insert-end'.)
I'm not sure what would be the more suitable default value (whether
nil ot t), in any case, this is secondary, as anyone could customize
it.
--
Dani Moncayo
next prev parent reply other threads:[~2012-09-14 19:17 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-14 13:53 bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy) Dani Moncayo
2012-09-14 15:56 ` Stefan Monnier
2012-09-14 16:39 ` Drew Adams
2012-09-14 19:17 ` Dani Moncayo [this message]
2012-09-14 19:10 ` Dani Moncayo
2012-09-14 19:41 ` Stefan Monnier
2012-09-14 20:42 ` Dani Moncayo
2012-09-14 20:50 ` Jambunathan K
2012-09-14 20:55 ` Drew Adams
2012-09-14 22:47 ` Juri Linkov
2020-08-25 12:30 ` Lars Ingebrigtsen
2020-08-25 12:55 ` Stefan Kangas
2020-08-25 13:45 ` Stefan Monnier
2020-08-25 15:19 ` Lars Ingebrigtsen
2020-08-25 15:34 ` Drew Adams
2020-08-25 16:19 ` Stefan Kangas
2020-08-25 18:23 ` Juri Linkov
2020-08-25 19:12 ` Lars Ingebrigtsen
2020-08-25 20:00 ` Stefan Monnier
2020-08-26 12:10 ` Lars Ingebrigtsen
2020-08-27 18:48 ` Juri Linkov
2020-08-28 14:11 ` Lars Ingebrigtsen
2020-08-28 15:21 ` Stefan Monnier
2020-08-30 13:16 ` Lars Ingebrigtsen
2020-09-06 15:02 ` Lars Ingebrigtsen
2020-09-06 17:46 ` Lars Ingebrigtsen
2020-09-06 18:10 ` Lars Ingebrigtsen
2020-09-06 18:49 ` Drew Adams
2020-09-06 20:18 ` Michael Heerdegen
2020-09-06 20:38 ` Lars Ingebrigtsen
2020-09-06 20:42 ` Lars Ingebrigtsen
2020-09-06 21:55 ` Michael Heerdegen
2020-09-06 21:57 ` Lars Ingebrigtsen
2020-09-06 21:50 ` Michael Heerdegen
2020-09-06 21:56 ` Lars Ingebrigtsen
2020-09-07 18:46 ` Juri Linkov
2020-09-07 19:27 ` Lars Ingebrigtsen
2020-09-08 18:32 ` Juri Linkov
2020-09-08 20:37 ` Lars Ingebrigtsen
2020-09-09 18:50 ` Juri Linkov
2020-09-10 13:14 ` Lars Ingebrigtsen
2020-09-11 9:11 ` Andrii Kolomoiets
2020-09-11 12:53 ` Lars Ingebrigtsen
2020-09-14 8:40 ` Andrii Kolomoiets
2020-09-14 11:15 ` Lars Ingebrigtsen
2020-10-13 2:31 ` Lars Ingebrigtsen
2020-09-12 19:04 ` Juri Linkov
2020-09-13 8:53 ` Juri Linkov
2020-09-13 14:30 ` Eli Zaretskii
2020-09-13 13:00 ` Lars Ingebrigtsen
2020-09-07 20:11 ` Lars Ingebrigtsen
2021-01-17 19:05 ` bug#12443: 24.2.50; Default values in the minibuffer prompt (fix Basil L. Contovounesios
2021-01-18 16:40 ` Lars Ingebrigtsen
2021-01-18 18:06 ` Basil L. Contovounesios
2020-08-28 14:13 ` bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy) Lars Ingebrigtsen
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=CAH8Pv0iNYV2HZNd6KaB5T1VPUy1v9OQE-z6GR2MwwqyWv-fkgA@mail.gmail.com \
--to=dmoncayo@gmail.com \
--cc=12443@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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.