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: Thu, 28 Aug 2025 09:21:41 +0300
close 79293 31.0.50
thanks

> This also fixes bug#25609, with even less code, and dired-tests and
> dired-aux-tests both once again all pass.
>
> This version of the patch also extends the change to
> dired-compare-directories, so it gets the abbreviate-file-name benefits
> too.

Thanks, I tested it, and everything works correctly,
so now pushed.

> -                          (setq-local minibuffer-default-add-function nil)
> -			  (setq minibuffer-default defaults))
> +                          ;; Don't run `read-file-name--defaults'
> +                          (setq-local minibuffer-default-add-function nil))

Thanks for adding this comment, now I remember this was intentional
to prevent running this function in read-file-name-default.




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.