From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#51575: 28.0.60; Many issues with icomplete-in-buffer Date: Mon, 27 Feb 2023 20:44:23 +0200 Organization: LINKOV.NET Message-ID: <86a60zaqyg.fsf@mail.linkov.net> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5406"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 51575@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 27 19:47:41 2023 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 1pWiXE-00018N-Ec for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Feb 2023 19:47:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWiWn-0007W8-W6; Mon, 27 Feb 2023 13:47:14 -0500 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 1pWiWf-0007T5-Uf for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 13:47:10 -0500 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 1pWiWb-0007FZ-VA for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 13:47:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWiWb-0002yM-Rb for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2023 13:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2023 18:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51575 X-GNU-PR-Package: emacs Original-Received: via spool by 51575-submit@debbugs.gnu.org id=B51575.167752356411320 (code B ref 51575); Mon, 27 Feb 2023 18:47:01 +0000 Original-Received: (at 51575) by debbugs.gnu.org; 27 Feb 2023 18:46:04 +0000 Original-Received: from localhost ([127.0.0.1]:48781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWiVf-0002wR-Lu for submit@debbugs.gnu.org; Mon, 27 Feb 2023 13:46:03 -0500 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:54431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWiVd-0002vl-RP; Mon, 27 Feb 2023 13:46:02 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 569784000A; Mon, 27 Feb 2023 18:45:55 +0000 (UTC) In-Reply-To: (Carlos Pita's message of "Tue, 2 Nov 2021 19:41:06 -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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256897 Archived-At: close 51575 30.0.50 thanks > I would like to use fido-mode in completion in-region / at-point > contexts. I realized there is a icomplete-in-buffer flag that is > intended to do that, at least for icomplete. So I started emacs with: > > (setq icomplete-in-buffer t) > (icomplete-mode 1) > > But the behavior is erratic to say the best. Say I'm in *scratch* and > want to autocomplete some symbol: > > 1. Doing M- once shows the icomplete menu, doing it again replaces > the *entire* buffer contents with just the selection. > > 2. Sometimes only the icomplete menu is shown, sometimes the traditional > *Completions* buffer is shown at the same time. > > 3. Pressing Enter doesn't select the candidate but inserts Enter. > > 4. If I enable fido-mode it disables and re-enables icomplete-mode but > leaves the icomplete completion-in-region-mode-hook uninstalled, > disregarding icomplete-in-buffer. > > Maybe this is a legacy option that should be made obsolete, but it's a > pity that vanilla emacs provides so many alternatives for > completing-read but none for completion-at-point. The current > implementation wants to show the menu at point, this probably makes it > more complex, but simply showing the standard minibuffer icomplete > interface at the bottom would be a lot (like for example selectrum > does). Thanks for the bug report. This is fixed now in Emacs 30 for icomplete-mode and fido-mode.