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 21:05:07 +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> <877d0li2dh.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="30476"; 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 20:06:45 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 1oo7HA-0007ky-Rv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 20:06:44 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo7GX-0002Pf-Py; Thu, 27 Oct 2022 14:06: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 1oo7GV-00022c-H1 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 14:06: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 1oo7GU-0006e6-PM for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 14:06:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo7GU-0004Yl-FS for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 14:06: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 18:06: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.166689391717470 (code B ref 58447); Thu, 27 Oct 2022 18:06:02 +0000 Original-Received: (at 58447) by debbugs.gnu.org; 27 Oct 2022 18:05:17 +0000 Original-Received: from localhost ([127.0.0.1]:59277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo7Fk-0004Xi-WB for submit@debbugs.gnu.org; Thu, 27 Oct 2022 14:05:17 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:41498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo7Fj-0004XS-7z for 58447@debbugs.gnu.org; Thu, 27 Oct 2022 14:05:16 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id w14so3549185wru.8 for <58447@debbugs.gnu.org>; Thu, 27 Oct 2022 11:05:15 -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=zdbtXpL2SxxE1Mkuylnqu6U9afSudZTZHdnkLnoCnPw=; b=CWqyxX36RifcDXHCthoIQFnN/FOmghkZI+y5hLxsivZ3Csct+qlaCFfhdGn1HK8wA9 KOOEl1IW19DXClMU7ftKcF5NuNFGj45zuzwe3GMbYUW6ZZMYBY6X5ER++6yBYNWsqtEB xG+uNR1lzjdSkMW2D0y6SMN6eKY9jDsqo/ucawpsShdw/htj+vETUKEoH1LvSs1BepHr /SKt0t5sDM6pb3kgtXEE7HAYrN/7xBO8t/GuLvhnyGnFDLouIuazwIoZwJwYHdWKwwBh oICAD0k+CulF763VvTplpoGrVfvVZb4aU8CRnRjCGASFviXaCprTOOCPdFIi60uhb1hU 6siw== 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=zdbtXpL2SxxE1Mkuylnqu6U9afSudZTZHdnkLnoCnPw=; b=hLkpJlP8a49e1XkTQLY/kfDpM1gmfu9r+DxBGC4deQVUPT5PtkzmoEVG1/P40UZAYV KF96/KaJKkcRRCOdiKk6a+xfF3lMdYyDC1pHKJbObiPBkwHWLo2BGdxoh+H3qCsXw2+s q9JCOdV5AJVvEzjLSepVNKOlVroYnu0YUlwx8irnnh6x06tYaBjnzT42AqbvWAmB12m4 b6KQGPd1/n+v0fVpkbZLvSOgPYQq4S8DPERwlwd/rlAaWoxgMPfLzTI1Qr+TVNPHWFE4 Wv+kM3p+F9LmtmgeL/bH9F9X5Jb42y7QBPe924x8MynrlMmIFSBRRG0gKKlNINng15Np zRyw== X-Gm-Message-State: ACrzQf1ELO0WC2+fLf7dnBQF600PLgDvHQ9XRdmR8rMuTrdIK97w80/b oMHAp8Ein5k1uzz8too73+Q= X-Google-Smtp-Source: AMsMyM7LYR1/aEzR/eHiqbwtRihFrMh5Qn/upIX3NNw0fmR9cX+SLKM66Ev8poNYSD7Ay4WfJ970vg== X-Received: by 2002:a5d:64cd:0:b0:236:6c69:cf03 with SMTP id f13-20020a5d64cd000000b002366c69cf03mr15762622wri.101.1666893909294; Thu, 27 Oct 2022 11:05:09 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id p15-20020a056000018f00b002258235bda3sm1732978wrx.61.2022.10.27.11.05.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Oct 2022 11:05:09 -0700 (PDT) Content-Language: en-US In-Reply-To: <877d0li2dh.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:246352 Archived-At: On 27.10.2022 20:48, Augusto Stoffel wrote: >> Can it handle the absolute values there? > The completing read reads a file name, the relname; if it's relative, > then it's expanded to an absolute name (the absname). If for whatever > reason the relname was already absolute, then absname will be equal to > relname (what else could you do, right?) The completion table won't match absolute names. But okay, require-match is nil there, so any arbitrary input will be accepted. But what if that absolute name comes from a different project?