From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#55430: 29.0.50; choose-completion errors when completion-show-help and completions-header-format are nil Date: Sun, 15 May 2022 21:59:56 +0530 Message-ID: <87sfpa69ob.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26546"; mail-complaints-to="usenet@ciao.gmane.io" To: 55430@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 15 18:31:15 2022 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 1nqH9G-0006hE-Nf for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 May 2022 18:31:14 +0200 Original-Received: from localhost ([::1]:47416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqH9F-0004ev-H6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 May 2022 12:31:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqH94-0004eX-Ut for bug-gnu-emacs@gnu.org; Sun, 15 May 2022 12:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56627) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqH94-0007TX-K2 for bug-gnu-emacs@gnu.org; Sun, 15 May 2022 12:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqH94-0003QT-FY for bug-gnu-emacs@gnu.org; Sun, 15 May 2022 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 May 2022 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55430 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165263221113035 (code B ref -1); Sun, 15 May 2022 16:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 May 2022 16:30:11 +0000 Original-Received: from localhost ([127.0.0.1]:50523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqH8E-0003O5-7m for submit@debbugs.gnu.org; Sun, 15 May 2022 12:30:11 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:56436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqH8C-0003Nr-4p for submit@debbugs.gnu.org; Sun, 15 May 2022 12:30:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqH8B-0004WM-Qe for bug-gnu-emacs@gnu.org; Sun, 15 May 2022 12:30:07 -0400 Original-Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:46835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqH88-0007By-Pv for bug-gnu-emacs@gnu.org; Sun, 15 May 2022 12:30:07 -0400 Original-Received: by mail-pf1-x442.google.com with SMTP id j6so11952930pfe.13 for ; Sun, 15 May 2022 09:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=HzlT1ha6Vk7I8rxFSx6XNH2uK7ntnz1QJNu3bD4e8O8=; b=U2f8lfX/dfTszLbG4pGQNKTgJWRtTR3cdUMMpTy2EqwgOSW8qqQam/Zj1Wl6QjVMiT x8BAySSb2xr8xsCd5rQ/cKxhxN6JqWz3IuWeafffUsr3Zit1EoIGoUqss++43JPmXaAP Peipn6e8iNQtN9iG4fu3pVQrE/xhzNgMICE/w0syRkTvQEQwL9uXAsrRm3IqroIsQcAS N0z3OqtadXtGllUKwEIYKO7Hc2aIBzZr6h88lKcHksT72XR4egJVGm8Tx2Ab2cn1Hjgq 9qjl0PfVZRyN/UQPN4H96h4pE55PBbhzNgL4/hgvN+22TpTTMtmZern1crbnhBO3WoC2 ln8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=HzlT1ha6Vk7I8rxFSx6XNH2uK7ntnz1QJNu3bD4e8O8=; b=z3AgZdcF+c94Qbqc5aVBSJBHlIQhWjJ6LBFeErMJs7teIzxIUdFFKQrQXLancViqL9 DaldftJluDrvZaebUtLdABz/9PHf9yZ1SUkDwQpQZCQSSJLePxQvJrDkoaeOm5x58GCb Nmbg0xbsZppcAld4IEkenVdElWvjHf9RvGxhHHSlU1tMGXMZQG5/qGik1Em4Ao9QpXE4 Zta0oDg3tPKQdEwl0xxS6ut++3Os1bA37kv/oj7HoXh92Tw3jMsWDCEvj4/Zj5fX87Qh YKJ8JhkSuDR2VAoMb9oTcNVmSF57MfEX3WtpgBGOCizN1IVIRiKyAaR2jPrK7GK+K81G EJbA== X-Gm-Message-State: AOAM530m8g/KlM2VlxMf5fa/83Ch7BjUVTdXZ/u+iN3pVWX5ChNjhtqt m7T53ZvW45DJse/Z93OFH0ByrochIV4= X-Google-Smtp-Source: ABdhPJx62peT5u3ba7beYvzz/fjw+sYJgh0PT3FTN+XUaAwkUjOccG+DguKKYxN3lqVMNo6lHxBQwQ== X-Received: by 2002:a63:df10:0:b0:3db:8bb8:bf01 with SMTP id u16-20020a63df10000000b003db8bb8bf01mr11937895pgg.163.1652632202314; Sun, 15 May 2022 09:30:02 -0700 (PDT) Original-Received: from localhost ([49.204.115.240]) by smtp.gmail.com with ESMTPSA id m1-20020a17090a7f8100b001d97f7fca06sm4843212pjl.24.2022.05.15.09.30.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 May 2022 09:30:01 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::442; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x442.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:232334 Archived-At: To reproduce, 1. emacs -Q 2. M-: (setq completion-show-help nil completions-header-format nil) 3. M-x M-v Note how the cursor is not on the first candidate. If you move to the first candidate, then type RET, it errors with the following backtrace for me. Sorry if this is a duplicate report. Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) get-text-property(nil completion--string) choose-completion(13 nil) funcall-interactively(choose-completion 13 nil) call-interactively(choose-completion nil nil) command-execute(choose-completion) read-from-minibuffer("M-x " nil (keymap (10 . minibuffer-complete-and-exi= t) (13 . minibuffer-complete-and-exit) keymap (menu-bar keymap (minibuf "Mi= nibuf" keymap (tab menu-item "Complete" minibuffer-complete :help "Complete= as far as possible") (space menu-item "Complete Word" minibuffer-complete-= word :help "Complete at most one word") (63 menu-item "List Completions" mi= nibuffer-completion-help :help "Display all possible completions") "Minibuf= ")) (M-down . minibuffer-next-completion) (M-up . minibuffer-previous-compl= etion) (27 keymap (13 . minibuffer-choose-completion) (103 keymap (27 keyma= p (99 . switch-to-completions))) (118 . switch-to-completions)) (prior . sw= itch-to-completions) (63 . minibuffer-completion-help) (32 . minibuffer-com= plete-word) (backtab . minibuffer-complete) (9 . minibuffer-complete) keyma= p (3 keymap (39 . vz/minibuffer-edit-become)) (67108903 . vz/minibuffer-avy= -completions) (8388727 . vz/minibuffer-yank-symbol) (menu-bar keymap (minib= uf "Minibuf" keymap (previous menu-item "Previous History Item" previous-hi= story-element :help "Put previous minibuffer history element in the min..."= ) (next menu-item "Next History Item" next-history-element :help "Put next = minibuffer history element in the minibuf...") (isearch-backward menu-item = "Isearch History Backward" isearch-backward :help "Incrementally search min= ibuffer history backward") (isearch-forward menu-item "Isearch History Forw= ard" isearch-forward :help "Incrementally search minibuffer history forward= ") (return menu-item "Enter" exit-minibuffer :key-sequence "\15" :help "Ter= minate input and exit minibuffer") (quit menu-item "Quit" abort-recursive-e= dit :help "Abort input and exit minibuffer") "Minibuf")) (13 . exit-minibuf= fer) (10 . exit-minibuffer) (7 . abort-minibuffers) (C-tab . file-cache-min= ibuffer-complete) (9 . self-insert-command) (XF86Back . previous-history-el= ement) (up . previous-line-or-history-element) (prior . previous-history-el= ement) (XF86Forward . next-history-element) (down . next-line-or-history-el= ement) (next . next-history-element) (27 keymap (19 . next-matching-history= -element) (18 . previous-matching-history-element) (60 . minibuffer-beginni= ng-of-buffer) (114) (115) (112 . previous-history-element) (110 . next-hist= ory-element))) nil extended-command-history nil nil) completing-read-default("M-x " #f(compiled-function (string pred action) = #) #f(compiled-function (sym) #) t nil extended-command-history nil nil) completing-read("M-x " #f(compiled-function (string pred action) #) #f(compiled-function (sym) #) t nil extended-command-history) read-extended-command() byte-code("\302\30\11\303 \10E)\207" [execute-extended-command--last-type= d current-prefix-arg nil read-extended-command] 3) call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo versio= n 1.16.0, Xaw scroll bars) of 2022-05-15 built on astatine Repository revision: f171a36c0ad7a0b5b69c3d4bad2875c54e2ccdd9 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: NixOS 21.11 (Porcupine) Configured using: 'configure --with-sqlite3 --with-x-toolkit=3Dlucid --with-json --without-gsettings --with-x --without-libsystemd --with-modules' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: ta_IN.UTF-8 value of $LC_NUMERIC: ta_IN.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: recentf-mode: t paredit-mode: t eros-mode: t flymake-mode: t pdf-occur-global-minor-mode: t hl-todo-mode: t minibuffer-depth-indicate-mode: t repeat-mode: t display-time-mode: t display-battery-mode: t winner-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t undelete-frame-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort flyspell ispell goto-addr ecomplete mail-extr reveal noutline outline recentf tree-widget vc-backup log-view pcvs-util vc diff vc-git diff-mode vc-dispatcher dabbrev emacsbug message yank-media rmc puny rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cursor-sensor paredit edmacro kmacro eros time-date checkdoc lisp-mnt flymake-proc flymake project warnings thingatpt wordel-autoloads sokoban-autoloads ement-autoloads ts-autoloads svg-lib-autoloads taxy-magit-section-autoloads taxy-autoloads plz-autoloads nov-autoloads esxml-autoloads kv-autoloads transmission-autoloads lua-mode-autoloads nix-mode-autoloads magit-section-autoloads dash-autoloads racket-mode-autoloads eros-autoloads flymake-shellcheck-autoloads writegood-mode-autoloads siege-mode-autoloads paredit-autoloads puni-autoloads expand-region-autoloads filladapt-autoloads compose quail scroll-other-window org-pdftools-autoloads org-noter-autoloads change-env-autoloads math-delimiters-autoloads doct-autoloads ob-async-autoloads async-autoloads emacs-ob-racket-autoloads valign-autoloads org-starless-autoloads cdlatex-autoloads auctex-autoloads tex-site easy-mmode pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools 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 eieio eieio-core eieio-loaddefs json map url-vars compile comint ansi-color cus-edit hl-todo edebug debug backtrace find-func wid-edit pdf-view password-cache bookmark text-property-search pp jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode dired-x dired dired-loaddefs exif pdf-tools-autoloads tablist-autoloads derived mb-depth cus-load repeat visual-fill-autoloads olivetti-autoloads hl-todo-autoloads time format-spec battery dbus filenotify xml disp-table lacarte-autoloads shell-command-plus-autoloads winner avy ring avy-autoloads vc-backup-autoloads icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs rx filecache flymake-grammarly-autoloads grammarly-autoloads websocket-autoloads finder-inf request-autoloads s-autoloads chemtable-autoloads molar-mass-autoloads pcase straight-autoloads info cl-seq cl-extra help-mode seq byte-opt straight subr-x cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile cconv vz-nh-theme 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 nadvice simple 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 abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 217991 18705) (symbols ?0 20908 2) (strings 32 67297 4592) ( string-bytes 1 2390799) (vectors 16 43547) (vector-slots 8 1137062 84917) ( floats 8 139 ?C) (intervals ?8 568 0) (buffers 992 18))