GNU bug report logs - #43440
completion in minibuffer missing initial asterisk

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 16 Sep 2020 05:55:02 UTC

Severity: wishlist

Merged with 46368

To reply to this bug, email your comments to 43440 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43440; Package emacs. (Wed, 16 Sep 2020 05:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 16 Sep 2020 05:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: completion in minibuffer missing initial asterisk
Date: Wed, 16 Sep 2020 13:54:03 +0800
[Message part 1 (text/plain, inline)]
What's the deal? All the completions start with a "*",
so why doesn't the one being built in the minibuffer have it?

[30194-0.jpg (image/jpeg, inline)]
[Message part 3 (text/plain, inline)]
I typed:
 C-x b [switch-to-buffer]
 u [self-insert-command]
 n [self-insert-command]
 s [self-insert-command]
 <tab> [minibuffer-complete]
 <tab> [minibuffer-complete]

emacs-version "26.3" Tested with emacs -q too.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43440; Package emacs. (Wed, 16 Sep 2020 07:37:01 GMT) Full text and rfc822 format available.

Message #8 received at 43440 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 43440 <at> debbugs.gnu.org
Subject: Re: bug#43440: completion in minibuffer missing initial asterisk
Date: Wed, 16 Sep 2020 09:36:41 +0200
On Wed, 16 Sep 2020 13:54:03 +0800 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> wrote:

> What's the deal? All the completions start with a "*",
> so why doesn't the one being built in the minibuffer have it?

It's not just "*" but any string that all completion candidates share.
I think this is related to the issue raised in bug#38476 (which is a
feature request following on bug#38458).

Steve Berman




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43440; Package emacs. (Thu, 17 Sep 2020 15:28:02 GMT) Full text and rfc822 format available.

Message #11 received at 43440 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: 43440 <at> debbugs.gnu.org,
 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Subject: Re: bug#43440: completion in minibuffer missing initial asterisk
Date: Thu, 17 Sep 2020 17:26:53 +0200
[Message part 1 (text/plain, inline)]
Stephen Berman <stephen.berman <at> gmx.net> writes:

> On Wed, 16 Sep 2020 13:54:03 +0800 積丹尼 Dan Jacobson
> <jidanni <at> jidanni.org> wrote:
>
>> What's the deal? All the completions start with a "*",
>> so why doesn't the one being built in the minibuffer have it?
>
> It's not just "*" but any string that all completion candidates share.
> I think this is related to the issue raised in bug#38476 (which is a
> feature request following on bug#38458).

It's kinda similar, but in this case the problem is more glaring -- all
the completion candidates share the same prefix, so why isn't that
prefix included in the completion string?

Here's the reproducible test case:

(progn
  (switch-to-buffer "foobar1")
  (switch-to-buffer "foobar2")
  (switch-to-buffer "*scratch*")
  (call-interactively 'switch-to-buffer))

Eval and then type `bar TAB':

[Message part 2 (image/png, inline)]
[Message part 3 (text/plain, inline)]

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

Forcibly Merged 43440 46368. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 07 Feb 2021 18:30:02 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'minor' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 14 Sep 2023 20:10:02 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 274 days ago.

Previous Next


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