From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#73820: 31.0.50; [Feature Request]how to hide *Completions* buffer when icomplete-in-buffer is not nil Date: Wed, 16 Oct 2024 18:13:41 +0800 Message-ID: <874j5c9wyy.fsf@melete.silentflame.com> References: <86ldyp5nb2.fsf@mail.linkov.net> <877ca8c02f.fsf@melete.silentflame.com> <86cyk0r4rr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29035"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: eliz@gnu.org, 73820@debbugs.gnu.org, jixiuf@qq.com, Juri Linkov To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 16 12:15:00 2024 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 1t113S-0007JS-4k for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Oct 2024 12:14:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t113E-0007Vj-Qt; Wed, 16 Oct 2024 06:14:44 -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 1t113D-0007VY-DX for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2024 06:14:43 -0400 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 1t113D-00017A-46 for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2024 06:14:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=CRUTxP26tLSd+flKTLTxiRFpF82efDyncEWuVZviN6s=; b=mZEZJdWWyvY7mpQQnAZuV0fLDSqxFZhKRnnupuXd0pFid7ly5CS6lxSObm/RJ6gI+kkYkUytCxvlZZ2BJS6pte9eVwuv0BI9DfdFCsEBNyq3UrDtVs9i7hBrcNrRYpCZ3O6LGilF9iIcl8yhSaX7Ifquf0aelB7g/UCIA/0eQ+gFMtsFgc82WoTvzZJMhIIfh6WxZEixfRL4qus0pkAizkh5mwCyqVpjJO5VRnE/n9iOVy+gaF+6Qy9HnbO5OAzoVta+xyHp+KY4i/tXXtAl7DiM4mcLRJGLLIh2VLtnWxtu/1Yx/NEQAapADI4OAHj0+uyZaXGzU/bx9Op96EWcDA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t113W-0000QS-9c for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2024 06:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Oct 2024 10:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73820 X-GNU-PR-Package: emacs Original-Received: via spool by 73820-submit@debbugs.gnu.org id=B73820.17290736541559 (code B ref 73820); Wed, 16 Oct 2024 10:15:02 +0000 Original-Received: (at 73820) by debbugs.gnu.org; 16 Oct 2024 10:14:14 +0000 Original-Received: from localhost ([127.0.0.1]:58652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t112k-0000P4-BE for submit@debbugs.gnu.org; Wed, 16 Oct 2024 06:14:14 -0400 Original-Received: from sendmail.purelymail.com ([34.202.193.197]:42480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t112i-0000Op-Ac for 73820@debbugs.gnu.org; Wed, 16 Oct 2024 06:14:13 -0400 DKIM-Signature: a=rsa-sha256; b=j4oCZiq0dkhh9LJRF9rJ9rrqE/XK/d50uA8YWAM3HxHFOnKGvA1FniJcbATNGHj4zakgBb3gHPakthbyldLLYhcTtwKawTsclDAo92eGt4iYG+6+jKY+wnfbzHS4pM8DT7o4IEv59xl1Td2U6wR8OUS6RMVDhwNDhN6WjXwNaq9zkm9LwPWZX6166n846Hx4xZfkr41FrHoqwQwS4mc4wjsRc9hZlR/xHAe9GDUxyFhhbgW7CcUTy9WqgWXC/pc3PoMio1aHybmP5Rd8tmvVpyWrA3N557OXgCIyIiIAGq9t13sa8kCUCs+O4Z4bs/LL/GvTzsz4ri5KkYeWQEVMPA==; s=purelymail1; d=spwhitton.name; v=1; bh=+g3JxLbTBST0pVJWUbdZNqqb8Y3jbI2NL4pbRbbx0AI=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=fEDo0RzP6Z37n06PrASkhck47AwqwiER3F7XNYV8kLcM6f8JBWWVo4IA4+NYm9D3PaZcL398Z/ftxN5BN8YtSSyYlrRz/q0mXBj4OaqUQIjmLs4l5tr2UmiUuA3hdxzTu+gI/Mz0yQVZcAHa2zhOt4NeJa7dmh/Mp1a4ibW1JOWe6zcufFp7OAWGN/JJauixrdlBMQvztdC7/BV5FMPY7jfVd7CEa3UxrH6EXPg97lRtLn7wZYS+IogvK9cDdDmYpAqA0Sxm9/+ip2YaOcliZsZoLngB2U71EDcx4ppXZUw8g0lRr038ANzEgbBhe6nl7RHNk+ust/AIuOu5ANSq1A==; s=purelymail1; d=purelymail.com; v=1; bh=+g3JxLbTBST0pVJWUbdZNqqb8Y3jbI2NL4pbRbbx0AI=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 73820@debbugs.gnu.org Original-Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 197052152; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 16 Oct 2024 10:13:45 +0000 (UTC) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id F38A67EA707; Wed, 16 Oct 2024 18:13:41 +0800 (CST) In-Reply-To: (Eshel Yaron's message of "Wed, 16 Oct 2024 09:37:19 +0200") 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:293668 Archived-At: Hello, On Wed 16 Oct 2024 at 09:37am +02, Eshel Yaron wrote: > Hmm, I'm not sure that that's really such a good recommendation. Adding > this advice breaks M-: completion, for example. I think a more refined > solution is due, if this is to be considered a supported use case... > Namely, I suggest implementing icomplete-in-buffer as a > completion-in-region-function, like some other in-buffer completion > frontends are implemented. If you were to look into that change, I would be very happy to review. -- Sean Whitton