all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Chris Elrod <elrodc@gmail.com>
Cc: 62296@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <87pm93zcab.fsf@gmx.de> (raw)
In-Reply-To: <CA+pTmbAu4hc56M5iHRn_18Av3a-+fuRmwzwpGKfW1zV6NrDKoA@mail.gmail.com> (Chris Elrod's message of "Mon, 20 Mar 2023 09:51:26 -0400")

Chris Elrod <elrodc@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@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@gandalf:~ # ls
123  anaconda-ks.cfg  tmp
/sudo:root@gandalf:~ #
--8<---------------cut here---------------end--------------->8---

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

Best regards, Michael.





  reply	other threads:[~2023-03-20 15:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 13:48 bug#62295: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share" Chris Elrod
2023-03-20 13:51 ` bug#62296: " Chris Elrod
2023-03-20 15:13   ` Michael Albinus [this message]
2023-03-21  4:28     ` Jim Porter
2023-03-21 13:12     ` Michael Albinus
2023-03-21 23:35   ` Jim Porter
2023-03-21 23:39     ` Jim Porter
2023-03-22  4:01       ` Jim Porter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pm93zcab.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=62296@debbugs.gnu.org \
    --cc=elrodc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.