From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: eshell/addpath broken since commit dea24a0f7d Date: Tue, 25 Jan 2022 11:19:48 -0800 Message-ID: References: <87tudrwsre.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22855"; mail-complaints-to="usenet@ciao.gmane.io" To: =?UTF-8?Q?I=c3=b1igo_Serna?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 25 20:31:12 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nCRX5-0005pF-Q8 for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 20:31:11 +0100 Original-Received: from localhost ([::1]:52346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCRX3-0007Gf-JC for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Jan 2022 14:31:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCRM8-0002LF-5k for emacs-devel@gnu.org; Tue, 25 Jan 2022 14:19:55 -0500 Original-Received: from [2607:f8b0:4864:20::436] (port=34544 helo=mail-pf1-x436.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCRM6-000826-P2 for emacs-devel@gnu.org; Tue, 25 Jan 2022 14:19:51 -0500 Original-Received: by mail-pf1-x436.google.com with SMTP id v74so17433129pfc.1 for ; Tue, 25 Jan 2022 11:19:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=orZ2K7jb1mrTeCDfleNcF+uOuBJQS/epM4GwM6xEUOY=; b=ZhGb9XnR563jDW8i9Pl7CT5XHAT2DGtNAFkOW1AYgaIIiAcs34PQjcCf1jiDq0HXMS jBa8G3pGaLSNYynOmYGyIgvU0WMBTWc+MpTbUGs0su9wl0FxKPfFlpGolT3aaDW5+dzD T5aphPuNK7SXvOHK1W/h8S0fO0SUh82EHqoM+5aRJL8iUWgC1Mhv+gslBaLdsm6YSE04 3dWXEgTxdrCuZB/pvuJ6CwBZ0TLQBmlCMF9jg2QNGkHAOVvwPPoLsH76TszEkhrEEXUD fmyj+CI6d+NoBUMxr8noLvawRrEmx6XiOMqHt5//YSSBMs33AmaT3Z6wo22XIIUr3HgI e5mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=orZ2K7jb1mrTeCDfleNcF+uOuBJQS/epM4GwM6xEUOY=; b=6Ispx4c9R59wR9+JaII0vtF9dMQ7e8PYExh57lakbgqho8EQmBvprTSMZX8WukmYE7 8Bs28y9R6HAHxy2zbgozn3gMRij+Kxri0PSl4qpEVBWZ6QtqZbsMyinshiotJqmmXyrg 1BxJ6pGL8M+netIUC1QasbKXUF1jx2YQPWjN+aCryyjmejlTB0VGeRrGvnnCs/pfEKh7 MXCv91tj1IUAsFkVIgVLhrS/1ezbnqpB2PD0MeSbEFo4JbV9lY9jlJiPJQCIP0rAtA3n kuihkfl0OpyB73/ZOKEbxScLbaR3uW3xruRL7DQvFYchGH4fHnL9Z1b4c9guoOeBGoDh k6Rw== X-Gm-Message-State: AOAM531PtLmns6AVgWkZuH+ehTLRdmxZhA67CPzAf5lLyMfGZ3qwhYLi CDfi1OwaGF+oXPvV8jZGAAlRM5eNSGfMAA== X-Google-Smtp-Source: ABdhPJybcM4hvloG8crfRkMgBiBf8aC7qABkctY9Vv9jIu40nN38jxjBO0+PJs2OxaBRh+yFhBUFBw== X-Received: by 2002:a63:5b10:: with SMTP id p16mr15970305pgb.230.1643138389345; Tue, 25 Jan 2022 11:19:49 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id g22sm2790888pfc.141.2022.01.25.11.19.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Jan 2022 11:19:49 -0800 (PST) In-Reply-To: <87tudrwsre.fsf@gmx.com> Content-Language: en-US X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::436 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=jporterbugs@gmail.com; helo=mail-pf1-x436.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285381 Archived-At: On 1/25/2022 10:49 AM, Iñigo Serna wrote: > It looks `eshell/addpath' is broken in master since commit dea24a0f7d [1]. > > $ src/emacs --debug-init -Q --eval "(progn (require 'eshell) > (eshell/addpath \"~/bin\"))" > > Debugger entered--Lisp error: (wrong-number-of-arguments (4 . 4) 3) >  eshell--do-opts("addpath" ((98 "begin" nil prepend "add path  element > at beginning") (104 "help" nil nil "display this usage  message") :usage > "[-b] PATH\nAdds the given PATH to $PATH.")  ("~/bin")) >  eshell/addpath("~/bin") Have you tried `make bootstrap' (or `touch lisp/eshell/*.el' if you don't want to rebuild everything)? Commit dea24a0f7d changes the `eshell-eval-using-options' macro in a way that requires recompiling files that use it. - Jim