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: Juri Linkov <juri <at> linkov.net>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 79293 <at> debbugs.gnu.org
Subject: bug#79293: [PATCH] Pass dired default filenames via defaults argument
Date: Wed, 27 Aug 2025 20:40:12 +0300
> Also, attached is an updated version of the patch which reflects the
> fact that the "default" variable actually was unused before, only
> "defaults" was used.
> [...]
> -	   (default (and dired-one-file
> -		         (not dired-dwim-target) ; Bug#25609

Removing these lines breaks dired-tests added
in the same commit 841e3e377c97 for Bug#25609 above.

Wouldn't it be safer just to add abbreviate-file-name
in the existing minibuffer-with-setup-hook?
This means code duplication, but avoids the risk
of breaking something.




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.