From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 04 20:53:16 2023 Received: (at submit) by debbugs.gnu.org; 5 Feb 2023 01:53:16 +0000 Received: from localhost ([127.0.0.1]:43691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOUDT-0004xX-8P for submit@debbugs.gnu.org; Sat, 04 Feb 2023 20:53:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:38724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOUDP-0004xM-EI for submit@debbugs.gnu.org; Sat, 04 Feb 2023 20:53:13 -0500 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 1pOUDO-0000Jc-Tv for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 20:53:10 -0500 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOUDL-0006NI-Jo for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 20:53:10 -0500 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-16346330067so11329932fac.3 for ; Sat, 04 Feb 2023 17:53:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=f66pog6Imfdpy+B5xV/q3DYbW7XQhH/8uH3qBZ/PbGg=; b=R5TWYJHFI1HPEho4I344hRZh9GaufR83kaeiLwOuY9hn0ARvhGz8z4ihbISgE462Hq 48GhTp8JX8p/5dqR3AhT9IL/J2K0KBjzoQBLUwqMLIUxbLPjpGlHwGdor7u4hT4boDTS YFrGVwj1YRD/ouKNIPqzqteQ1he90Qhyt53E3lUUDjpF0KoyJfBTRWtvlLHO/it3ADFr nWW1yZIBXgLuRVNJK1ZWDNw1R5bHMhOKXKDJO2ei9wMZ+FxDiJyMAYDTn8cdXStMl5pB vhuOWVyBbNPn2GfHsCZ7vImlLzuolraLq/5u9+RubGSGFJPpjpOai4hdIJr2x7QMqxNp QkDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f66pog6Imfdpy+B5xV/q3DYbW7XQhH/8uH3qBZ/PbGg=; b=RS1vA6fZYRRbdXbu2E2xrAKvg/kqUG7ye6s9nlPlj86N8eUP7NqPuV2EamLyGzEQ+B F0KtVwHrjxPIK9/PRHUW5C0xU+zUKVrm4aFbhXi3MWrDv0/Pim1ux2ubHMnpzZ1XNQ9w /2xL5TSBJ7uzvRXUgNwYqSdmWzdPoUFSd4gitZIUBWrI+VycxCW2+cEnxW0lsCL4Jfwt StY29VqT5CVzooM/gSm8yKnrEBwY7jE77txtuhqOw1OcR2obRZsfBxwIjojj2YCYh33B k8S11epxiYe0Ty+JJVeW9mADpawCTedg7qhin1MmcfdJfxVCB8cvciuuzJcD1qflflzS NxDQ== X-Gm-Message-State: AO0yUKVa7Y2SNmnza+wxHOQTHp9Elk0we8kZoOijYyDjGnA4MvevCr8i y8kcGQ8Q8EMKZ8NGpI7TdFiyWsYvSBA= X-Google-Smtp-Source: AK7set9GwSC5T6y40FhIj6yikEEHx2Q6lEZ2DJyqQMLbthOP57PI0GyS4XdiKCoOeRjj838J1BJVyg== X-Received: by 2002:a05:6870:799:b0:163:b0c5:8808 with SMTP id en25-20020a056870079900b00163b0c58808mr8981755oab.3.1675561983581; Sat, 04 Feb 2023 17:53:03 -0800 (PST) Received: from sekai ([2804:14c:da80:82e2::26e8]) by smtp.gmail.com with ESMTPSA id dw19-20020a056870771300b0016a2c82d77fsm596257oab.1.2023.02.04.17.53.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Feb 2023 17:53:03 -0800 (PST) From: Fernando de Morais To: bug-gnu-emacs@gnu.org Subject: 28.2; No visible candidates after toggle icomplete-vertical-mode Date: Sat, 04 Feb 2023 22:51:50 -0300 Message-ID: <87k00wj2vd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4860:4864:20::34; envelope-from=fernandodemorais.jf@gmail.com; helo=mail-oa1-x34.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) To reproduce, which is possible with 'emacs -Q', please: 1. Evaluate the following snippet: (progn (with-eval-after-load 'icomplete (define-key icomplete-minibuffer-map (kbd "C-v") #'icomplete-vertical-mode) (customize-set-variable 'icomplete-show-matches-on-no-input t)) (icomplete-mode)) 2. C-x C-f 3. C-v (to toggle `icomplete-vertical-mode' while still in the minibuffer). Results in: - Only the first candidate can be seen in the vertical list. Completion works as expected. Quitting and starting a new command, with `icomplete-vertical-mode' still enabled, displays the completion candidates correctly. In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) of 2023-01-02 built on 2 Windowing system distributor 'The X.Org Foundation', version 11.0.12101006 System Description: Arch Linux Configured using: 'configure --with-x-toolkit=gtk3 --with-native-compilation --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --localstatedir=/var --with-cairo --with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_CTYPE: pt_BR.UTF-8 value of $LANG: pt_BR.UTF-8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t corfu-mode: t flymake-mode: t flyspell-mode: t goto-address-prog-mode: t hl-line-mode: t yas-minor-mode: t rainbow-delimiters-mode: t recentf-mode: t savehist-mode: t minions-mode: t movemail-auto-fetch-mode: t marginalia-mode: t icomplete-vertical-mode: t icomplete-mode: t minibuffer-electric-default-mode: t minibuffer-depth-indicate-mode: t display-time-mode: t global-so-long-mode: t electric-pair-mode: t delete-selection-mode: t display-battery-mode: t gcmh-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t hs-minor-mode: t Load-path shadows: None found. Features: (shadow footnote emacsbug sendmail modus-vivendi-theme flow-fill qp smiley gnus-cite mm-archive mail-extr gnus-bcklg embark-org embark-consult embark sort gnus-ml disp-table nnmaildir nnagent nnml nnnil nnrss gnus-topic mairix gnus-dup gnus-draft nndraft nnmh gnus-demon gnus-async gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache flyspell-correct comp comp-cstr etags fileloop pulse color view vc-svn misearch multi-isearch vc denote xref diff shortdoc cl-print help-fns radix-tree org-agenda org-refile consult-org conf-mode vc-git diff-mode vc-dispatcher org-eldoc org-indent image-file image-converter gnutls network-stream url-http url-gw nsm url-cache url-auth ol-eww eww-lnum eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr-tag-pre-highlight language-detection shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs mail-utils ol-docview doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi ob-octave org-superstar org-element avl-tree generator org-contrib org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 ol org-keys oc org-compat advice org-macs org-loaddefs find-func holidays hol-loaddefs cal-menu calendar cal-loaddefs rx consult-icomplete consult bookmark cape-keyword cape mule-util shell pcmpl-args pcmpl-gnu pcmpl-linux pcmpl-unix pcomplete corfu time-date checkdoc lisp-mnt mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr dired-x dired-aux dired dired-loaddefs flymake-proc flymake project compile text-property-search exec-path-from-shell comint ansi-color ring warnings display-line-numbers epa-file epa derived epg rfc6068 epg-config cl-extra flyspell ispell goto-addr hl-line hideshow yasnippet help-mode rainbow-delimiters recentf tree-widget cus-start savehist server minions easy-mmode let-alist ibuf-macs marginalia icomplete minibuf-eldef mb-depth orderless time so-long edmacro kmacro elec-pair delsel format-spec battery dbus xml auth-source-pass modus-operandi-theme modus-themes pcase ffap thingatpt no-littering compat compat-29 gcmh system-packages tex-site info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cus-edit pp cus-load wid-edit cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 895084 241351) (symbols 48 39621 5) (strings 32 192171 41972) (string-bytes 1 7515981) (vectors 16 265054) (vector-slots 8 2938182 234395) (floats 8 91443 671) (intervals 56 30649 1250) (buffers 992 47)) -- Regards, Fernando de Morais. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 05 01:44:38 2023 Received: (at 61286) by debbugs.gnu.org; 5 Feb 2023 06:44:38 +0000 Received: from localhost ([127.0.0.1]:43949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOYlQ-0004Iu-3z for submit@debbugs.gnu.org; Sun, 05 Feb 2023 01:44:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOYlK-0004Ia-Ry; Sun, 05 Feb 2023 01:44:34 -0500 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 1pOYlF-0008Lr-GP; Sun, 05 Feb 2023 01:44:25 -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=WZPuVRcn6P6QgJJC/KgAwF5skstc8kvVvQVL6SbFosM=; b=ES6pyCBv+qyb OjZgOWWiWQyI1L8Fv8BX9FI2gvXplu93o7v/2QrZX52MdVy5BIQxL6S7/RVIfQofiiZjwS4FCZWrA 5OjJmVIdUStECiVIxUD/HZN+W66TAbclsIm2JraTGmyDkbLswRjNfkf/gIGUXRTad5VJy9vAL2nxq MZIv0MD45R+1XC02JaG1RtYiM3ble59cbuY3v+l+kdovz3qOnKKWBzrDRJOdd44g1BnWcMmUrFqqp 4h+eH5volqUq4j5fuMAMTSSm/bBUpvkUS+cNlyzrJGrbtPdkFTJq6HVLNsxbA/uxqA48MFA7EX8qw Pzmvpxq0UZ27d3wS7ZZkSw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOYlE-0007wF-V0; Sun, 05 Feb 2023 01:44:25 -0500 Date: Sun, 05 Feb 2023 08:44:33 +0200 Message-Id: <83tu00sjam.fsf@gnu.org> From: Eli Zaretskii To: Fernando de Morais In-Reply-To: <87k00wj2vd.fsf@gmail.com> (message from Fernando de Morais on Sat, 04 Feb 2023 22:51:50 -0300) Subject: Re: bug#61286: 28.2; No visible candidates after toggle icomplete-vertical-mode References: <87k00wj2vd.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61286 Cc: 61286@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 61286 notabug thanks > From: Fernando de Morais > Date: Sat, 04 Feb 2023 22:51:50 -0300 > > To reproduce, which is possible with 'emacs -Q', please: > > 1. Evaluate the following snippet: > > (progn > (with-eval-after-load 'icomplete > (define-key icomplete-minibuffer-map (kbd "C-v") #'icomplete-vertical-mode) > (customize-set-variable 'icomplete-show-matches-on-no-input t)) > (icomplete-mode)) > > 2. C-x C-f > 3. C-v (to toggle `icomplete-vertical-mode' while still in the minibuffer). > > Results in: > > - Only the first candidate can be seen in the vertical list. > > Completion works as expected. Quitting and starting a new command, with > `icomplete-vertical-mode' still enabled, displays the completion > candidates correctly. 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 05 07:01:18 2023 Received: (at 61286) by debbugs.gnu.org; 5 Feb 2023 12:01:18 +0000 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 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 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) 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) From: Fernando de Morais To: Eli Zaretskii Subject: Re: bug#61286: 28.2; No visible candidates after toggle icomplete-vertical-mode References: <87k00wj2vd.fsf@gmail.com> <83tu00sjam.fsf@gnu.org> Date: Sun, 05 Feb 2023 09:01:03 -0300 In-Reply-To: <83tu00sjam.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Feb 2023 08:44:33 +0200") Message-ID: <87a61siao0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61286 Cc: 61286@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 05 07:04:05 2023 Received: (at 61286-done) by debbugs.gnu.org; 5 Feb 2023 12:04:05 +0000 Received: from localhost ([127.0.0.1]:44240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdka-00073n-UJ for submit@debbugs.gnu.org; Sun, 05 Feb 2023 07:04:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOdkZ-00073J-1b for 61286-done@debbugs.gnu.org; Sun, 05 Feb 2023 07:04:03 -0500 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 1pOdkT-0003eE-IH; Sun, 05 Feb 2023 07:03:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=nE2RM50vDNFdx5e8QcgPvw5xWew6b+ZMVvTuGXYGWlc=; b=XT5c4jSkOkNRAM8etgeJ KXdiqvITG7G7o5/pXmmGGlQI4LAzEAI6ShPsDbFzNQv/i705mxu8n24aIs+HD+h7mA9ve260P8eAA jhvr5jKpbMbaybJIcTRAwmeDaqbw6hjGzQhlX3O2ORFeBMX57ywaZXeqc7F5qQwrRFN2GgX1VEk8f OVOk84N95erS0+6TPHtpl5B+dRmXqK/QzCvSxIdOELaqA+5UQvZhbalgvpLJqRlaa1QCX8aMcP0l/ 8nx21hrPgEK+acwaj3cI38+gyCzznPO6D3vaRdaTSnkGd5WRtqOHs0K3Hzi32NePsLQwYW6rejqZ9 J8IDjjV6kJD8Iw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOdkS-0002BR-Ux; Sun, 05 Feb 2023 07:03:57 -0500 Date: Sun, 05 Feb 2023 14:04:07 +0200 Message-Id: <837cwws4i0.fsf@gnu.org> From: Eli Zaretskii To: Fernando de Morais In-Reply-To: <87a61siao0.fsf@gmail.com> (message from Fernando de Morais on Sun, 05 Feb 2023 09:01:03 -0300) Subject: Re: bug#61286: 28.2; No visible candidates after toggle icomplete-vertical-mode References: <87k00wj2vd.fsf@gmail.com> <83tu00sjam.fsf@gnu.org> <87a61siao0.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61286-done Cc: 61286-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Fernando de Morais > Cc: 61286@debbugs.gnu.org > Date: Sun, 05 Feb 2023 09:01:03 -0300 > > Thanks for explaining the behavior of the `icomplete-vertical-mode' > setup. I'll adjust my configurations accordingly. 🤝 Thanks, I'm therefore closing this bug report. From unknown Thu Jun 19 14:18:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 05 Mar 2023 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator