GNU bug report logs - #62296
eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"

Previous Next

Package: emacs;

Reported by: Chris Elrod <elrodc <at> gmail.com>

Date: Mon, 20 Mar 2023 14:49:02 UTC

Severity: normal

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Chris Elrod <elrodc <at> gmail.com>
Cc: 62296 <at> debbugs.gnu.org
Subject: Re: bug#62296: eshell: sudo results in "Don’t
 know how to make a
 buffer-local variable an alias: tramp-use-connection-share"
Date: Mon, 20 Mar 2023 16:13:16 +0100
Chris Elrod <elrodc <at> gmail.com> writes:

Hi Chris,

> To expand on my earlier report, I am using the `eshell-tramp` module.
>
> On Mon, Mar 20, 2023 at 9:48 AM Chris Elrod <elrodc <at> gmail.com> wrote:
>
>     I just rebuilt the latest emacs master, and found that I can no
>     longer use sudo in eshell.
>     I get the error message:
>     Don’t know how to make a buffer-local variable an alias:
>     tramp-use-connection-share
>
>     This variable was recently introduced:
>     https://github.com/emacs-mirror/emacs/commit/1c39347d58533280bae74c712ad0016a5c8992aa

I tried to reproduce, but I cannot. Both versions of sudo in eshell work for me:

--8<---------------cut here---------------start------------->8---
Welcome to the Emacs shell

~/src/emacs $ sudo ls
[sudo] password for albinus: 
aclocal.m4	ChangeLog.1    configure~    INSTALL	   make-dist	README
admin		ChangeLog.2    configure.ac  INSTALL.REPO  Makefile	src
autogen.sh	ChangeLog.3    CONTRIBUTE    leim	   Makefile.in	test
autom4te.cache	config.bat     COPYING	     lib	   modules
BUGS		config.log     doc	     lib-src	   msdos
build-aux	config.log~    etc	     lisp	   nextstep
ChangeLog	config.status  GNUmakefile   lwlib	   nt
ChangeLog~	configure      info	     m4		   oldXMenu
~/src/emacs $ cd /sudo::
/sudo:root <at> gandalf:~ # ls
123  anaconda-ks.cfg  tmp
/sudo:root <at> gandalf:~ #
--8<---------------cut here---------------end--------------->8---

Could you pls provide a recipe, starting with "emacs -Q"?

Best regards, Michael.




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

Previous Next


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