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#63829: 29.0.90; project-find-file's future history breaks with common-parent-directory Date: Mon, 21 Aug 2023 04:17:00 +0300 Message-ID: <9fc3dec9-0bea-b480-35fa-af33729cc8c8@gutov.dev> References: <16b64d95-35e9-ef94-2c54-17b670111f0f@gutov.dev> <86h6rnw7gm.fsf@mail.linkov.net> <3e404df1-b3a9-f9e3-4270-f42df8b704c7@gutov.dev> <87a5uti6mo.fsf@catern.com> <73a695f3-7c6a-0e50-41dd-61f8269f6ecf@gutov.dev> <875y5fitiq.fsf@catern.com> <865y59n73s.fsf@mail.linkov.net> 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="26903"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: sbaugh@catern.com, 63829@debbugs.gnu.org, Spencer Baugh To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 21 03:18:25 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 1qXtYm-0006kv-33 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Aug 2023 03:18:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXtYV-0001fk-29; Sun, 20 Aug 2023 21:18:07 -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 1qXtYO-0001fO-RK for bug-gnu-emacs@gnu.org; Sun, 20 Aug 2023 21:18:02 -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 1qXtYN-0008E7-Sx for bug-gnu-emacs@gnu.org; Sun, 20 Aug 2023 21:18:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXtYP-00080E-Oo for bug-gnu-emacs@gnu.org; Sun, 20 Aug 2023 21:18:01 -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, 21 Aug 2023 01:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63829 X-GNU-PR-Package: emacs Original-Received: via spool by 63829-submit@debbugs.gnu.org id=B63829.169258063430701 (code B ref 63829); Mon, 21 Aug 2023 01:18:01 +0000 Original-Received: (at 63829) by debbugs.gnu.org; 21 Aug 2023 01:17:14 +0000 Original-Received: from localhost ([127.0.0.1]:55093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXtXd-0007z4-OF for submit@debbugs.gnu.org; Sun, 20 Aug 2023 21:17:14 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:49839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXtXb-0007yn-3M for 63829@debbugs.gnu.org; Sun, 20 Aug 2023 21:17:12 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 49F75320083A; Sun, 20 Aug 2023 21:17:03 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 20 Aug 2023 21:17:03 -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=fm2; t= 1692580622; x=1692667022; bh=kLFHG9n4bAy7MudEYMs3tdZorT1SOBo9lhG m08MBslo=; b=PoiCEIJx9oBhtLvDsBxz8hm1a6aBPNZcBwYSKZeE3WgHlcPeyXd Ao0RbTr/tXuDo5dejgJOV+scODH0fxOH0yki3id5R6qctGsFRWR1LyU5fB3WDeEQ 8zm6YPFnzupIht9B4yBBTwyz8Q8L/Iw36t8lSUYPaKDcI3HAnlQTLXumWYhrWP+x 86Pptwa9mIiX9fNpfaEkP/mEu5LvOnIYO9mwIpjMSuVMLzl+bNINyc6FZhq97Whu N7vhJ3ZP+Y0hEGO9MA7D3yq8zltMFYj355IOU2MIdbQFMtGNwc2Xh77NHcUSf4f3 BBgh3lTYRt7CY/tTgpUtn+4EI2LDne1cgqA== 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=fm1; t= 1692580622; x=1692667022; bh=kLFHG9n4bAy7MudEYMs3tdZorT1SOBo9lhG m08MBslo=; b=KS+WYZ6Q3TcTR/S+khOjbgcZeRTL8C2wlVTjLd2yveXQwuNliog JMmp8bTsv+HppkVewVPpkeD//vzp1Fta8XwsDXpxqP6vBDjh51zzmaN6Mgjflei3 uLVm89R8w+7gI7pj3ZZ7rFFvJr6JBS2OlEkd6iUY2pnQBxJVS2Ch7NY7PC3cB9X1 k3NQxvg72xlWcPZLZu7VUrsnavBWacMuPsxneAxXsQVWekmY60/qcMLxl5lj+cvR j3Kskm70yNvJPirxJ2SspVD+FBwdgqVnRA5qWqKb8xTxEXzsLxpwb7NCV1XZaiJO HsatPkXoQLzTvKQnGgLpCg95VE0/mkLqTRA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddukedggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Aug 2023 21:17:01 -0400 (EDT) Content-Language: en-US In-Reply-To: <865y59n73s.fsf@mail.linkov.net> 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:268050 Archived-At: On 20/08/2023 20:13, Juri Linkov wrote: > Then maybe better to simply add only the relative file name for optimization? > Like this > > (add-to-history 'file-name-history > (propertize file 'project-relative-name > (file-relative-name file (project-root project))))) Then it won't work in find-file (or might even break it).