GNU bug report logs - #76617
completing-read should accept spaces in require-match nil mode

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Thu, 27 Feb 2025 21:11:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: 76617 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: bug#76617: completing-read should accept spaces in require-match nil mode
Date: Fri, 02 May 2025 17:39:58 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > Perhaps SPC and ? should self-insert when they do not extend the
  > > completion text at all.  Would that behavior be convenient?

  > Only when require-match is nil, IMHO.

To self-insert when REQUIRE-MATCH is nil seems like a good idea.

What about with other values of REQUIRE-MATCH, in the case where
adding the character would result in a match match something in the
completion list?

For instance, if the minibuffer contains `foo' and `foo?' is one
of the completions, them typing ? twice could insert ?

And something similar for SPC.


-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






This bug report was last modified 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.