From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: sbaugh@catern.com Newsgroups: gmane.emacs.bugs Subject: bug#66260: 29.0.92; project.el should support copying a file path relative to the project root Date: Sat, 30 Sep 2023 15:17:54 +0000 (UTC) Message-ID: <87zg13zo4e.fsf@catern.com> References: <875y3t2827.fsf@catern.com> <86il7tihzl.fsf@mail.linkov.net> <8734yv22jb.fsf@catern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38048"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66260@debbugs.gnu.org, Juri Linkov To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 30 17:19:17 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qmbkR-0009Uw-QO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Sep 2023 17:19:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmbk0-0006vC-WD; Sat, 30 Sep 2023 11:18:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qmbjz-0006tQ-87 for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 11:18:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qmbjz-0007Mu-0b for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 11:18:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmbkE-0006U9-Dn for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 11:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: sbaugh@catern.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Sep 2023 15:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66260 X-GNU-PR-Package: emacs Original-Received: via spool by 66260-submit@debbugs.gnu.org id=B66260.169608709924863 (code B ref 66260); Sat, 30 Sep 2023 15:19:02 +0000 Original-Received: (at 66260) by debbugs.gnu.org; 30 Sep 2023 15:18:19 +0000 Original-Received: from localhost ([127.0.0.1]:59658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmbjW-0006Sx-Mp for submit@debbugs.gnu.org; Sat, 30 Sep 2023 11:18:18 -0400 Original-Received: from s.wrqvtzvf.outbound-mail.sendgrid.net ([149.72.126.143]:56910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmbjU-0006Sh-EN for 66260@debbugs.gnu.org; Sat, 30 Sep 2023 11:18:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catern.com; h=from:subject:in-reply-to:references:mime-version:to:cc:content-type: content-transfer-encoding:cc:content-type:from:subject:to; s=s1; bh=HV0ZwOFEIUdunMV8n94MNW9FtlpMULjNqon/+q9uGvo=; b=xh7yS/17qrN0nZceolu8IsCbH8cjBZUq0QvIo1aoTbUWwU/fTxbPSa6rsU9vGr8usSjO qFkGZ0pUbraKPkv/lsg8x//FnxWQWBohaeL+BF0T32XhZU4CiRUBZfGVQ0+5xWc0v0nQ8g 4KPvdsNMNRgW2glSIpy0szrbPIOddpS0bC1SLgebvt9EGNRzdPcUi1knyTyy/xGNySI54c aSRB6yi04SbvHwToOh7SlkCel1YS/EfzjYrjxMDFsKxYPd6Cn1TsE7Rb66cRB9uA1KG/o2 haa9gb4Euu63FqGMaCCPE/suY6caJZCMwzwuOM+B66VAxeft5UYWmdUgtXRO2YSw== Original-Received: by filterdrecv-8684c58db7-nd6mk with SMTP id filterdrecv-8684c58db7-nd6mk-1-65183C22-15 2023-09-30 15:17:54.754758172 +0000 UTC m=+759092.505623576 Original-Received: from earth.catern.com (unknown) by geopod-ismtpd-23 (SG) with ESMTP id 98bRTk0vRROytNB0gvWJQg Sat, 30 Sep 2023 15:17:54.487 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=::1; helo=localhost; envelope-from=sbaugh@catern.com; receiver=eshelyaron.com Original-Received: from localhost (localhost [IPv6:::1]) by earth.catern.com (Postfix) with ESMTPSA id F155965929; Sat, 30 Sep 2023 11:17:53 -0400 (EDT) In-Reply-To: (Eshel Yaron's message of "Sat, 30 Sep 2023 16:47:18 +0200") X-SG-EID: ZgbRq7gjGrt0q/Pjvxk7wM0yQFRdOkTJAtEbkjCkHbK07N+nhvoRc2TBCIawc+4QTIcHvf8hdmzV5jd2kfLEK7xozg4ZJQ229r4kG3h+WhH6C/iZpJ9PfCFcpJ8+Tfls5X5NYQCpLpbx/qvmesnuWLwZLeWiN7cll5Pn9+qMWdEgWC6T3bptUZF9F+Gr29b2ZSIdLvOfZDTg2jrKrGZBfQ== X-Entity-ID: d/0VcHixlS0t7iB1YKCv4Q== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271548 Archived-At: Eshel Yaron writes: > Hi, > > sbaugh@catern.com writes: > >> Juri Linkov 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. I don't think there's any need to avoid modifying w, so even if we added this other C-x p w command, I would still like C-u C-u w to work. It's useful when navigating a project tree in dired.