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#58447: [PATCH] In project-find-file, add absolute file name to history Date: Thu, 27 Oct 2022 20:34:18 +0300 Message-ID: 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> <7c28a8f6-fc02-8519-664f-01f7d121d74a@yandex.ru> <87fsf9i4xc.fsf@gmail.com> 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="32334"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cc: Eli Zaretskii , 58447@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 19:38:57 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 1oo6qH-0008Ft-Eg for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 19:38:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo6mZ-00012g-CZ; Thu, 27 Oct 2022 13:35: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 1oo6mU-0000vq-Mt for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:35:04 -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 1oo6mU-0001JG-FP for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo6mU-0003dq-69 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:35: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: Thu, 27 Oct 2022 17:35: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.166689207313935 (code B ref 58447); Thu, 27 Oct 2022 17:35:02 +0000 Original-Received: (at 58447) by debbugs.gnu.org; 27 Oct 2022 17:34:33 +0000 Original-Received: from localhost ([127.0.0.1]:59221 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo6m0-0003ch-Sc for submit@debbugs.gnu.org; Thu, 27 Oct 2022 13:34:33 -0400 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:42677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo6lv-0003cD-8B for 58447@debbugs.gnu.org; Thu, 27 Oct 2022 13:34:27 -0400 Original-Received: by mail-wr1-f46.google.com with SMTP id bp11so3424471wrb.9 for <58447@debbugs.gnu.org>; Thu, 27 Oct 2022 10:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=M8MU19V1hxaV97CQlkfjQ82IC6AcpsBBxu5XgZpflPw=; b=qjYMleuF7Zmlvk0XyGHeFA0rzJtj9okXuvJp6yjk13ievjqrHbxg6Y1voezaNdNbIp LMMrzMTM9T5dGZNuofN7qY0DwVsLITF11I+fGNgqetLhGJ+ZqNgrHNdfkwq/cORqwfhp lxXF2YNMjUnUFxOC0E0CkjlCPvKhlrMv6znWjYaFycFopc1cco3Z2Ycozxleycao/Wjv FUIFof90PUkKFL9wKWomB7z03WUXZABWuUCXaaYU2D9aSSpsJwyAh4JpcAuY24y/XnqU /b2Bxbodoh7sRO6x5X2exlXwFAeF07BtnbFQeReheFR9B1/zAz6p0DFAyBYl84XM5rvu owhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=M8MU19V1hxaV97CQlkfjQ82IC6AcpsBBxu5XgZpflPw=; b=bldLEwyLW+7W9/WBAxlW3jgSPIEBjfZQ9sBb9HvANVbY0qIiJppd1+EBrqRK5y5SrK rP10Z52QZyPfoBJeEk8r/K+r8L1gqKsMI3cMqUdzmZA7n8/nE5Ze2RTwyss3SMI6w+iy Z4OBUANoo87HcXgOZAGZqLaIkWdAL7cNXoCheNY89l2gp+OrrAEfEaqoT9i3CjWoLO/S Xfzxky081EUvgqZrYQGPvlH+nKvarKrpQ/wdoSKTua8LUwIuJaMMNI+T+s8tHA4Tv2Po 7VcWWcjd6ZraoncDrDpHJ9R6F2FuHcN7/RlWmP9i5UbcKU6N85CDMRiQ72wSKdleIHNT NXDQ== X-Gm-Message-State: ACrzQf2OgNNNMaEa4fAlDL97R/tz3qNoC/vBtX0vodNVh/snB+h0K5Sm GBkH4mpsqWD+KUJ0mMzMyyY= X-Google-Smtp-Source: AMsMyM6uF4Re8sEuDlFk/lbNGT+5rSdIzqQ0zPhCGQ4gNuoAnTxioDmzAmAAwAeCwDko+dJmRwXtoA== X-Received: by 2002:adf:f7d2:0:b0:236:87bc:a8f7 with SMTP id a18-20020adff7d2000000b0023687bca8f7mr7993768wrq.579.1666892061217; Thu, 27 Oct 2022 10:34:21 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id v12-20020a05600c15cc00b003c6cd82596esm4793421wmf.43.2022.10.27.10.34.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Oct 2022 10:34:20 -0700 (PDT) Content-Language: en-US In-Reply-To: <87fsf9i4xc.fsf@gmail.com> 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:246345 Archived-At: On 27.10.2022 19:53, Augusto Stoffel wrote: > On Thu, 27 Oct 2022 at 19:48, Dmitry Gutov wrote: > >> On 27.10.2022 19:37, Augusto Stoffel wrote: >>> The patch in my original message fixes this and shouldn't complicate a >>> future implementation of the per-project histories. >> OK. Are you sure that it doesn't add the relative name to the history still? >> >> AFAIU as long as hist is passed to project--completing-read-strict, >> the completing-read call in there will alter the history first. > Note that history-add-new-input is bound to nil at the appropriate > place in the patch. Ah, ok. But how is completing-read using the history var? Only reading past inputs? Can it handle the absolute values there?