From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>,
Michael Heerdegen <michael_heerdegen@web.de>
Cc: "36745@debbugs.gnu.org" <36745@debbugs.gnu.org>,
Jean Louis <bugs@gnu.support>
Subject: bug#36745: [External] : bug#36745: 27.0.50; completing-read with require-match nil does not accept spaces
Date: Sun, 20 Feb 2022 22:24:43 +0000 [thread overview]
Message-ID: <SJ0PR10MB5488D4BF36FBFBF3DA49A328F3399@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <87bkz1pnpy.fsf@gnus.org>
> > Anyway, my opinion doesn't matter much. I don't like the behavior of
> > space not just inserting a space - I get angry every time this happens.
> > I wonder what others do think about it.
>
> I absolutely loathe it, so I have:
>
> (keymap-set minibuffer-local-completion-map "SPC" #'self-insert-command)
> (keymap-set minibuffer-local-completion-map "?" #'self-insert-command)
>
> But I don't think this is something we can change at this point.
Why not? You seem to change lots of things "at
this point", whatever the point.
I requested this changed decades ago. And I may
have filed it as an enhancement-request bug.
It took years for SPC to become self-inserting
for (only) file-name completion. Many more
years have passed since then. Courage!
> But I've now added this to the Minibuffer Edit node in the Emacs manual.
What did you add? Telling users that if they
want sane behavior they can add such bindings
themselves? Did you tell them Emacs still
doesn't dare do that by default?
How about proposing it in emacs-devel, or
taking a user poll, to see how many users
really don't want such keys to self-insert?
> I don't think there's anything more to do in this bug report, and I'm
> therefore closing it.
All of these keys should be self-inserting during
completion: SPC, ?, C-j. (Not just SPC and ?.)
It's long past time to do this. There's no good
reason not to do it.
If you want, add an option for a list of keys to
bind to word completion.
[I do that in Icicles, to give users who still
want word completion an alternative to SPC (and
an easy way to get back SPC if they really want
that to word-complete). By default, option
`icicle-word-completion-keys' is the singleton
list with key `M-SPC'.]
Or just bind `M-SPC' to `minibuffer-complete-word'
by default.
next prev parent reply other threads:[~2022-02-20 22:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-20 19:03 bug#36745: 27.0.50; completing-read with require-match nil does not accept spaces Jean Louis
2019-07-20 20:14 ` Drew Adams
2019-07-20 21:02 ` Jean Louis
2019-07-20 21:52 ` Drew Adams
2019-07-20 23:13 ` Jean Louis
2019-07-21 0:04 ` Drew Adams
2019-07-21 7:34 ` Jean Louis
2019-07-20 23:40 ` Michael Heerdegen
2019-07-21 7:27 ` Jean Louis
2019-07-21 9:55 ` Basil L. Contovounesios
2019-07-21 19:53 ` Michael Heerdegen
2019-07-21 23:24 ` Michael Heerdegen
2019-07-22 0:03 ` Drew Adams
2022-02-20 15:22 ` Lars Ingebrigtsen
2022-02-20 22:24 ` Drew Adams [this message]
2019-07-21 9:54 ` Basil L. Contovounesios
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=SJ0PR10MB5488D4BF36FBFBF3DA49A328F3399@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=36745@debbugs.gnu.org \
--cc=bugs@gnu.support \
--cc=larsi@gnus.org \
--cc=michael_heerdegen@web.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).