From unknown Fri Aug 15 15:34:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78860: 30.1.90; eshell: wrong-number-of-arguments Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jun 2025 04:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78860@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.175056631713356 (code B ref -1); Sun, 22 Jun 2025 04:26:03 +0000 Received: (at submit) by debbugs.gnu.org; 22 Jun 2025 04:25:17 +0000 Received: from localhost ([127.0.0.1]:45960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTCGU-0003S8-JO for submit@debbugs.gnu.org; Sun, 22 Jun 2025 00:25:16 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55478) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTCGK-0003Px-AX for submit@debbugs.gnu.org; Sun, 22 Jun 2025 00:25:06 -0400 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 1uTCGD-00070i-Ac for bug-gnu-emacs@gnu.org; Sun, 22 Jun 2025 00:24:53 -0400 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uTCG9-0000xQ-30 for bug-gnu-emacs@gnu.org; Sun, 22 Jun 2025 00:24:53 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 6B8332091D8E for ; Sun, 22 Jun 2025 06:24:44 +0200 (CEST) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass reason="pass (just generated, assumed good)" header.d=librehacker.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=librehacker.com; h=content-transfer-encoding:content-type:content-type :mime-version:message-id:date:date:subject:subject:from:from :received:received:received; s=dkim2; t=1750566282; x= 1752380683; bh=rVXxlrrji4QPlPxQFyqR3JXPBs2HKPlqLcMDAdIhFQk=; b=E cM7gLTqZ3Bfv21EzebSTRBxHeuR92rKAnjjLEnp0Amf7S3CmJNroY2SEF+BaDnjO FYSqQQRS9NmRsv8TylkKGM/SYseS+tovfjFl1GLvYQds49L5o2bc721JLwp2gW6l s/pKNPE+Jj9SzgzN8Z2vYAm823n5SSMfRWwh+pzshd7V8V4nZ1aPPzAGAhBOqmQd 9BX/Y93fUkwKVOVX8OZBFvA/KMeBwWl2eBqCmlUaT+19sYaDE1wX0jLl4Wt99jM+ FWLB333zxjNZKpJqSxCFi1AHe4o51s7Fmv4YCxWGViyrw25j5i70hD0Pgz+10TSw pJ36Ozxs3fQtswonGn9Wg== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-10 required=5 tests=[none] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id U37IXWnFhNHG for ; Sun, 22 Jun 2025 06:24:42 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 2570F2091D8D for ; Sun, 22 Jun 2025 06:24:41 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id B99993237845 for ; Sun, 22 Jun 2025 06:24:41 +0200 (CEST) From: Christopher Howard Date: Sat, 21 Jun 2025 20:24:38 -0800 Message-ID: <877c14pfnd.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.103.80.155; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) When I run the command "git status" in eshell, I am getting the error "wron= g-number-of-arguments". M-x package-isolate M-x eshell git status [or] *git status With debug-on-error, here is the backtrace: ``` Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 2) eshell-stringify("status" nil) #f(compiled-function (i) #)("status") mapcar(#f(compiled-function (i) #) ("status"= )) eshell-connection-local-command("/home/christopher/.guix-home/profile/bin= /git" ("status")) eshell-external-command("/home/christopher/.guix-home/profile/bin/git" ("= status")) eshell-explicit-command("*git" ("status")) run-hook-with-args-until-success(eshell-explicit-command "*git" ("status"= )) eshell-named-command("*git" ("status")) eval((eshell-named-command '"*git" '("status"))) eshell-do-eval((eshell-named-command '"*git" '("status")) nil) eshell-do-eval((unwind-protect (eshell-named-command '"*git" '("status"))= (mapc #'funcall eshell-this-command-hook)) nil) #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-functio= n () #))) eval((let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-fu= nction () #)))) eshell-do-eval((let ((eshell-this-command-hook '(ignore))) (unwind-protec= t (eshell-named-command '"*git" '("status")) (mapc #'funcall eshell-this-co= mmand-hook))) nil) (condition-case err (eshell-do-eval '(let ((eshell-this-command-hook '(ig= nore))) (unwind-protect (eshell-named-command '"*git" '("status")) (mapc #'= funcall eshell-this-command-hook))) nil) ((debug error) (eshell-errorn (err= or-message-string err)) (eshell-close-handles 1))) eval((condition-case err (eshell-do-eval '(let ((eshell-this-command-hook= '...)) (unwind-protect (eshell-named-command '"*git" '...) (mapc #'funcall= eshell-this-command-hook))) nil) ((debug error) (eshell-errorn (error-mess= age-string err)) (eshell-close-handles 1)))) eshell-do-eval((condition-case err (eshell-do-eval '(let ((eshell-this-co= mmand-hook '...)) (unwind-protect (eshell-named-command '"*git" '...) (mapc= #'funcall eshell-this-command-hook))) nil) ((debug error) (eshell-errorn (= error-message-string err)) (eshell-close-handles 1))) nil) eshell-do-eval((condition-case err (eshell-do-eval '(let ((eshell-this-co= mmand-hook '...)) (unwind-protect (eshell-named-command '"*git" '...) (mapc= #'funcall eshell-this-command-hook))) nil) ((debug error) (eshell-errorn (= error-message-string err)) (eshell-close-handles 1))) nil) #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((eshell-current-handles '[nil (((t) . 2) t) (((t) . 2) t)])) (funca= ll '#f(compiled-function () #))) eval((let ((eshell-current-handles '[nil ((... . 2) t) ((... . 2) t)])) (= funcall '#f(compiled-function () #)))) eshell-do-eval((let ((eshell-current-handles '[nil ((... . 2) t) ((... . = 2) t)])) (condition-case err (eshell-do-eval '(let ((eshell-this-command-ho= ok ...)) (unwind-protect (eshell-named-command ... ...) (mapc ... eshell-th= is-command-hook))) nil) ((debug error) (eshell-errorn (error-message-string= err)) (eshell-close-handles 1)))) nil) eshell-do-eval((progn (let ((eshell-current-handles '[nil (... t) (... t)= ])) (condition-case err (eshell-do-eval '(let (...) (unwind-protect ... ...= )) nil) ((debug error) (eshell-errorn (error-message-string err)) (eshell-c= lose-handles 1))))) nil) eshell-do-eval((unwind-protect (progn (let ((eshell-current-handles '[nil= ... ...])) (condition-case err (eshell-do-eval '(let ... ...) nil) ((debug= error) (eshell-errorn (error-message-string err)) (eshell-close-handles 1)= )))) (run-hooks 'eshell-post-command-hook)) nil) eshell-do-eval((progn 'nil (unwind-protect (progn (let ((eshell-current-h= andles '...)) (condition-case err (eshell-do-eval '... nil) ((debug error) = (eshell-errorn ...) (eshell-close-handles 1))))) (run-hooks 'eshell-post-co= mmand-hook))) nil) #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((eshell-current-handles '[nil (((t) . 2) t) (((t) . 2) t)]) (eshell= -current-subjob-p 'nil)) (funcall '#f(compiled-function () #))) eval((let ((eshell-current-handles '[nil ((... . 2) t) ((... . 2) t)]) (e= shell-current-subjob-p 'nil)) (funcall '#f(compiled-function () #)))) eshell-do-eval((let ((eshell-current-handles '[nil ((... . 2) t) ((... . = 2) t)]) eshell-current-subjob-p) (progn 'nil (unwind-protect (progn (let ((= eshell-current-handles ...)) (condition-case err (eshell-do-eval ... nil) (= ... ... ...)))) (run-hooks 'eshell-post-command-hook))))) eshell-resume-eval((nil (let ((eshell-current-handles '[nil (... t) (... = t)]) eshell-current-subjob-p) (progn 'nil (unwind-protect (progn (let (...)= (condition-case err ... ...))) (run-hooks 'eshell-post-command-hook)))) ni= l)) eshell-eval-command((let ((eshell-current-handles '[nil ((... . 2) t) ((.= .. . 2) t)]) eshell-current-subjob-p) (progn 'nil (unwind-protect (progn (l= et ((eshell-current-handles ...)) (condition-case err (eshell-do-eval ... n= il) (... ... ...)))) (run-hooks 'eshell-post-command-hook)))) "*git status") eshell-send-input(nil) funcall-interactively(eshell-send-input nil) call-interactively(eshell-send-input nil nil) command-execute(eshell-send-input) ``` In GNU Emacs 30.1.90 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.4) of 2025-06-16 built on nightshade Repository revision: a2bfce5d2a7d046a45c25364f3c69b3d8a776081 Repository branch: emacs-30 Windowing system distributor 'The X.Org Foundation', version 11.0.12101015 System Description: Guix System Configured using: 'configure --prefix=3D/home/christopher/local' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: /home/christopher/local/share/emacs/30.1.90/lisp value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Eshell Minor modes in effect: eshell-prompt-mode: t eshell-pred-mode: t eshell-hist-mode: t eshell-cmpl-mode: t eshell-proc-mode: t eshell-arg-mode: t repeat-mode: t rcirc-track-minor-mode: t server-mode: t minibuffer-depth-indicate-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t tooltip-mode: t global-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 minibuffer-regexp-mode: t column-number-mode: t line-number-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 face-remap mail-extr emacsbug message yank-media puny rfc822 mml mml-sec epa derived 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 help-fns radix-tree cl-print debug backtrace find-func em-xtra em-unix em-tramp em-term term disp-table ehelp em-smart em-script em-prompt em-pred em-ls em-hist em-glob em-extpipe em-elecslash thingatpt tramp trampver tramp-integration tramp-message tramp-compat xdg shell format-spec tramp-loaddefs em-cmpl em-dirs em-basic em-banner em-alias esh-mode esh-var eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg pcomplete esh-module esh-module-loaddefs esh-util pcase ange-ftp comint ansi-osc ansi-color files-x rx jka-compr misearch multi-isearch vc-git diff-mode track-changes easy-mmode vc-dispatcher bookmark text-property-search pp repeat rcirc parse-time iso8601 time-date ring dired-x dired dired-loaddefs cl-extra help-mode use-package-core server kmacro mb-depth display-line-numbers cus-load green-phosphor-theme finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib 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 touch-screen 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 179702 28595) (symbols 48 16464 2) (strings 32 53212 2712) (string-bytes 1 1428680) (vectors 16 32306) (vector-slots 8 1023137 126537) (floats 8 73 34) (intervals 56 2312 489) (buffers 992 16)) --=20 =F0=9F=93=9B Christopher Howard =F0=9F=9A=80 gemini://gem.librehacker.com =F0=9F=8C=90 http://gem.librehacker.com =D7=91=D7=A8=D7=90=D7=A9=D7=99=D7=AA =D7=91=D7=A8=D7=90 =D7=90=D7=9C=D7=94= =D7=99=D7=9D =D7=90=D7=AA =D7=94=D7=A9=D7=9E=D7=99=D7=9D =D7=95=D7=90=D7=AA= =D7=94=D7=90=D7=A8=D7=A5 From unknown Fri Aug 15 15:34:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78860: 30.1.90; eshell: wrong-number-of-arguments Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jun 2025 06:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Christopher Howard Cc: 78860@debbugs.gnu.org Received: via spool by 78860-submit@debbugs.gnu.org id=B78860.175057196312398 (code B ref 78860); Sun, 22 Jun 2025 06:00:02 +0000 Received: (at 78860) by debbugs.gnu.org; 22 Jun 2025 05:59:23 +0000 Received: from localhost ([127.0.0.1]:46244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTDje-0003Du-Jl for submit@debbugs.gnu.org; Sun, 22 Jun 2025 01:59:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59786) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTDjb-0003De-Io for 78860@debbugs.gnu.org; Sun, 22 Jun 2025 01:59:20 -0400 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 1uTDjV-0001Zy-RR; Sun, 22 Jun 2025 01:59:14 -0400 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=oathzn4Yv885zfQF9xbFKl3tjTacfoum2FS4qkaejhk=; b=MywD0mL0a5cT QFMU3cbkxltCOSrMz8ZbgCB7aIKBfRK+/OD4uxfJX9Ic3jg8G0PbqlMZyeRm/3Zah1wIDVAPKdez1 jBgdaHjhSaa0r4ApR/MIZFtkJDFbci5b/Yh83pWjeVLvHdaG1QdmKAY4x9a6rs0Vx5X8wMky95/OJ g9uVoGazQWuQIkc1+EkYIq8zLyuPSxHbrGB8mNMujoBginZm3YqUGenm6vopvbh/7m5UkTsyKQGcs kvys4PDMxEm9Ih5SJrIvUSDUV6Z2CHfq0AQ2R+NTLQDWeveb87WC/ALyOxyklDiPxazikos4zSj6e ITTFhMOSPlP8rU/vvyRz2Q==; Date: Sun, 22 Jun 2025 08:59:11 +0300 Message-Id: <86v7oogvv4.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <877c14pfnd.fsf@librehacker.com> (message from Christopher Howard on Sat, 21 Jun 2025 20:24:38 -0800) References: <877c14pfnd.fsf@librehacker.com> X-Spam-Score: -2.3 (--) 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: Christopher Howard > Date: Sat, 21 Jun 2025 20:24:38 -0800 > > > When I run the command "git status" in eshell, I am getting the error "wrong-number-of-arguments". > > M-x package-isolate > M-x eshell > git status [or] *git status > > With debug-on-error, here is the backtrace: > > ``` > Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 2) > eshell-stringify("status" nil) > #f(compiled-function (i) #)("status") > mapcar(#f(compiled-function (i) #) ("status")) > eshell-connection-local-command("/home/christopher/.guix-home/profile/bin/git" ("status")) > eshell-external-command("/home/christopher/.guix-home/profile/bin/git" ("status")) > eshell-explicit-command("*git" ("status")) Crystal ball says you a version mismatch between the code that calls Eshell and Eshell itself. Because eshell-stringify indeed accepted only 1 argument in Emacs 30, but in Emacs 31 it can accept 2. FTR: I cannot reproduce this problem. From unknown Fri Aug 15 15:34:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78860: 30.1.90; eshell: wrong-number-of-arguments Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jun 2025 14:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 78860@debbugs.gnu.org Received: via spool by 78860-submit@debbugs.gnu.org id=B78860.17506031428596 (code B ref 78860); Sun, 22 Jun 2025 14:40:03 +0000 Received: (at 78860) by debbugs.gnu.org; 22 Jun 2025 14:39:02 +0000 Received: from localhost ([127.0.0.1]:49126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTLqX-0002EO-H3 for submit@debbugs.gnu.org; Sun, 22 Jun 2025 10:39:02 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:35456) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTLqU-0002Cd-9p for 78860@debbugs.gnu.org; Sun, 22 Jun 2025 10:38:59 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 2494A305336D; Sun, 22 Jun 2025 16:38:52 +0200 (CEST) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass reason="pass (just generated, assumed good)" header.d=librehacker.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=librehacker.com; h=content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=dkim2; t=1750603131; x=1752417532; bh=+Nil szIvi80T4b1Kfzt7S2ljF0ACBvBvfK5cZrINZRQ=; b=N6xUTxRO/aGP4kB8htKl eekMew6VR40UzYCe/7l5YDEqpXUdDfLPrF5H5LGEdXmb5MSRu6JQj6PEpe5EXQbb N5ABw7YlkhCfFxn7GVfnzZGvvEKgIOxs8oWSTDJ8nalq7wOibx6st4lq/HA3wvGI +vVLN2LXHrqLAzTtthGhelAqGnVUnSNyB6q01VKeuzeELN+/ZqFYLUinPCoHkxyi uViD5XWcLZh8+O2UxU+z1NjG0E9CHh/zJcs9MzRchXcInMZiGZwB6p4KE39wb5Iy 2yIpelsdkdwng710wDyEckHTSJp79vVKhAC3IIdrJoRpd/ASS7XXBN2sPq5mWGa+ Pw== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-10 required=5 tests=[none] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id b9JLK0rW2L33; Sun, 22 Jun 2025 16:38:51 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 8FA05305336B; Sun, 22 Jun 2025 16:38:51 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 248F3323EF37; Sun, 22 Jun 2025 16:38:51 +0200 (CEST) From: Christopher Howard In-Reply-To: <86v7oogvv4.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jun 2025 08:59:11 +0300") References: <877c14pfnd.fsf@librehacker.com> <86v7oogvv4.fsf@gnu.org> Date: Sun, 22 Jun 2025 06:38:47 -0800 Message-ID: <8734brq1s8.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) 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 (-) Eli Zaretskii writes: > Crystal ball says you a version mismatch between the code that calls > Eshell and Eshell itself. Because eshell-stringify indeed accepted > only 1 argument in Emacs 30, but in Emacs 31 it can accept 2. Do you see anything in the bug report info that might suggest I am pulling in code from a weird place? At first, I was sure it must be something weird in my configuration or the packages I was using. So I did two things: (1) I adjusted my emacs start script to unset EMACSNATIVELOADPATH, so that emacs is not pulling code from any Emacs packages installed by Guix. EMACSLOADPATH only points to /home/christopher/local/share/emacs/30.1.90/lisp. (2) I used package-isolate to test this, with no packages, which in my understanding launches an instance of emacs that does not use my init file and does not have any packages loaded. I think that would also mean that the instance would not have any special eshell options set, nor be using any eshell special modules. If I follow each of the underlined functions in the backtrace, they each take me either to a file in ~/local/share/emacs/30.1.90/lisp/ or ~/Repos/emacs-30/src/. So I'm wondering where I went wrong. Maybe some bad code cached somewhere? Or something wrong with my checkout of the emacs-30 branch? I confirmed also this problem does not occur in the emacs-29 installed by Guix. -- Christopher Howard From unknown Fri Aug 15 15:34:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78860: 30.1.90; eshell: wrong-number-of-arguments Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jun 2025 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Christopher Howard Cc: 78860@debbugs.gnu.org Received: via spool by 78860-submit@debbugs.gnu.org id=B78860.175060470225546 (code B ref 78860); Sun, 22 Jun 2025 15:05:02 +0000 Received: (at 78860) by debbugs.gnu.org; 22 Jun 2025 15:05:02 +0000 Received: from localhost ([127.0.0.1]:49277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTMFh-0006dn-NG for submit@debbugs.gnu.org; Sun, 22 Jun 2025 11:05:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60158) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTMFf-0006ci-UQ for 78860@debbugs.gnu.org; Sun, 22 Jun 2025 11:05:00 -0400 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 1uTMFa-0000f2-HQ; Sun, 22 Jun 2025 11:04:54 -0400 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=sQxuqH/jiaftyU7YZmOqhogi3pAzAoY0DE4sOmnTFRk=; b=aVqui6LSrO4a EJyWxeaUn8lMvtIDdJmnQLMwCR/as4mgqtjwV7yCerar4fmjQgy9GAqRgJBE1CaDkqrpydwzrgFyN AS+H1cT4jlCsVXgyIO5ZOOaRxVY2AYqFsHZ8uitg1jPaEhKq9yBn9gwoNeMtXW5tcpuFY4nOpmFzv iErXAZHpPSbSV7sIplN9vyujsZUN1plWvOx2zhJB1vUTYD+p2wNcL1c1ck3H8+iWlHWYlmqKxCTrP x4nRuaG8NLQa7ZoKNTiYcl/sS9jCJ+L8Q9hA+BH+VbsP6vKNsrdt1xubMI9nikEkrsmUaRgtGEKQS Y5A8Sf0zy8lKbuxGIjIscQ==; Date: Sun, 22 Jun 2025 18:04:52 +0300 Message-Id: <8634brhl63.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <8734brq1s8.fsf@librehacker.com> (message from Christopher Howard on Sun, 22 Jun 2025 06:38:47 -0800) References: <877c14pfnd.fsf@librehacker.com> <86v7oogvv4.fsf@gnu.org> <8734brq1s8.fsf@librehacker.com> X-Spam-Score: -2.3 (--) 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 (---) > X-Spam-Status: No, score=0 tagged_above=-10 required=5 tests=[none] > autolearn=ham autolearn_force=no > From: Christopher Howard > Cc: 78860@debbugs.gnu.org > Date: Sun, 22 Jun 2025 06:38:47 -0800 > > Eli Zaretskii writes: > > > Crystal ball says you a version mismatch between the code that calls > > Eshell and Eshell itself. Because eshell-stringify indeed accepted > > only 1 argument in Emacs 30, but in Emacs 31 it can accept 2. > > Do you see anything in the bug report info that might suggest I am pulling in code from a weird place? I don't have enough information to say anything definitive, but the backtrace you posted, viz.: > Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 2) > eshell-stringify("status" nil) > #f(compiled-function (i) #)("status") > mapcar(#f(compiled-function (i) #) ("status")) > eshell-connection-local-command("/home/christopher/.guix-home/profile/bin/git" ("status")) > eshell-external-command("/home/christopher/.guix-home/profile/bin/git" ("status")) > eshell-explicit-command("*git" ("status")) clearly shows that some byte-compiled function called from eshell-connection-local-command called eshell-stringify with 2 arguments, something that will only work in Emacs 31. Whereas your bug report says you are running Emacs 30.1.90. My first suspect would be Eshell, but that's all I could say. > So I'm wondering where I went wrong. Maybe some bad code cached somewhere? Or something wrong with my checkout of the emacs-30 branch? Maybe look at the value of load-history, it could tell you where you are loading Lisp packages from. From unknown Fri Aug 15 15:34:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78860: 30.1.90; eshell: wrong-number-of-arguments Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Jun 2025 15:53:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: christopher@librehacker.com Cc: 78860@debbugs.gnu.org Received: via spool by 78860-submit@debbugs.gnu.org id=B78860.175060752824675 (code B ref 78860); Sun, 22 Jun 2025 15:53:03 +0000 Received: (at 78860) by debbugs.gnu.org; 22 Jun 2025 15:52:08 +0000 Received: from localhost ([127.0.0.1]:49526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTMzI-0006Pu-6u for submit@debbugs.gnu.org; Sun, 22 Jun 2025 11:52:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45464) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTMzG-0006Ox-Nt for 78860@debbugs.gnu.org; Sun, 22 Jun 2025 11:52:07 -0400 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 1uTMzB-00009d-1O; Sun, 22 Jun 2025 11:52:01 -0400 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=UXPcpIOsVAxKeRiiLFg4tQyYj5cJKtb697+5d3QVb0g=; b=mmue8Qs/ufEY HfDyuy2Bl0PeGEHHm/ONHm+LyRK8XVAiYh/iIndVG5XMEvsXb9jYvzDxf6Ec3u9cxmB4tev5OEZ9A BEDguDorSH5WwxkRcBSDJ/UzCrvKK2fUd2ddM5WumVpgj0OPL+X40+YO0XdGNRqF9hXZcp3lIoGNw n3Tsn5GR6LaTQ8aviPim4oNXka85H5fT3RATJVPJuP74vPjkQiFdWiOAd2uQbhPtGaSOUxTmRoTfz /iEwDdh/rbwcW6XDsErRM4XGXKLPQ2yOlmQBUS1ZRrC/ALDPzHoNauPmQIUWASikLdbZyK+UWP0b0 25QlcrmO/RZcK49hox+yCA==; Date: Sun, 22 Jun 2025 18:51:33 +0300 Message-Id: <861prbhj0a.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <8634brhl63.fsf@gnu.org> (message from Eli Zaretskii on Sun, 22 Jun 2025 18:04:52 +0300) References: <877c14pfnd.fsf@librehacker.com> <86v7oogvv4.fsf@gnu.org> <8734brq1s8.fsf@librehacker.com> <8634brhl63.fsf@gnu.org> X-Spam-Score: -2.3 (--) 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 (---) > Cc: 78860@debbugs.gnu.org > Date: Sun, 22 Jun 2025 18:04:52 +0300 > From: Eli Zaretskii > > > X-Spam-Status: No, score=0 tagged_above=-10 required=5 tests=[none] > > autolearn=ham autolearn_force=no > > From: Christopher Howard > > Cc: 78860@debbugs.gnu.org > > Date: Sun, 22 Jun 2025 06:38:47 -0800 > > > > Eli Zaretskii writes: > > > > > Crystal ball says you a version mismatch between the code that calls > > > Eshell and Eshell itself. Because eshell-stringify indeed accepted > > > only 1 argument in Emacs 30, but in Emacs 31 it can accept 2. > > > > Do you see anything in the bug report info that might suggest I am pulling in code from a weird place? > > I don't have enough information to say anything definitive, but the > backtrace you posted, viz.: > > > Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 2) > > eshell-stringify("status" nil) > > #f(compiled-function (i) #)("status") > > mapcar(#f(compiled-function (i) #) ("status")) > > eshell-connection-local-command("/home/christopher/.guix-home/profile/bin/git" ("status")) > > eshell-external-command("/home/christopher/.guix-home/profile/bin/git" ("status")) > > eshell-explicit-command("*git" ("status")) > > clearly shows that some byte-compiled function called from > eshell-connection-local-command called eshell-stringify with 2 > arguments, something that will only work in Emacs 31. Whereas your > bug report says you are running Emacs 30.1.90. I think this comes from here: (defun eshell-connection-local-command (command args) "Insert output from an external COMMAND, using ARGS. This always runs COMMAND using the connection associated with the current working directory." (setq args (eshell-stringify-list (flatten-tree args))) <<<<<<<<<<<< eshell-stringify-list is a defsubst in esh-util.el: (defsubst eshell-stringify-list (args &optional quoted) "Convert each element of ARGS into a string value." (mapcar (lambda (i) (eshell-stringify i quoted)) args)) The above is the version from Emacs 31, which clearly calls eshell-stringify with 2 arguments. So my guess is that your Eshell was somehow compiled when loading esh-util.el brought in the version from Emacs 31, and now esh-ext.elc (or the corresponding *.eln?) has the wrong definition of eshell-stringify-list expanded in it. My suggestion is to recompile all the *.el files under /home/christopher/local/share/emacs/30.1.90/lisp/eshell/, or maybe rebuild and reinstall Emacs anew. From unknown Fri Aug 15 15:34:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Howard Subject: bug#78860: closed (Re: bug#78860: 30.1.90; eshell: wrong-number-of-arguments) Message-ID: References: <87a55zji9o.fsf@librehacker.com> <877c14pfnd.fsf@librehacker.com> X-Gnu-PR-Message: they-closed 78860 X-Gnu-PR-Package: emacs Reply-To: 78860@debbugs.gnu.org Date: Mon, 23 Jun 2025 02:38:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1750646282-7599-1" This is a multi-part message in MIME format... ------------=_1750646282-7599-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #78860: 30.1.90; eshell: wrong-number-of-arguments which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 78860@debbugs.gnu.org. --=20 78860: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78860 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1750646282-7599-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 78860-done) by debbugs.gnu.org; 23 Jun 2025 02:37:11 +0000 Received: from localhost ([127.0.0.1]:51595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTX3W-0001vP-LO for submit@debbugs.gnu.org; Sun, 22 Jun 2025 22:37:10 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:45524) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTX3T-0001um-Tu for 78860-done@debbugs.gnu.org; Sun, 22 Jun 2025 22:37:08 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id E5AFD30D4EBE; Mon, 23 Jun 2025 04:37:01 +0200 (CEST) Authentication-Results: ext-mx-out013.mykolab.com (amavis); dkim=pass reason="pass (just generated, assumed good)" header.d=librehacker.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=librehacker.com; h=content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=dkim2; t=1750646218; x=1752460619; bh=nKXn mgHjjjKtp9thFo+LlkiIfwKfKrP+v28pqWp7d0k=; b=TiGMlHEI58gOkK5PBGUQ 5Cyq8TpeMO3kadrTeLu7Kwk2IM6vOCCsTs/LaV5jARp/F8pYth2ZVETOfeHJw6p+ yNRpwbMa/keeh7lN/I4izWP4Qxgegl3sZTlKICY6ozTb36qdMIcN7ABOBQCseh6t 8ur8a24v7E6vzlXj/td7qiAA6ALDDLDEt0bKB3J+ZjNIZJpfh9djqVBNYld/BezF MPVJA6Ejl5odhpB5tRnwXB86w294A6B3OoaCOihgM8rTRjwpCVudsY2AGwMpcCbs Y7Fg9nbWOByMEgjbbez7nEoEl7JnxBR5dEZ+SbbyqWlmWLR1F+KBeDnxfDlO6oPD vA== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-10 required=5 tests=[none] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id wxIJQnLwnvCK; Mon, 23 Jun 2025 04:36:58 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 08BD230D4EBC; Mon, 23 Jun 2025 04:36:54 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 607C532085EF; Mon, 23 Jun 2025 04:36:54 +0200 (CEST) From: Christopher Howard To: Eli Zaretskii Subject: Re: bug#78860: 30.1.90; eshell: wrong-number-of-arguments In-Reply-To: <861prbhj0a.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 22 Jun 2025 18:51:33 +0300") References: <877c14pfnd.fsf@librehacker.com> <86v7oogvv4.fsf@gnu.org> <8734brq1s8.fsf@librehacker.com> <8634brhl63.fsf@gnu.org> <861prbhj0a.fsf@gnu.org> Date: Sun, 22 Jun 2025 18:36:51 -0800 Message-ID: <87a55zji9o.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78860-done Cc: 78860-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: -1.0 (-) I determined that, for some unknown reason the elc file for esh-ext.el was not being recompiled, even after a "make clean". I was able to resolve this issue by running a "make distclean" instead, which deletes the all the elc files under the lisp directory. I'm mildy curious why that "make clean" does not delete elc files. In most projects I've used, make clean delete all compiled files. But I'm sure there must be some arcane reason for it, probably documented in some installation instructions I didn't bother to read. -- Christopher Howard ------------=_1750646282-7599-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Jun 2025 04:25:17 +0000 Received: from localhost ([127.0.0.1]:45960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTCGU-0003S8-JO for submit@debbugs.gnu.org; Sun, 22 Jun 2025 00:25:16 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55478) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTCGK-0003Px-AX for submit@debbugs.gnu.org; Sun, 22 Jun 2025 00:25:06 -0400 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 1uTCGD-00070i-Ac for bug-gnu-emacs@gnu.org; Sun, 22 Jun 2025 00:24:53 -0400 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uTCG9-0000xQ-30 for bug-gnu-emacs@gnu.org; Sun, 22 Jun 2025 00:24:53 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 6B8332091D8E for ; Sun, 22 Jun 2025 06:24:44 +0200 (CEST) Authentication-Results: ext-mx-out011.mykolab.com (amavis); dkim=pass reason="pass (just generated, assumed good)" header.d=librehacker.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=librehacker.com; h=content-transfer-encoding:content-type:content-type :mime-version:message-id:date:date:subject:subject:from:from :received:received:received; s=dkim2; t=1750566282; x= 1752380683; bh=rVXxlrrji4QPlPxQFyqR3JXPBs2HKPlqLcMDAdIhFQk=; b=E cM7gLTqZ3Bfv21EzebSTRBxHeuR92rKAnjjLEnp0Amf7S3CmJNroY2SEF+BaDnjO FYSqQQRS9NmRsv8TylkKGM/SYseS+tovfjFl1GLvYQds49L5o2bc721JLwp2gW6l s/pKNPE+Jj9SzgzN8Z2vYAm823n5SSMfRWwh+pzshd7V8V4nZ1aPPzAGAhBOqmQd 9BX/Y93fUkwKVOVX8OZBFvA/KMeBwWl2eBqCmlUaT+19sYaDE1wX0jLl4Wt99jM+ FWLB333zxjNZKpJqSxCFi1AHe4o51s7Fmv4YCxWGViyrw25j5i70hD0Pgz+10TSw pJ36Ozxs3fQtswonGn9Wg== X-Virus-Scanned: amavis at mykolab.com X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-10 required=5 tests=[none] autolearn=ham autolearn_force=no Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out011.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id U37IXWnFhNHG for ; Sun, 22 Jun 2025 06:24:42 +0200 (CEST) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 2570F2091D8D for ; Sun, 22 Jun 2025 06:24:41 +0200 (CEST) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id B99993237845 for ; Sun, 22 Jun 2025 06:24:41 +0200 (CEST) From: Christopher Howard To: bug-gnu-emacs@gnu.org Subject: 30.1.90; eshell: wrong-number-of-arguments X-Debbugs-Cc: Date: Sat, 21 Jun 2025 20:24:38 -0800 Message-ID: <877c14pfnd.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.103.80.155; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) When I run the command "git status" in eshell, I am getting the error "wron= g-number-of-arguments". M-x package-isolate M-x eshell git status [or] *git status With debug-on-error, here is the backtrace: ``` Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 1) 2) eshell-stringify("status" nil) #f(compiled-function (i) #)("status") mapcar(#f(compiled-function (i) #) ("status"= )) eshell-connection-local-command("/home/christopher/.guix-home/profile/bin= /git" ("status")) eshell-external-command("/home/christopher/.guix-home/profile/bin/git" ("= status")) eshell-explicit-command("*git" ("status")) run-hook-with-args-until-success(eshell-explicit-command "*git" ("status"= )) eshell-named-command("*git" ("status")) eval((eshell-named-command '"*git" '("status"))) eshell-do-eval((eshell-named-command '"*git" '("status")) nil) eshell-do-eval((unwind-protect (eshell-named-command '"*git" '("status"))= (mapc #'funcall eshell-this-command-hook)) nil) #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-functio= n () #))) eval((let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-fu= nction () #)))) eshell-do-eval((let ((eshell-this-command-hook '(ignore))) (unwind-protec= t (eshell-named-command '"*git" '("status")) (mapc #'funcall eshell-this-co= mmand-hook))) nil) (condition-case err (eshell-do-eval '(let ((eshell-this-command-hook '(ig= nore))) (unwind-protect (eshell-named-command '"*git" '("status")) (mapc #'= funcall eshell-this-command-hook))) nil) ((debug error) (eshell-errorn (err= or-message-string err)) (eshell-close-handles 1))) eval((condition-case err (eshell-do-eval '(let ((eshell-this-command-hook= '...)) (unwind-protect (eshell-named-command '"*git" '...) (mapc #'funcall= eshell-this-command-hook))) nil) ((debug error) (eshell-errorn (error-mess= age-string err)) (eshell-close-handles 1)))) eshell-do-eval((condition-case err (eshell-do-eval '(let ((eshell-this-co= mmand-hook '...)) (unwind-protect (eshell-named-command '"*git" '...) (mapc= #'funcall eshell-this-command-hook))) nil) ((debug error) (eshell-errorn (= error-message-string err)) (eshell-close-handles 1))) nil) eshell-do-eval((condition-case err (eshell-do-eval '(let ((eshell-this-co= mmand-hook '...)) (unwind-protect (eshell-named-command '"*git" '...) (mapc= #'funcall eshell-this-command-hook))) nil) ((debug error) (eshell-errorn (= error-message-string err)) (eshell-close-handles 1))) nil) #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((eshell-current-handles '[nil (((t) . 2) t) (((t) . 2) t)])) (funca= ll '#f(compiled-function () #))) eval((let ((eshell-current-handles '[nil ((... . 2) t) ((... . 2) t)])) (= funcall '#f(compiled-function () #)))) eshell-do-eval((let ((eshell-current-handles '[nil ((... . 2) t) ((... . = 2) t)])) (condition-case err (eshell-do-eval '(let ((eshell-this-command-ho= ok ...)) (unwind-protect (eshell-named-command ... ...) (mapc ... eshell-th= is-command-hook))) nil) ((debug error) (eshell-errorn (error-message-string= err)) (eshell-close-handles 1)))) nil) eshell-do-eval((progn (let ((eshell-current-handles '[nil (... t) (... t)= ])) (condition-case err (eshell-do-eval '(let (...) (unwind-protect ... ...= )) nil) ((debug error) (eshell-errorn (error-message-string err)) (eshell-c= lose-handles 1))))) nil) eshell-do-eval((unwind-protect (progn (let ((eshell-current-handles '[nil= ... ...])) (condition-case err (eshell-do-eval '(let ... ...) nil) ((debug= error) (eshell-errorn (error-message-string err)) (eshell-close-handles 1)= )))) (run-hooks 'eshell-post-command-hook)) nil) eshell-do-eval((progn 'nil (unwind-protect (progn (let ((eshell-current-h= andles '...)) (condition-case err (eshell-do-eval '... nil) ((debug error) = (eshell-errorn ...) (eshell-close-handles 1))))) (run-hooks 'eshell-post-co= mmand-hook))) nil) #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((eshell-current-handles '[nil (((t) . 2) t) (((t) . 2) t)]) (eshell= -current-subjob-p 'nil)) (funcall '#f(compiled-function () #))) eval((let ((eshell-current-handles '[nil ((... . 2) t) ((... . 2) t)]) (e= shell-current-subjob-p 'nil)) (funcall '#f(compiled-function () #)))) eshell-do-eval((let ((eshell-current-handles '[nil ((... . 2) t) ((... . = 2) t)]) eshell-current-subjob-p) (progn 'nil (unwind-protect (progn (let ((= eshell-current-handles ...)) (condition-case err (eshell-do-eval ... nil) (= ... ... ...)))) (run-hooks 'eshell-post-command-hook))))) eshell-resume-eval((nil (let ((eshell-current-handles '[nil (... t) (... = t)]) eshell-current-subjob-p) (progn 'nil (unwind-protect (progn (let (...)= (condition-case err ... ...))) (run-hooks 'eshell-post-command-hook)))) ni= l)) eshell-eval-command((let ((eshell-current-handles '[nil ((... . 2) t) ((.= .. . 2) t)]) eshell-current-subjob-p) (progn 'nil (unwind-protect (progn (l= et ((eshell-current-handles ...)) (condition-case err (eshell-do-eval ... n= il) (... ... ...)))) (run-hooks 'eshell-post-command-hook)))) "*git status") eshell-send-input(nil) funcall-interactively(eshell-send-input nil) call-interactively(eshell-send-input nil nil) command-execute(eshell-send-input) ``` In GNU Emacs 30.1.90 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.4) of 2025-06-16 built on nightshade Repository revision: a2bfce5d2a7d046a45c25364f3c69b3d8a776081 Repository branch: emacs-30 Windowing system distributor 'The X.Org Foundation', version 11.0.12101015 System Description: Guix System Configured using: 'configure --prefix=3D/home/christopher/local' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: /home/christopher/local/share/emacs/30.1.90/lisp value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Eshell Minor modes in effect: eshell-prompt-mode: t eshell-pred-mode: t eshell-hist-mode: t eshell-cmpl-mode: t eshell-proc-mode: t eshell-arg-mode: t repeat-mode: t rcirc-track-minor-mode: t server-mode: t minibuffer-depth-indicate-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t tooltip-mode: t global-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 minibuffer-regexp-mode: t column-number-mode: t line-number-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 face-remap mail-extr emacsbug message yank-media puny rfc822 mml mml-sec epa derived 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 help-fns radix-tree cl-print debug backtrace find-func em-xtra em-unix em-tramp em-term term disp-table ehelp em-smart em-script em-prompt em-pred em-ls em-hist em-glob em-extpipe em-elecslash thingatpt tramp trampver tramp-integration tramp-message tramp-compat xdg shell format-spec tramp-loaddefs em-cmpl em-dirs em-basic em-banner em-alias esh-mode esh-var eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg pcomplete esh-module esh-module-loaddefs esh-util pcase ange-ftp comint ansi-osc ansi-color files-x rx jka-compr misearch multi-isearch vc-git diff-mode track-changes easy-mmode vc-dispatcher bookmark text-property-search pp repeat rcirc parse-time iso8601 time-date ring dired-x dired dired-loaddefs cl-extra help-mode use-package-core server kmacro mb-depth display-line-numbers cus-load green-phosphor-theme finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib 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 touch-screen 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 179702 28595) (symbols 48 16464 2) (strings 32 53212 2712) (string-bytes 1 1428680) (vectors 16 32306) (vector-slots 8 1023137 126537) (floats 8 73 34) (intervals 56 2312 489) (buffers 992 16)) --=20 =F0=9F=93=9B Christopher Howard =F0=9F=9A=80 gemini://gem.librehacker.com =F0=9F=8C=90 http://gem.librehacker.com =D7=91=D7=A8=D7=90=D7=A9=D7=99=D7=AA =D7=91=D7=A8=D7=90 =D7=90=D7=9C=D7=94= =D7=99=D7=9D =D7=90=D7=AA =D7=94=D7=A9=D7=9E=D7=99=D7=9D =D7=95=D7=90=D7=AA= =D7=94=D7=90=D7=A8=D7=A5 ------------=_1750646282-7599-1-- From unknown Fri Aug 15 15:34:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78860: 30.1.90; eshell: wrong-number-of-arguments Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jun 2025 11:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78860 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Christopher Howard Cc: 78860@debbugs.gnu.org Received: via spool by 78860-submit@debbugs.gnu.org id=B78860.175067852915648 (code B ref 78860); Mon, 23 Jun 2025 11:36:03 +0000 Received: (at 78860) by debbugs.gnu.org; 23 Jun 2025 11:35:29 +0000 Received: from localhost ([127.0.0.1]:54675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uTfSR-000443-Ex for submit@debbugs.gnu.org; Mon, 23 Jun 2025 07:35:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58898) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uTfSN-00041l-Se for 78860@debbugs.gnu.org; Mon, 23 Jun 2025 07:35:25 -0400 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 1uTfSH-00033H-Vx; Mon, 23 Jun 2025 07:35:17 -0400 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=wgqz8aN+LwW8udoq7N8hW0rWsFyE4jyK2KxeYRchzes=; b=IQpqaxvGSaso ifqZbe+JadEQaBt0x/zGLIz+rpxnLGifl+Ouv8KIJ+G8Tv9QdidXZmFveQwjAadIL/tyul+3lHcbv 2B99GjWfr1TPDcnxWNeW5KhXFzzA/1sSRZX/b43x3TNbY79+LpYt1kMjNUVsVg+AAkwklTXToiMQS M2NRywg2jp8J5fhdeqBeHuqMOVkfnI8NM8dQFFzAm7jZBMQtz2KDZGWhXrKtTMctu+sxJ0qiUkYD3 QMNz3QWZlDUKl6nv348N8mWI1RvglKHS0sH4fAW6Rf2h8d13dPXfh6ojaD4wc1Sjwi5ns4C52B6j1 gyAONyfY1bI1Qz1aZq4JCg==; Date: Mon, 23 Jun 2025 14:35:14 +0300 Message-Id: <86h606g07h.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87a55zji9o.fsf@librehacker.com> (message from Christopher Howard on Sun, 22 Jun 2025 18:36:51 -0800) References: <877c14pfnd.fsf@librehacker.com> <86v7oogvv4.fsf@gnu.org> <8734brq1s8.fsf@librehacker.com> <8634brhl63.fsf@gnu.org> <861prbhj0a.fsf@gnu.org> <87a55zji9o.fsf@librehacker.com> X-Spam-Score: -2.3 (--) 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: Christopher Howard > Cc: 78860-done@debbugs.gnu.org > Date: Sun, 22 Jun 2025 18:36:51 -0800 > > I determined that, for some unknown reason the elc file for esh-ext.el was not being recompiled, even after a "make clean". I was able to resolve this issue by running a "make distclean" instead, which deletes the all the elc files under the lisp directory. OK, thanks. > I'm mildy curious why that "make clean" does not delete elc files. In most projects I've used, make clean delete all compiled files. But I'm sure there must be some arcane reason for it, probably documented in some installation instructions I didn't bother to read. The reason why we don't delete *.elc files as part of "make clean" is that Emacs release tarballs come with the *.elc files, and therefore they technically aren't considered "compiled by the build process". But "make distclean" doesn't remove the *.elc files, either, for the same reason. You need to use "make maintainer-clean" for that.