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#67661: 30.0.50; *Completions* has started popping up for icomplete-in-buffer Date: Tue, 19 Dec 2023 19:29:14 +0200 Organization: LINKOV.NET Message-ID: <86il4ut85p.fsf@mail.linkov.net> References: <87o7f3e4cb.fsf@melete.silentflame.com> <83wmtr2mye.fsf@gnu.org> <87lea3wpai.fsf@zephyr.silentflame.com> <8334wby0bq.fsf@gnu.org> <83y1e3wia7.fsf@gnu.org> <87sf4buzpc.fsf@zephyr.silentflame.com> <86edfv9tuz.fsf@mail.linkov.net> <87fs0burie.fsf@zephyr.silentflame.com> <86msuihxwl.fsf@mail.linkov.net> <87r0jtbuq9.fsf@zephyr.silentflame.com> <865y147vbu.fsf@mail.linkov.net> <871qbnodjd.fsf@zephyr.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18979"; 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: 67661@debbugs.gnu.org, Eli Zaretskii , Eshel Yaron , 67001@debbugs.gnu.org To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 19 18:53:29 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 1rFeHY-0004nJ-SY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Dec 2023 18:53:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFeHA-0004fZ-4x; Tue, 19 Dec 2023 12:53:04 -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 1rFeH8-0004ep-BO for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2023 12:53:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFeH6-0004R6-El for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2023 12:53:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFeH9-0007ot-4j for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2023 12:53:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Dec 2023 17:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67661 X-GNU-PR-Package: emacs Original-Received: via spool by 67661-submit@debbugs.gnu.org id=B67661.170300834329931 (code B ref 67661); Tue, 19 Dec 2023 17:53:03 +0000 Original-Received: (at 67661) by debbugs.gnu.org; 19 Dec 2023 17:52:23 +0000 Original-Received: from localhost ([127.0.0.1]:37278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFeGU-0007ma-Eq for submit@debbugs.gnu.org; Tue, 19 Dec 2023 12:52:22 -0500 Original-Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]:36001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFeGS-0007mB-Gq; Tue, 19 Dec 2023 12:52:20 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 8394D1BF205; Tue, 19 Dec 2023 17:52:10 +0000 (UTC) In-Reply-To: <871qbnodjd.fsf@zephyr.silentflame.com> (Sean Whitton's message of "Fri, 15 Dec 2023 12:28:38 +0000") X-GND-Sasl: juri@linkov.net 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:276533 Archived-At: >>>> (completion--in-region-1 start end) >>>> >>>> If you just remove this line from `completion--in-region` then >>>> it should work like you expected without popping up *Completions*. >>> >>> Thanks, that does indeed restore the behaviour. >>> >>> Should we change this to a different completion-in-region-function in >>> icomplete.el, then? Or what did you have in mind? >> >> What I think is that ideally icomplete-in-buffer in a regular buffer >> should work like in the minibuffer, i.e. to be active all the time. >> This is more like completion-preview-mode where in-buffer candidates >> are shown as you type, whereas explicitly typing M-C-i pops up >> the *Completions* buffer. Do you agree this would be nice to do? > > Hmm. This is an interesting idea. I don't think it would suit me, > though -- it sounds like it would be quite visually noisy. Do you think > we can provide both? Both are already shown: M-C-i pops up the *Completions* buffer and activates in-buffer candidates. If you want M-C-i only to activate in-buffer candidates, then the line above should be removed from `completion--in-region`.