GNU bug report logs - #66260
29.0.92; project.el should support copying a file path relative to the project root

Previous Next

Package: emacs;

Reported by: sbaugh <at> catern.com

Date: Thu, 28 Sep 2023 23:28:02 UTC

Severity: wishlist

Found in version 29.0.92

Full log


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

From: Eshel Yaron <me <at> eshelyaron.com>
To: sbaugh <at> catern.com
Cc: 66260 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#66260: 29.0.92; project.el should support copying a file
 path relative to the project root
Date: Sat, 30 Sep 2023 16:47:18 +0200
Hi,

sbaugh <at> catern.com writes:

> Juri Linkov <juri <at> linkov.net> writes:
>> Sometimes an absolute path is needed too even in project directories.
>> Maybe it's possible to find a new prefix argument to copy
>> a project-root-relative path like 'C-u C-u w'?
>
> I initially considered M-1 w, but that loses the ability to mark files
> and then only copy one of them.  C-u C-u seems good.

FWIW I think a separate command and binding would be preferable, namely
`C-x p w`.  That'd leave `w` intact and clearly indicate the
project-related nature of the (new) command, so it's arguably more
intuitive than `C-u C-u w`.  We could also have that binding in
non-Dired buffers, and have it operate on the visited file.




This bug report was last modified 1 year and 293 days ago.

Previous Next


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