From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74616: 30.0.92; tmm always displays the *Completions* buffer Date: Sun, 08 Dec 2024 09:17:26 +0200 Message-ID: <864j3ehce1.fsf@gnu.org> References: <878qt1w7c6.fsf@daniel-mendler.de> <86wmgl9mfz.fsf@gnu.org> <86ldwrirf1.fsf@gnu.org> <87wmgbftih.fsf@daniel-mendler.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74616@debbugs.gnu.org, monnier@iro.umontreal.ca To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 08 08:18:23 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 1tKBYc-00016O-JV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Dec 2024 08:18:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKBYM-00039h-3B; Sun, 08 Dec 2024 02:18:06 -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 1tKBYJ-00038h-J9 for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 02:18:03 -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 1tKBYI-0007ks-U3 for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 02:18:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=608htOpyeHML/YrpDjj9Coz3pV4R59yAtcHqp9VELuM=; b=ayD/X4IqxC50BH2fORoLtoe1uMKshWgFA7lE+Cj92v6OxB8xBHeuzXdLOEktiFWfA3XX3CAm2XNMi5uTgRr/V3i1TLx6Spyy8njVkYjHYlAhnq/A3mek2yyLlIXl0L5qZ2VZOEipgstT+mTljmM6sc9qgoPtZhZjwbH+YP452P9IlHhIyrgKSQ+VIPF7cMk87RDO5Dh/88tnQ0zi0oP5uj6cEagX2zr44pmtDecBgRXNhc0nVE6/1BubuRT4VA/p9Iph0OW9Eo1UtySYusqdX5Hz5yaXWRl0zvgzudWrIYcmEr7HbKycBSm63Famyeirm3NwMZGp55XHyFALc+Ea0w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKBYI-0000DT-HL for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 02:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Dec 2024 07:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74616 X-GNU-PR-Package: emacs Original-Received: via spool by 74616-submit@debbugs.gnu.org id=B74616.1733642258770 (code B ref 74616); Sun, 08 Dec 2024 07:18:02 +0000 Original-Received: (at 74616) by debbugs.gnu.org; 8 Dec 2024 07:17:38 +0000 Original-Received: from localhost ([127.0.0.1]:49491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKBXt-0000CM-H2 for submit@debbugs.gnu.org; Sun, 08 Dec 2024 02:17:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKBXq-0000C2-TS for 74616@debbugs.gnu.org; Sun, 08 Dec 2024 02:17:36 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKBXk-0007jZ-MU; Sun, 08 Dec 2024 02:17:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=608htOpyeHML/YrpDjj9Coz3pV4R59yAtcHqp9VELuM=; b=HRZYaN9bOsY5 MSTHinneqowJnFVvI5jD/XG36W3lSoNq7n7RkZBdvLHczE5Vi6yQZIBcQELadOMAE4RFc6KEdvFbN 8iN4Jt9fWfSKJypNtcWMhJ/0rHV8gEPtzU78Bn32TQ7qwGHdnycoiHe6UXXFcDxFNvsoVDALmmJp1 D8eaeld1RddkEVwDgMxI9yptUBocXcabqRkN7o3GSkqhKPZugGamAbnc4nku453TV8ZvZ1IP3Sp8H iKTuAZMamOqdc/TZOMMa+N3VeVj5g9wCcdCiC+67o3HVG+GcHYLMzScza5+xzUdU67pG94LCsWE/X icXldED1sA3XZCDuWZKnIQ==; In-Reply-To: <87wmgbftih.fsf@daniel-mendler.de> (message from Daniel Mendler on Sat, 07 Dec 2024 15:38:14 +0100) 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:296618 Archived-At: > From: Daniel Mendler > Cc: Stefan Monnier , 74616@debbugs.gnu.org > Date: Sat, 07 Dec 2024 15:38:14 +0100 > > Eli Zaretskii writes: > > >> From: Stefan Monnier > >> Cc: Daniel Mendler , 74616@debbugs.gnu.org > >> Date: Sat, 30 Nov 2024 13:55:02 -0500 > >> > >> > I think the automatic detection is a better default behavior, but > >> > maybe we could have a variable (not necessarily a defcustom) for users > >> > who would like to have the old behavior. > >> > Stefan, WDYT? > >> > >> I often use the standard UI and I generally don't like this eagerness to > >> display *Completions*, so I'd either change the code not to auto-display > >> the buffer (what I have done locally) or at least offer a variable > >> for that. > >> > >> So it seems like the var should have 3 settings: always show, never > >> show, and "guess" (tho maybe we can skip the "guess" option and let the > >> other completion UIs set the var to nil). > > > > Daniel, would you like to submit the patch with these changes? > > So is the plan to add a completion metadata `eager-display' such that > completion tables can request immediate display? This completion > metadata can then be overridden by the user via > `completion-category-overrides'. The patch would include changes to tmm, > ffap-menu and imenu (obsoleting `imenu-eager-completion-buffer'). AFAIU, both Stefan and myself only commented on the more specific change you suggested originally, not the more general one you described in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74616#11