From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#60021: 29.0.60; Eshell completion errors in the presence of buffer redirects Date: Mon, 12 Dec 2022 23:41:45 +0100 Message-ID: <87cz8ont1y.fsf@gmail.com> References: <87pmconwnw.fsf@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29698"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 60021@debbugs.gnu.org To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 23:42:13 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 1p4rUy-0007Wr-RQ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 23:42:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4rUr-0004YR-2i; Mon, 12 Dec 2022 17:42:05 -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 1p4rUp-0004Ul-B2 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 17:42:03 -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 1p4rUo-0008CB-LJ for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 17:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4rUo-0005E1-H8 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 17:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Dec 2022 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60021 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167088491420077 (code B ref -1); Mon, 12 Dec 2022 22:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 22:41:54 +0000 Original-Received: from localhost ([127.0.0.1]:55888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rUf-0005Dl-Ow for submit@debbugs.gnu.org; Mon, 12 Dec 2022 17:41:54 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:47992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4rUd-0005Df-Op for submit@debbugs.gnu.org; Mon, 12 Dec 2022 17:41:52 -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 1p4rUd-0004MH-G7 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 17:41:51 -0500 Original-Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4rUb-00085O-K5 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 17:41:51 -0500 Original-Received: by mail-ej1-x62f.google.com with SMTP id qk9so32104867ejc.3 for ; Mon, 12 Dec 2022 14:41:49 -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:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=1rMk9EfIZ3jyOl6sgk8vvLwgovUSDcU9VonpbADQiQ4=; b=lMVQndFfwh/wbuYKd1ganZMk5coUJxJyetGUIjS9AfGja5tiHszflqUgihYWWU8+Dj oTC5m3Wx2cE1MuuedtOUOWd1mReVUagr1SlQRb3UmigpjuuRpV4nbVUyo7oqVfD1eBFY XeGEkVtzj/v62iDkldFFiramxpMnKFB65RZ87twHZOIabLaWV2iybBGhIKpAd0EdTUwr 7lJbkLZqNrvDcWidcFfCSFVuiSPJ44z8+6Iu1fDHiRxsm5lBLI76io4HtQP4jzRuBidQ MOBHiPgyhmzATjGx1HQ4FB/CHx14MdVlxwnCd2P95mZLWSXIhDddegBVGiJK43LbIGSP Cyag== 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:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1rMk9EfIZ3jyOl6sgk8vvLwgovUSDcU9VonpbADQiQ4=; b=h6T1u6ZCiACoxpk5SR4QPvbVshQWxMqynHZL9rWLpC0ul75V8aoy1w0YW458k1WcZ0 YGOb/Q9ZAdEZWPrJqjIASxc6NQ34CL0txTAPtPYdA/krQ4+kOlT5pTkzuIvOffS3TU33 vFgUvua50yDxwlunZXMTAGSMLecYkFTfZGwxbPGIme1xXlA4eEfd1QedgKpd3egRfamG J4M7cU3ErbtMTJjFWAvLju2EVyxylbs7XoJHpedKip7c6uEPPR4VQ9rWU2sa0kO4jSE7 y4USz6vohmh6oB3ZHgU1sfNGlqHgUVNk1wjHY1aLi3upqNAsMyv55TACVS4MclkiTnrr 9Bow== X-Gm-Message-State: ANoB5pnmlnsW9YpGuikeSY8k72oTzLwX9A8yzv4CutMbvpA79yc+THWX 5f7680quVYv6CNe6ENPvk6MVtsg3Fl7XAQ== X-Google-Smtp-Source: AA0mqf7xCRMguo/ae/kbOEUIe0R30X9FGse36ha9Az9o3Ve4zZCWS9Q7oEel8jFojMWe8KWM0cMp2A== X-Received: by 2002:a17:906:4911:b0:7c0:f71b:8b3 with SMTP id b17-20020a170906491100b007c0f71b08b3mr14361784ejq.57.1670884907392; Mon, 12 Dec 2022 14:41:47 -0800 (PST) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::911f]) by smtp.gmail.com with ESMTPSA id lb19-20020a170907785300b007c0a90663d5sm3758541ejc.162.2022.12.12.14.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 14:41:46 -0800 (PST) In-Reply-To: <87pmconwnw.fsf@daniel-mendler.de> (Daniel Mendler's message of "Mon, 12 Dec 2022 22:23:47 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::62f; envelope-from=arstoffel@gmail.com; helo=mail-ej1-x62f.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-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:250766 Archived-At: This is essentially the same as bug#59956. Note also that it's not limited to completion rules defined by pcomplete-here-using-help. On Mon, 12 Dec 2022 at 22:23, Daniel Mendler wrote: > 1. Start emacs -Q > 2. M-x eshell > 3. ls > #<*scratch*> TAB > > The following error is observed: > > Debugger entered--Lisp error: (wrong-type-argument stringp #) > pcomplete-match("\\`--[^=]+=\\(.*\\)" 0) > pcomplete-here-using-help("ls --help") > pcomplete/ls() > pcomplete-completions() > pcomplete-completions-at-point() > > In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo > version 1.16.0, Xaw scroll bars) of 2022-12-11 built on projects > Repository revision: f221105723dc8d3ee9f3c8d1c2717058afbc6666 > Repository branch: emacs-29 > Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 > System Description: Debian GNU/Linux 10 (buster) > > Configured using: > 'configure --prefix=/home/user/emacs/install --with-json > --with-native-compilation --with-x-toolkit=athena --without-dbus > --without-selinux --without-threads --without-gsettings --with-cairo' > > Configured features: > CAIRO FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG JSON LIBXML2 MODULES > NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 TIFF > TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM LUCID ZLIB > > Important settings: > value of $LANG: en_US.UTF-8 > locale-coding-system: utf-8-unix > > Major mode: Debugger > > Minor modes in effect: > shell-dirtrack-mode: t > tooltip-mode: t > global-eldoc-mode: t > show-paren-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > buffer-read-only: t > line-number-mode: t > indent-tabs-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 mail-extr emacsbug message mailcap yank-media puny dired > dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 > epg-config gnus-util text-property-search time-date mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail > rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns > radix-tree cl-print byte-opt debug backtrace find-func pcmpl-unix > em-unix em-term term disp-table shell ehelp em-script em-prompt em-ls > em-hist em-pred em-glob em-extpipe em-cmpl em-dirs esh-var pcomplete > comint ansi-osc ansi-color ring em-basic em-banner em-alias esh-mode > eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg > esh-module esh-groups esh-util cus-edit pp cus-start cus-load wid-edit > cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv > cl-extra help-mode bytecomp byte-compile cl-lib files-x rmc iso-transl > tooltip cconv 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 seq > simple cl-generic indonesian philippine 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 theme-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 inotify > dynamic-setting font-render-setting cairo x-toolkit xinput2 x multi-tty > make-network-process native-compile emacs) > > Memory information: > ((conses 16 134689 10796) > (symbols 48 11140 0) > (strings 32 32175 1832) > (string-bytes 1 996479) > (vectors 16 21968) > (vector-slots 8 436129 17427) > (floats 8 49 31) > (intervals 56 529 0) > (buffers 976 14))