GNU bug report logs - #60402
29.0.60; eshell/sudo errors with "Symbol’s value as variable is void: tramp-default-host"

Previous Next

Package: emacs;

Reported by: Rah Guzar <rahguzar <at> zohomail.eu>

Date: Thu, 29 Dec 2022 12:03:02 UTC

Severity: normal

Found in version 29.0.60

Fixed in version 29.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Rah Guzar via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs <at> gnu.org>
Cc: 60402-done <at> debbugs.gnu.org, Rah Guzar <rahguzar <at> zohomail.eu>
Subject: Re: bug#60402: 29.0.60; eshell/sudo errors with "Symbol’s value as
 variable is void: tramp-default-host"
Date: Fri, 30 Dec 2022 09:31:31 +0100
Version: 29.1

Rah Guzar via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:

Hi,

> Starting with emacs -Q
> 1. M-x load-library eshell RET
> 2. Customize `eshell-modules-list` to include `eshell-tramp`.
> 3. M-x eshell RET
> 4. Running any command with sudo errors out with
>    Symbol’s value as variable is void: tramp-default-host.

Thanks for the report.

> Requiring tramp solves this problem which occurs due to the use of
> `tramp-default-host` in `eshell--method-wrap-directory`.

I've fixed this in the emacs-29 branch, closing the bug.

Best regards, Michael.




This bug report was last modified 2 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.