From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#38992: 27.0.60; when enabled, fido-mode seems to break vc-git-grep Date: Thu, 5 Mar 2020 15:40:07 +0200 Message-ID: References: <288610218.111246.1578330546916@office.mailbox.org> <83blqik9wv.fsf@gnu.org> <838slhglog.fsf@gnu.org> <21dc455e-b56e-3971-86f2-4773a57be64b@yandex.ru> <84206f04-6947-1440-9138-a950dfecb63a@yandex.ru> <2c5f6c44-7ca3-f1c9-d18d-3bf0d65548b9@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="68057"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: 38992@debbugs.gnu.org, Stefan Monnier , waah@yellowfrog.io To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 05 14:41:57 2020 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 1j9qlA-000HaI-B6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Mar 2020 14:41:56 +0100 Original-Received: from localhost ([::1]:49268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9ql9-0000mf-Ai for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Mar 2020 08:41:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52778) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9qkJ-0007je-EQ for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 08:41:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9qkH-0002B8-Vx for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 08:41:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36371) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9qkH-0002B3-Sm for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 08:41:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9qkH-0003Ws-Q2 for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2020 08:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Mar 2020 13:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38992 X-GNU-PR-Package: emacs Original-Received: via spool by 38992-submit@debbugs.gnu.org id=B38992.158341561913510 (code B ref 38992); Thu, 05 Mar 2020 13:41:01 +0000 Original-Received: (at 38992) by debbugs.gnu.org; 5 Mar 2020 13:40:19 +0000 Original-Received: from localhost ([127.0.0.1]:42344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9qja-0003Vp-Pv for submit@debbugs.gnu.org; Thu, 05 Mar 2020 08:40:19 -0500 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:34455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9qjY-0003Vb-Tj for 38992@debbugs.gnu.org; Thu, 05 Mar 2020 08:40:17 -0500 Original-Received: by mail-wr1-f52.google.com with SMTP id z15so7099453wrl.1 for <38992@debbugs.gnu.org>; Thu, 05 Mar 2020 05:40:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=z8cfrMHMqEWvBUqb2/cLRP/WjEuixlNurq2ja+p5QY4=; b=IeFgByQa1+u6q9DNsxRNEpNxDGjEyaRyc/rFXzOnFvOCn+C1hns1+h8e6+E2nUp/XL x0o8ChVg6/wFUfDxXIchUOw8AoPvFOn7XG+BxP9vNVr4p8lZH3OYL166zKFAreFzxsL5 OsxY4zT6tyKjBWIIHY45Tk73YOWEbAIn2Bux4beSNYvmfKb8DI8u8EE39BuvRTWbw9+h Zay3FyjbhVe/YXDu9cP6xVvn8D59oqrrZK+bFdBgixBL8GdD/2hHmONVAplkAz9H7Ew1 /Wbux3haCI40HKaiDaEH4Qpe5gQTd1a45uHEMQMt2A+GKm2v44J8l6Ud1IPrc8zx8n0T kktw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=z8cfrMHMqEWvBUqb2/cLRP/WjEuixlNurq2ja+p5QY4=; b=dbpEndG0DPw6/0W2DMO/tjsQx2EqpUALbR9h4w8yhgVmadQk96+dp7zzl6feGeLnyQ +X7KyRCh0/kh27mKgP3eJKfj9dsQxm71cTbTxdl0fFSvVh4prSNP8SCm/jRPRrC45RvE 3QSt25qWfKf41oJDiyFmRIKOyw5gnQ2YVpEhMl5/QRlhz4rR3yQc2VDUd0kzZkOY9ULL sk0yOWHL/T91ZG9sj8VpI+XKIeh7Nm+cda8eLE4geE7alJtQ7S7HrlA/Pz8W0mNmN2oq Lv+xNckklG7pvcbTcEb0AwJ/1PbIsWOxNTTvcI3A5PsWf2eJWjj+k5dxMECbOi5cOQZz 3lQA== X-Gm-Message-State: ANhLgQ0zGGEUYrBSJbauI6cvxeCvhQa/qXolngVrA3z7u7lZ1OzGjcNQ oWezTOUwrZhUd8tbjm9Q1WI= X-Google-Smtp-Source: ADFU+vtNZOJ2Lnochzu1W680eBUrkWgMkG/Ec5xaH9KW08eWGJjFkqy5gaGrIigiI5U3CyCjTEniIw== X-Received: by 2002:a5d:68ce:: with SMTP id p14mr10136466wrw.315.1583415610857; Thu, 05 Mar 2020 05:40:10 -0800 (PST) Original-Received: from [192.168.0.155] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id t124sm10000555wmg.13.2020.03.05.05.40.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2020 05:40:09 -0800 (PST) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176902 Archived-At: On 05.03.2020 14:30, João Távora wrote: > And when they use that "out", and the program behaves randomly, they'll > get annoyed, file confusing bug reports, etc. Why would we want that? > > > Any of those things are better than the feeling of being trapped in a > UI. First: I disagree with that assessment. Second: trapped by the UI or not, we are still limited by what values the program that called completing-read is prepared to handle. > And anyway, they're really unlikely, who would use the > finger-contorting atomic option without knowing exactly what they're > doing?  We can even add a warning message, or even a prompt, if > you feel so strongly. If still object, at least I would mention in the > keymap's docstring how to add such a thing. I mean... if your idea of an "out" is to give it a "finger-contorting" binding and a secret password, of course that's unlikely to cause many problems. I don't know how (or why) to add instructions to the docstring for something that we advise against doing, though. What phrasing to use, etc. But the "how to do it" is very easy: add an 'exit-minibuffer' binding to icomplete-fido-mode-map. > Do you have a specific scenario in mind where it would help? > > > Well, as I said I do remember binding M-j to it for this specific > circumstance, but that's before your fix (which I am still to try out). Please do when you have the time. And also, here's a thought: anytime you feel like using 'exit-minibuffer' to counter the REQUIRE-MATCH=t argument, that should probably be accompanied by a patch to the caller function to change that argument to nil.