From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 16:47:18 +0200 Message-ID: References: <875y3t2827.fsf@catern.com> <86il7tihzl.fsf@mail.linkov.net> <8734yv22jb.fsf@catern.com> Reply-To: Eshel Yaron Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21487"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66260@debbugs.gnu.org, Juri Linkov To: sbaugh@catern.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 30 16:48:18 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 1qmbGU-0005GN-EV for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 30 Sep 2023 16:48:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmbG2-0005xr-I0; Sat, 30 Sep 2023 10:47:50 -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 1qmbFz-0005uJ-Oq for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 10:47:49 -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 1qmbFz-0000hz-ER for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 10:47:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmbGE-0005Sw-HO for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2023 10:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Sep 2023 14:48: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.169608526120910 (code B ref 66260); Sat, 30 Sep 2023 14:48:02 +0000 Original-Received: (at 66260) by debbugs.gnu.org; 30 Sep 2023 14:47:41 +0000 Original-Received: from localhost ([127.0.0.1]:59634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmbFs-0005RB-EL for submit@debbugs.gnu.org; Sat, 30 Sep 2023 10:47:41 -0400 Original-Received: from mail.eshelyaron.com ([107.175.124.16]:55010 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmbFo-0005R0-Dh for 66260@debbugs.gnu.org; Sat, 30 Sep 2023 10:47:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1696085240; bh=2HtsINsXmFMaXJB+otLVTXKWJruZi+67mxsJl1twMaM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gLyOku07UXiRpUudpjyYWyi0qLJ8AGtTH2QC6OBhlWkGRmeK9H21DqVBJ3LInUTAk /pWSnQOfrLJ+8TTqQR0CrVo31XNz31NmhigL1uZXNkqEhGYJJHNumG0DjERXYl+1rD xQ0fllZBXDiLJJb9ustP8G5aBK1jUqRX0GHHZ1eq/s/IT/IarrJPQ29cmogEGjMCuF di49/3L2+qI89pUt7CILfllr/yf9Cy0Jg3kKw+p8wZRUjzVZ8WvEGGQFsajDED1XX/ VOjnZHY5igr2iNnWxsExBr0uUJ1pbFQ92niAK6MxWELdDJP5qsSyu3nUbqkEoFpgRp D7wxbSm+ZcWbA== In-Reply-To: <8734yv22jb.fsf@catern.com> (sbaugh@catern.com's message of "Sat, 30 Sep 2023 13:50:33 +0000 (UTC)") X-Hashcash: 1:20:230930:sbaugh@catern.com::axFEve5tmRw+EWxU:0ggf X-Hashcash: 1:20:230930:juri@linkov.net::LH2uu6EjfzIrffQG:4DU0 X-Hashcash: 1:20:230930:66260@debbugs.gnu.org::9xw2PEQ+hjcmBKer:E8E/ 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:271547 Archived-At: 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.