emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Re: [PATCH] Add file-ring to dired-aux.el


From: Juri Linkov
Subject: Re: [External] : Re: [PATCH] Add file-ring to dired-aux.el
Date: Mon, 28 Oct 2024 20:53:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)

>> Maybe displaying the current directory is helpful for such
>> rare cases when it will be used from buffers other than Dired.
>> But it's more important to show the source directory name, e.g.
>>
>>   "From directory: ..."
>
> I tend to agree, although as you see in my current implementation
> there's no strong assumption that all files come from the same
> directory.  You could grab just any list of file names, and go copy them
> to some directory.  But I think you're right that in the common case of
> copying from one directory (and perhaps some of its subdirectories),
> showing the source directory name would be a nice addition.

Probably the best way would be to find and show a common prefix
from all absolute names.  Then file names relative to this prefix
in the list of files will be shortest in the common case of
copying from one directory.



reply via email to

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