GNU bug report logs - #79293
[PATCH] Pass dired default filenames via defaults argument

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Fri, 22 Aug 2025 21:21:01 UTC

Severity: normal

Tags: patch

Fixed in version 31.0.50

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

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 79293 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: bug#79293: [PATCH] Pass dired default filenames via defaults argument
Date: Sat, 23 Aug 2025 10:02:47 +0300
> Cc: Juri Linkov <juri <at> linkov.net>
> Date: Fri, 22 Aug 2025 17:20:13 -0400
> From:  Spencer Baugh via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Rather than using minibuffer-with-setup-hook and
> minibuffer-default-add-function, just pass the list of default
> file names as a regular argument to read-file-name.  This
> behaves better with various customizations, and also allows the
> normal abbreviate-file-name logic in read-file-name to run.

"Behaves better" in what sense?

Would you please show examples of commands where the patched version
behaves better, including the effect of the abbreviate-file-name
logic?  Because from your OP it is unclear to me what, if any, will be
the user-facing effects of the new behavior in the relevant Dired
commands.

Thanks.




This bug report was last modified 22 days ago.

Previous Next


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