bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63744: 28.2; fix dired-guess-default


From: Leo Liu
Subject: bug#63744: 28.2; fix dired-guess-default
Date: Sat, 27 May 2023 12:10:15 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (macOS 11.7.6)

I have this customisation

(setq dired-guess-shell-alist-user '(("." EXP)))

where EXP evaluates to a list of strings. It has been working for ~10
years until Emacs 28.

After some digging it turns out there is a rewrite of
`dired-guess-default' which is not compatible. Previously returning a
list of strings from EXP accidentally worked.

  (eval (car cmds) `((file . ,file)))  ; single command

but if it evaluates to a list of strings it is perfectly fine as per the
documentation of dired-guess-default. I propose the following patch for
remedy.

Attachment: 0001-Fix-dired-guess-default.patch
Description: 0001-Fix-dired-guess-default.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]