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 #26 received at 78658 <at> debbugs.gnu.org (full text, mbox):

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 78658 <at> debbugs.gnu.org
Subject: Re: bug#78658: 30.1; [PATCH] Dired feature suggestion:
 dired-on-marked-files-in-all-buffers
Date: Tue, 03 Jun 2025 23:49:43 +1200
On 2025-06-01 18:10, Eli Zaretskii wrote:
>> +      (dired (cons "/" files))
> 
> Why "/"?  It sounds arbitrary.  Also non-portable; use
> 
>   (expand-file-name "/")
> 
> instead.


Thanks Eli.  I'm pretty fuzzy on the whole portability aspect of these
things, and have only GNU/Linux systems to test on, so I'm sure I'll
get things wrong.  Hopefully they'll all be similarly straightforward
to resolve.

I'd used "/" at the time because the code was dealing only with the
absolute paths, so it wasn't arbitrary as such; but now that there's
additional code to figure out a common subdirectory (if any), there's
no need for a hard-coded value like that.


-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.