From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#64088: [PATCH] Make project-root for vc projects return an absolute path Date: Mon, 10 Jul 2023 05:17:39 +0300 Message-ID: <2690528f-bfc8-d164-c522-cd2fcf2ba1ba@gutov.dev> References: <3c6078aa-4089-46fd-18bb-d92be101ca4f@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5798"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cc: 64088@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 10 04:18:23 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 1qIgTk-0001Fa-Fh for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Jul 2023 04:18:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIgTY-0007VH-09; Sun, 09 Jul 2023 22:18:08 -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 1qIgTT-0007Uj-Ns for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 22:18:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qIgTT-0003YI-Fk for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 22:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIgTS-0003N3-Av for bug-gnu-emacs@gnu.org; Sun, 09 Jul 2023 22:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Jul 2023 02:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64088 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64088-submit@debbugs.gnu.org id=B64088.168895546912937 (code B ref 64088); Mon, 10 Jul 2023 02:18:02 +0000 Original-Received: (at 64088) by debbugs.gnu.org; 10 Jul 2023 02:17:49 +0000 Original-Received: from localhost ([127.0.0.1]:47334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIgTF-0003Mb-63 for submit@debbugs.gnu.org; Sun, 09 Jul 2023 22:17:49 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:54047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIgTD-0003MO-3X for 64088@debbugs.gnu.org; Sun, 09 Jul 2023 22:17:47 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 108155C00B5; Sun, 9 Jul 2023 22:17:42 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 09 Jul 2023 22:17:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1688955462; x=1689041862; bh=dkH36xosLKsVi8+MQ9EQXwy9+U9ilk7k+Ol yHUH6hwI=; b=Wlty45ACKfeyiJliS+P6dYicVuBuT+XFWFkkDGYYx2hqUazJ0Nw k/zgZX/mTfNTVW+AqSFOjvrCzCjCnh26YmcppgqzxDQceblPUQCK9Oud9wkjbQDH fqnYlVD81k3hDsqA3kxay/eMEsoBNdrdQmZi0VV+9QO1lMKnPT6PzeDGps3TWXGa tyaJoOiNyqXCn8Zb8dDU8bwrXH9/YknWb9aOs2fEbnSXIF0hru5ZDLUh5jmLnWS5 NWO+tgGFOtnEOanFqha+eDqLOnqmbYxxgNyx0Qa89kO6NpBosVvJFVzqBIgZAHwA VOAH9yrwH9sFCERamuZHdpEZdSIF5LBnRGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1688955462; x=1689041862; bh=dkH36xosLKsVi8+MQ9EQXwy9+U9ilk7k+Ol yHUH6hwI=; b=MnUsbrdLTcS9WbWH3oY3pm7LUvt+hhGOMzAczW99sEEB0hNwciK jBhr5xcY2zG2xW4ykkQ8kIv7P/dukJFCTcFhtkV9PVoF+r9ccGx93lQmRrtvRZGc xuSujcOPr4Dk/K2he+tKY+jSb70daveE9FKzfkeC+vr+SrKylhACV8QXVEVHDt9J wqp7HFQboCGTld8todnKpgq2tSVBgWKxin9YCU39sKGCxSH9wrFjnjtk8Hd7pDT8 zAxX4nGllz3Q9iR3DqC/XKSjO+MKmVKhx7oQH80su6kp8JFF2fRvGV6EQ5EA1MTv DWqDfBGp46rxwljv5Un12NDwjFMokb32nnQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrvdeigdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttdefjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeeigfetveehveevffehledtueekieeikeeufeegudfgfeeghfdulefgfeevledv veenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 9 Jul 2023 22:17:40 -0400 (EDT) Content-Language: en-US In-Reply-To: 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:264869 Archived-At: On 27/06/2023 23:01, Spencer Baugh wrote: > OK, how about this? Maybe we should go in the other direction? And call abbreviate-file-name on them? Because otherwise in project-prompt-project-dir we'll always show the expanded directory names, taking up extra space and usually repeating the full name of the user's home directory for no good reason.