From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#58447: [PATCH] In project-find-file, add absolute file name to history Date: Mon, 31 Oct 2022 09:06:50 +0100 Message-ID: <875yg0to11.fsf@gmail.com> 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> <86tu3mftm0.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="28374"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 58447@debbugs.gnu.org To: Dmitry Gutov , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 31 09:08:37 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 1opPqW-0007DH-14 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 Oct 2022 09:08:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1opPq1-0000Lo-D7; Mon, 31 Oct 2022 04:08:05 -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 1opPpy-0000LS-V4 for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 04:08: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 1opPpy-0002F3-Np for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 04:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1opPpy-00084J-B6 for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2022 04:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Oct 2022 08:08:02 +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.166720362230933 (code B ref 58447); Mon, 31 Oct 2022 08:08:02 +0000 Original-Received: (at 58447) by debbugs.gnu.org; 31 Oct 2022 08:07:02 +0000 Original-Received: from localhost ([127.0.0.1]:39429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opPoz-00082l-QM for submit@debbugs.gnu.org; Mon, 31 Oct 2022 04:07:02 -0400 Original-Received: from mail-ej1-f41.google.com ([209.85.218.41]:45870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1opPox-00082W-R8 for 58447@debbugs.gnu.org; Mon, 31 Oct 2022 04:07:00 -0400 Original-Received: by mail-ej1-f41.google.com with SMTP id sc25so27332577ejc.12 for <58447@debbugs.gnu.org>; Mon, 31 Oct 2022 01:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=o1rvs/3JzxoGo9wmZ3g6CY1eQ9wHUz1QS00fvG7n39s=; b=WuysLlW+dYmJtRIoQe6vum6i+v0D9718OQab0faUzZiRLVJRMscWKdQQWo2l4vFyQA 5tVQiQ2yAq0/w5DETm/J2B6Ml5r19E6hqt5UgGR+/jISMGbunQ1ojEz1jnubv/GNQ/Q5 AO8FCS9lxaPUPUaBWh3FPFX7SS4utLc7RofGJmCcfMj3xJgMDAmvMu8CGvkwiZWJXF6x 3UyeBWD6pLUpPm1Ox81/QBO3G3UeUm66+QAdaG8Ehafq8veoQtCfPtf4LRKxWCt3ZqSe dB2O3qyF8FdeEpDZ5/YLzrs2sBSN7TiI26/Jw5alXT1R2KBDaq09FqHIG72BbLpfSW77 s4jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=o1rvs/3JzxoGo9wmZ3g6CY1eQ9wHUz1QS00fvG7n39s=; b=CVyU/xtzbeipVAS9c0OcSzXSFHrc/pdtUJxoYUL2NxyZof9dAc/hCcF4J59S5BuhgA nLk1GOyRhVtv+1irOTymPCmevbNzccXHHHlqVKhsZSm8C/F27dA4pw7AyGscjXjNutkL jRkpHFKXbFqv15i60Sa/J2bL+H+tFJR1asaukAbOUMqKEuqd3cF/wNURkE3WzOzyXy0w sQzKLJxpA4Mwcbk5Ebr7GfuoNczQatw9dbfPcCLTSyAvQDid1toK0QUg2PrIdYL+bD2p eNmuebOxnvvlOgQL4n6PmjhVu5JfhpOT+8vFVkHIebNb5gptqFDhPnn0AX2a5PrjoeO2 4xlg== X-Gm-Message-State: ACrzQf2BIs1vdpTBDntlBSXaXVjBrvAck/upRw7i0CNqHlantxI9pojQ /RAyuzVhesfZYP18tECFetTtWHioc/M= X-Google-Smtp-Source: AMsMyM7is+qZla3PTvgug6XE0DR4BUXl7WjN8fwQxHZXFQbFuMRn/5po5UT19URzqfBCSBwv4FBdkA== X-Received: by 2002:a17:907:3f28:b0:7ad:88f8:7644 with SMTP id hq40-20020a1709073f2800b007ad88f87644mr11508070ejc.738.1667203612512; Mon, 31 Oct 2022 01:06:52 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::89aa]) by smtp.gmail.com with ESMTPSA id g6-20020aa7c586000000b00461c6e8453dsm2924625edq.23.2022.10.31.01.06.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 01:06:51 -0700 (PDT) In-Reply-To: (Dmitry Gutov's message of "Sun, 30 Oct 2022 21:42:46 +0200") 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:246665 Archived-At: On Sun, 30 Oct 2022 at 21:42, Dmitry Gutov wrote: > On 29.10.2022 20:45, Juri Linkov wrote: >>>> 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. > > Augusto, what do you say to that? I'm not quite sure what Juri meant here. If from some project I do C-x p f /tmp RET RET then Emacs opens the /tmp dired buffer (RET twice because REQUIRE-MATCH is 'confirm), as I think it should.