From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#53593: 29.0.50; tramp-setup-debug-buffer completion-predicate Date: Fri, 28 Jan 2022 01:16:50 +0100 Message-ID: <87sft83ea5.fsf@telefonica.net> 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="37649"; mail-complaints-to="usenet@ciao.gmane.io" To: 53593@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 28 01:18:12 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 1nDExv-0009an-R5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 01:18:11 +0100 Original-Received: from localhost ([::1]:41582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDExu-00018W-Sl for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Jan 2022 19:18:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDExm-00018O-Ub for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 19:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDExm-0000JD-LB for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 19:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDExm-0007C4-Ic for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 19:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jan 2022 00:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53593 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.164332902527565 (code B ref -1); Fri, 28 Jan 2022 00:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Jan 2022 00:17:05 +0000 Original-Received: from localhost ([127.0.0.1]:56888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDEwq-0007AX-BJ for submit@debbugs.gnu.org; Thu, 27 Jan 2022 19:17:04 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:43082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDEwm-00079s-Vw for submit@debbugs.gnu.org; Thu, 27 Jan 2022 19:17:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDEwm-0000hH-HW for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 19:17:00 -0500 Original-Received: from relayout03.e.movistar.es ([86.109.101.203]:53639 helo=relayout03-redir.e.movistar.es) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDEwj-0000Bl-5Z for bug-gnu-emacs@gnu.org; Thu, 27 Jan 2022 19:16:59 -0500 Original-Received: from sky (234.red-88-17-68.dynamicip.rima-tde.net [88.17.68.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout03.e.movistar.es (Postfix) with ESMTPSA id 4JlJ0z27hMzMlbR for ; Fri, 28 Jan 2022 01:16:50 +0100 (CET) X-TnetOut-Country: IP: 88.17.68.234 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout03 X-TnetOut-MsgID: 4JlJ0z27hMzMlbR.A636B X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1643933812.40824@iR7K+SmmKSvf8cG0OACE8w Received-SPF: softfail client-ip=86.109.101.203; envelope-from=ofv@wanadoo.es; helo=relayout03-redir.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no 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:225410 Archived-At: With read-extended-command-predicate set to command-completion-default-include-p, after M-x toggle-debug-on-error, while composing an e-mail, an error message pops out when I type M-x tramp[TAB]: (args-out-of-range # 1 10) The trace is: Debugger entered--Lisp error: (args-out-of-range # 1 = 10) tramp-debug-buffer-command-completion-p(tramp-setup-debug-buffer #) command-completion-default-include-p(tramp-setup-debug-buffer #) #f(compiled-function (sym) #)(tramp-setup-de= bug-buffer) #f(compiled-function (sym) #)(tramp-setup-deb= ug-buffer) try-completion("tra" [## magit-section-show-headings vc-src-responsible-p= Read\ manual archive-proper-file-start dashboard-ls archive--file-desc-mod= e ivy-explorer speedbar-check-vc-this-line access-label magit-patch-save c-= electric-lt-gt pcomplete-stub c-state-min-scan-pos zmq LaTeX-after-insert-e= nv-hook znc magit-xref-insert-button js--find-newline-backward gnus-agent-g= roup-covered-p pdf-view-mode-abbrev-table smiley-directory eshell-return-ex= its-minibuffer transient:magit-diff-refresh:--irreversible-delete autoload-= find-file pdf-outline-mouse-display-link smie-config--guess-value gnus-summ= ary-show-article-from-menu-as-charset-ebcdic-int LaTeX-math-Theta gnus-serv= er-compact-server nexus byte-condition-case :mac xref--push-markers mhtml--= submode-keymap nswbuff evil-exit-visual-and-repeat org-agenda-regexp-filter= -preset EVENT-RESOLUTION-UNREAD-P org-agenda-menu-show-matcher nnmail-messa= ge-id-cache-file discard-new article-fill-long-lines smime-buffer-as-string= -region zoo svn-status-line-format Noto\ Sans\ Gurmukhi gwene\.agency\.caus= al\.text stack-mode js--split-name ...] #f(compiled-function (sym) #)) complete-with-action(nil [## magit-section-show-headings vc-src-responsib= le-p Read\ manual archive-proper-file-start dashboard-ls archive--file-desc= -mode ivy-explorer speedbar-check-vc-this-line access-label magit-patch-sav= e c-electric-lt-gt pcomplete-stub c-state-min-scan-pos zmq LaTeX-after-inse= rt-env-hook znc magit-xref-insert-button js--find-newline-backward gnus-age= nt-group-covered-p pdf-view-mode-abbrev-table smiley-directory eshell-retur= n-exits-minibuffer transient:magit-diff-refresh:--irreversible-delete autol= oad-find-file pdf-outline-mouse-display-link smie-config--guess-value gnus-= summary-show-article-from-menu-as-charset-ebcdic-int LaTeX-math-Theta gnus-= server-compact-server nexus byte-condition-case :mac xref--push-markers mht= ml--submode-keymap nswbuff evil-exit-visual-and-repeat org-agenda-regexp-fi= lter-preset EVENT-RESOLUTION-UNREAD-P org-agenda-menu-show-matcher nnmail-m= essage-id-cache-file discard-new article-fill-long-lines smime-buffer-as-st= ring-region zoo svn-status-line-format Noto\ Sans\ Gurmukhi gwene\.agency\.= causal\.text stack-mode js--split-name ...] "tra" #f(compiled-function (sym= ) #)) #("tra" #f(co= mpiled-function (sym) #) nil) completion-basic-try-completion("tra" # #f(compiled-function (sym) #) 3) #f(compiled-function (style) #)(basic) completion--some(#f(compiled-function (style) #) (basic partial-completion emacs22)) completion--nth-completion(1 "tra" # #f(compiled-function (sym) #) 3 (metadata (affixation-function . read-extended-command--affixatio= n) (category . command))) completion-try-completion("tra" # #f(compiled-function (sym) #) 3 (metadata (affixation-function . read-extended-command--affixation) = (category . command))) completion--do-completion(5 8) completion--in-region-1(5 8) #f(compiled-function (start end collection predicate) #)(5 8 # #f(compiled-function (sym) #)) apply(#f(compiled-function (start end collection predicate) #) (5 8 # #f(compiled-function (sym) #))) #f(compiled-function (funs global args) #)(ni= l nil (5 8 # #f= (compiled-function (sym) #))) completion--in-region(5 8 # #f(compiled-function (sym) #)) completion-in-region(5 8 # #f(compiled-function (sym) #)) minibuffer-complete() funcall-interactively(minibuffer-complete) command-execute(minibuffer-complete) completing-read-default("M-x " # #f(compiled-function (sym) #) t nil extended-command-history nil nil) completing-read("M-x " # #f(compiled-function (sym) #) t ni= l extended-command-history nil nil) 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) command-execute(execute-extended-command) The problem is not consistent, the only semi-pattern I've found so far is that it happens when the e-mail being composed is a reply. Without setting on debug-on-error the problem is hidden by this code in `read-extended-command': ;; Don't let bugs break M-x completion; interpret ;; them as the absence of a predicate. (condition-case-unless-debug err (funcall read-extended-command-predicate sym buffe= r) (error (message "read-extended-command-predicate: %s= : %s" sym (error-message-string err)))))))) In GNU Emacs 29.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo versio= n 1.16.0) of 2022-01-14 built on sky Repository revision: d29291d665e808307126bf52c3e748fef78f0f9c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --with-native-compilation --without-toolkit-scroll-bars --with-x-toolkit=3Dlucid --with-modules --without-imagemagick' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LANG: C locale-coding-system: nil Major mode: ELisp/l Minor modes in effect: bug-reference-prog-mode: t window-highlight-mode: t global-git-commit-mode: t evil-owl-mode: t buffer-flip-mode: t evil-leader-mode: t evil-paredit-mode: t shell-dirtrack-mode: t evil-mode: t evil-local-mode: t windmove-mode: t pdf-occur-global-minor-mode: t TeX-PDF-mode: t paredit-mode: t display-fill-column-indicator-mode: t which-key-mode: t iscroll-mode: t global-anzu-mode: t anzu-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t