From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#58447: [PATCH] In project-find-file, add absolute file name to history Date: Sat, 29 Oct 2022 20:45:27 +0300 Organization: LINKOV.NET Message-ID: <86tu3mftm0.fsf@mail.linkov.net> References: <8735budxiz.fsf@gmail.com> <83a662dvgo.fsf@gnu.org> <871qqvj6qb.fsf@gmail.com> <42bb91a0-60ff-2e51-dcdc-c1e1f80e31ec@yandex.ru> <837d0lmmpi.fsf@gnu.org> <1cce089a-546e-7f13-0907-3d36452aef10@yandex.ru> <83v8o5l0wa.fsf@gnu.org> <5c1cc828-5fcd-667f-41d4-f19923b2958e@yandex.ru> <87k04li5nw.fsf@gmail.com> <864jvphx4r.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22458"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , Augusto Stoffel , 58447@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 29 19:57:26 2022 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 1ooq5G-0005fm-P2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Oct 2022 19:57:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooq4u-0001oN-CH; Sat, 29 Oct 2022 13:57:04 -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 1ooq4s-0001no-QX for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 13:57:02 -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 1ooq4s-0001vR-Iw for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 13:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooq4s-0001pv-0I for bug-gnu-emacs@gnu.org; Sat, 29 Oct 2022 13:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Oct 2022 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58447 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58447-submit@debbugs.gnu.org id=B58447.16670662177040 (code B ref 58447); Sat, 29 Oct 2022 17:57:01 +0000 Original-Received: (at 58447) by debbugs.gnu.org; 29 Oct 2022 17:56:57 +0000 Original-Received: from localhost ([127.0.0.1]:36553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooq4n-0001pU-DU for submit@debbugs.gnu.org; Sat, 29 Oct 2022 13:56:57 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:50335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooq4k-0001pB-Bk for 58447@debbugs.gnu.org; Sat, 29 Oct 2022 13:56:56 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id C3487C0004; Sat, 29 Oct 2022 17:56:46 +0000 (UTC) In-Reply-To: (Dmitry Gutov's message of "Fri, 28 Oct 2022 21:11:58 +0300") 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246561 Archived-At: >> But please note that the same problem exists in both ways: >> when trying to revisit an absolute file names previously visited >> by 'C-x C-f', then 'C-x p f' fails on absolute file names. > > Does Augusto's patch from the first message make things better for you? Augusto's patch makes things better, but fails to read absolute file names. To fix this, project--read-file-cpd-relative also need to accept absolute file names.