GNU bug report logs - #76792
[PATCH] dired-copy-filename-as-kill to support project relative names

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dmitry <at> gutov.dev>

Date: Thu, 6 Mar 2025 22:40:02 UTC

Severity: wishlist

Tags: patch

Fixed in version 31.1

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 76792 <at> debbugs.gnu.org (full text, mbox):

From: Visuwesh <visuweshm <at> gmail.com>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 76792 <at> debbugs.gnu.org
Subject: Re: bug#76792: [PATCH] dired-copy-filename-as-kill to support
 project relative names
Date: Fri, 07 Mar 2025 10:43:22 +0530
[வெள்ளி மார்ச் 07, 2025] Dmitry Gutov wrote:

> Here's an implementation for that idea, together with .texi and NEWS
> changes.
>
> Comments welcome!

Maybe there's a typo, see below.

> diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
> index 07142e71713..5fc0c3b4a52 100644
> --- a/doc/emacs/dired.texi
> +++ b/doc/emacs/dired.texi
> @@ -1860,8 +1860,9 @@ Misc Dired Features
>  you had killed them with @kbd{C-w}.  The names are separated by a
>  space.
>  
> -  With a zero prefix argument, this uses the absolute file name of
> -each marked file.  With just @kbd{C-u} as the prefix argument, it uses
> +  With a zero prefix argument, this uses the absolute file name of each
> +marked file.  With prefix value, it uses names relative to the current
                 ^^^^^^^^^^^^^^^^^^

Did you mean, "With prefix value 1?"

> +project root.  With just @kbd{C-u} as the prefix argument, it uses
>  file names relative to the Dired buffer's default directory.  (This
>  can still contain slashes if in a subdirectory.)  As a special case,
>  if point is on a directory header line, @kbd{w} gives you the absolute




This bug report was last modified 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.