From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Fernando de Morais Newsgroups: gmane.emacs.bugs Subject: bug#61286: 28.2; No visible candidates after toggle icomplete-vertical-mode Date: Sun, 05 Feb 2023 09:01:03 -0300 Message-ID: <87a61siao0.fsf@gmail.com> References: <87k00wj2vd.fsf@gmail.com> <83tu00sjam.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26626"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: 61286@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 05 13:02:14 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 1pOdio-0006nN-4c for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Feb 2023 13:02:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOdih-0004xi-VG; Sun, 05 Feb 2023 07:02:07 -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 1pOdic-0004wk-PK for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 07:02:04 -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 1pOdic-0003GY-Cz for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 07:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOdic-0006zu-3B for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 07:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Fernando de Morais Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Feb 2023 12:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61286 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 61286-submit@debbugs.gnu.org id=B61286.167559847826848 (code B ref 61286); Sun, 05 Feb 2023 12:02:02 +0000 Original-Received: (at 61286) by debbugs.gnu.org; 5 Feb 2023 12:01:18 +0000 Original-Received: from localhost ([127.0.0.1]:44228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdht-0006yy-R0 for submit@debbugs.gnu.org; Sun, 05 Feb 2023 07:01:18 -0500 Original-Received: from mail-oo1-f43.google.com ([209.85.161.43]:44805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdhp-0006yi-NT for 61286@debbugs.gnu.org; Sun, 05 Feb 2023 07:01:15 -0500 Original-Received: by mail-oo1-f43.google.com with SMTP id 123-20020a4a0681000000b004faa9c6f6b9so893704ooj.11 for <61286@debbugs.gnu.org>; Sun, 05 Feb 2023 04:01:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=5xoXC/aiY/D9/s0nWDX2hPcWm3UddH5/wHG7flfyGo4=; b=g2YS5V5LwH/OWBoV5gNmMs8WwWuOYAxYoH8M1PYpb5iP2pLKwsgXpjzXKkNEoDhyBB 66XBjAx8yPoN2xHWh5+nerkm9NJSp/boi150die5gyGTdpcB0nOhXO8qxWsuGa7tY/PQ ngKZ6XcEueyYJuwdiwQTRs6ORC7e+jWS16lOQkFesInyWmqZENt0Y3armoaUmVHzhKre 4RyVwVW8+baflofDMkpdms0VTFfaQsV6mj8mBmFxMVkeXSuuF8Be4XRqFeCzDbpldfEk Znal6zVrbRrzdK9rFzDDRGFsG2pcCMzNGkn7C8PwxgI2sloJhsjIvTFeBXV2zwH2hx6u ndMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5xoXC/aiY/D9/s0nWDX2hPcWm3UddH5/wHG7flfyGo4=; b=d0N04hcT9XqLVFZd87FJOBI9dYzU4d8MvaKolWSMA1YIcdkHT3uyJROtKyh5K8zQE6 p/tmd3RQNrbb36xtOP2ExkLqfSbWN7nrYrgkjhygfboS+p1RzhuPb/eS0/iIT6USNmik xL8e/wMtNmJPhs5+vfsXW4BHMLxHMviR3ARfTe0jGE2HoRlgQr4O8oyAeg0YTvoM51uo euaswxLEpN7V4atbBUsIlXVDM1Pjl6jVKN740ujO0a4vI22pvCCnbhP99b/h0PNG/vLQ tzwuDkL40vS5i4ZmEOgTB5QbMcvBLBSdJmuUngHlnKz21+HVfNdgK3JCIgoqSPQV8BLZ ex+A== X-Gm-Message-State: AO0yUKXbmuwDxDRu33WgSGy6VZBzn2VI6YpC9tXMJD8dz/NbajkSiwuP FWckBZgj/HsLizsarJ9dZuEkHCnxm+I= X-Google-Smtp-Source: AK7set+BSx3XOJLrsp/TkT/k/vlWmdl0AzxXj3tkNwza4PtALVlY74UuxavpeY/Na+1eUjelmeSFAQ== X-Received: by 2002:a4a:49ca:0:b0:51a:7265:5055 with SMTP id z193-20020a4a49ca000000b0051a72655055mr1963420ooa.0.1675598467859; Sun, 05 Feb 2023 04:01:07 -0800 (PST) Original-Received: from sekai ([2804:14c:da80:82e2::26e8]) by smtp.gmail.com with ESMTPSA id m26-20020a4ad51a000000b00517425df590sm3204240oos.14.2023.02.05.04.01.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 04:01:07 -0800 (PST) In-Reply-To: <83tu00sjam.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Feb 2023 08:44:33 +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:254845 Archived-At: Hello Eli, Eli Zaretskii writes: > That's because icomplete-vertical-mode adds its own function to > icomplete-minibuffer-setup-hook, but when you invoke C-v in the > minibuffer, that's too late: you already entered the minibuffer, so > the minibuffer is not set up as icomplete-vertical-mode expects. > > To solve this, bind C-v to a command that does what > icomplete--vertical-minibuffer-setup does, in addition to turning on > icomplete-vertical-mode, and then it will work as you expect. Like > this: > > (defun icvsetup () > (interactive) > (setq-local icomplete-hide-common-prefix nil > icomplete-prospects-height 25 > redisplay-adhoc-scroll-in-resize-mini-windows nil) > (icomplete-vertical-mode)) > > (progn > (with-eval-after-load 'icomplete > (define-key icomplete-minibuffer-map (kbd "C-v") #'icvsetup) > (customize-set-variable 'icomplete-show-matches-on-no-input t)) > (icomplete-mode)) > > IOW, this is a cockpit error, not a bug in Emacs. Thanks for explaining the behavior of the `icomplete-vertical-mode' setup. I'll adjust my configurations accordingly. =F0=9F=A4=9D --=20 Regards, Fernando de Morais.