GNU bug report logs - #64656
29.0.91; Doc of minibuffer histories and completing-read - automatic addition of completions to DEFAULT list

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 15 Jul 2023 23:36:01 UTC

Severity: minor

Found in version 29.0.91

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64656 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
 drew.adams <at> oracle.com
Subject: Re: bug#64656: 29.0.91; Doc of minibuffer histories and
 completing-read - automatic addition of completions to DEFAULT list
Date: Mon, 13 Nov 2023 19:17:29 +0200
> The problem reported by this bug report is that the order is random by
> `C-h v M-n M-n' because it uses obarray.  There is no such problem for
> `C-x C-f M-n M-n' because the list of default values is truncated
> explicitly in `read-file-name-default' by
>
>   (minibuffer-with-setup-hook
>       (lambda ()
>         (setq-local minibuffer-default-add-function
>           ...
>
> So maybe to use the same to truncate the list of default values
> for `C-h f', `C-h v', `C-h o'?

But alas, this won't work for e.g. `C-h w', `C-h S',
and other obarray completions.

So it's a lose-lose situation.




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

Previous Next


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