GNU bug report logs - #78658
30.1; [PATCH] Dired feature suggestion: dired-on-marked-files-in-all-buffers

Previous Next

Package: emacs;

Reported by: Phil Sainty <psainty <at> orcon.net.nz>

Date: Sun, 1 Jun 2025 03:20:06 UTC

Severity: normal

Tags: patch

Found in version 30.1

Full log


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

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: "Drew Adams via \"Bug reports for GNU Emacs,  the Swiss army knife of
 text editors\"" <bug-gnu-emacs <at> gnu.org>, juri <at> linkov.net,
 Eli Zaretskii <eliz <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>,
 78658 <at> debbugs.gnu.org
Subject: Re: bug#78658: 30.1; [PATCH] Dired feature suggestion:
 dired-on-marked-files-in-all-buffers
Date: Wed, 04 Jun 2025 21:43:43 +1200
On 2025-06-04 20:57, Daniel Mendler wrote:
> Note that try-completion can also return `t' and in that case you
> want to return the exact string, not the empty string.

I believe I've accounted for that -- my function is passing the
empty string as the first argument to try-completion, and therefore
"the exact string" can only be the empty string (AFAICS).


> Also you may want to
> bind some completion variables like `completion-regexp-list' and
> `completion-ignore-case' to nil (or to an `ignore-case' argument), such
> that they do not affect the result. These dynamic variables are not 
> user
> settings, but are usually let-bound inside completion style functions
> like `completion--pcm-all-completions'. Please take a close look at the
> documentation of `try-completion'. In any case, I agree that such a
> wrapper would be good to have and easier to use.

Thank you; I'll make those changes and check the docs to see if I can
spot anything else.


-Phil





This bug report was last modified 5 days ago.

Previous Next


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