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: Thu, 27 Oct 2022 18:53:35 +0200 Message-ID: <87fsf9i4xc.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> <7c28a8f6-fc02-8519-664f-01f7d121d74a@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22408"; 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 Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 18:54:40 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 1oo69Q-0005i3-2Z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 18:54:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo68t-0000by-R3; Thu, 27 Oct 2022 12:54: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 1oo68p-00009h-L4 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:54: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 1oo68p-0003KH-97 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo68o-0002aD-3n for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:54: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: Thu, 27 Oct 2022 16:54: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.16668896259897 (code B ref 58447); Thu, 27 Oct 2022 16:54:02 +0000 Original-Received: (at 58447) by debbugs.gnu.org; 27 Oct 2022 16:53:45 +0000 Original-Received: from localhost ([127.0.0.1]:59157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo68W-0002ZY-Kp for submit@debbugs.gnu.org; Thu, 27 Oct 2022 12:53:44 -0400 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:43751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo68V-0002ZK-K7 for 58447@debbugs.gnu.org; Thu, 27 Oct 2022 12:53:43 -0400 Original-Received: by mail-ed1-f46.google.com with SMTP id i21so3804538edj.10 for <58447@debbugs.gnu.org>; Thu, 27 Oct 2022 09:53:43 -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=UGPp8DShqytZbFayAqlomE3A3HVkLhGW87vWz2DIaDg=; b=oDixXPPBFe0qSjtywBAq2t8HZqa8tvygj/OXvhpFBYl5Htwu4aqAhYMccgT4XUhf57 5F/i0PRHL5TN8egp9AynBxmwD7PAAjvaTo8qZuoW0akXnheVxW7Uk6YE2F0CQB/20Fuz aU3M7DWLUsv8gbffgaUj3Y4OA4G6iyyePW9PdzQvOVExLUPoWPdbYpvRaLX3LKBNbp7Z e51iFStsJBI6RiInSQMeHtrSQj69PBYYMt024XqoQwofPQjGPlgsTXQ44ovXHuFtYVkc +0YAbsCPk7rPf7/0x2y8bLT9Q+drX2y0US9ID84zv00hqoYr1LWiz4BmenZvlyMPXTKn BtXQ== 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=UGPp8DShqytZbFayAqlomE3A3HVkLhGW87vWz2DIaDg=; b=NOw6394q8un83PmUWHQleIIqYsAujH3L5ZmkvesFnncGf0hm0CZ6CbW+L9eDBC71fg yPYB+rkT9+Cj8qViFsewO1kiLbYp4K9OQpFDuu2Cm+Gl+GuV4CCce7GTUEWABVIH9jDQ n+at/30hhX4c1JAVOpCsP3et8zD1qZnulIh4Hqo8TScUtSSTndnPOW3pz/KksLEEOZaX jNmqRG72QqVVLddRdrKOrFdncOW9v/gkJmPXxZoScEKZ+CN2Hynl0xLupNyoLCibjFuC o5ZKUOKU2WSzgywZcLjzTIDjKDWbtXof3og9q58FYZtTFaK7p1NkG6n23jdVUhjIImC/ BItQ== X-Gm-Message-State: ACrzQf24lZHr0cClZfGBEQBhgImeZPbVXcXzbJHsDTz7F20F86N6COFY 19+m/NS+dNbJp8kIQPQCe3yktzSibm8= X-Google-Smtp-Source: AMsMyM618qyWcuM5JAmr2l5/BuHab5Q+8pwrvlAO6l236t0VatA/Q51OUP6ZIrIJJT97zgk/6Eip9g== X-Received: by 2002:a50:fe99:0:b0:45c:329a:40f6 with SMTP id d25-20020a50fe99000000b0045c329a40f6mr46630208edt.425.1666889617199; Thu, 27 Oct 2022 09:53:37 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::89aa]) by smtp.gmail.com with ESMTPSA id 9-20020a170906200900b007306a4ecc9dsm1067232ejo.18.2022.10.27.09.53.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 09:53:36 -0700 (PDT) In-Reply-To: <7c28a8f6-fc02-8519-664f-01f7d121d74a@yandex.ru> (Dmitry Gutov's message of "Thu, 27 Oct 2022 19:48:10 +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:246334 Archived-At: 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.