* bug#62295: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"
@ 2023-03-20 13:48 Chris Elrod
2023-03-20 13:51 ` bug#62296: " Chris Elrod
0 siblings, 1 reply; 8+ messages in thread
From: Chris Elrod @ 2023-03-20 13:48 UTC (permalink / raw)
To: 62295
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 512 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#62296: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"
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 ` Chris Elrod
2023-03-20 15:13 ` Michael Albinus
2023-03-21 23:35 ` Jim Porter
0 siblings, 2 replies; 8+ messages in thread
From: Chris Elrod @ 2023-03-20 13:51 UTC (permalink / raw)
To: 62296
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
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
>
[-- Attachment #2: Type: text/html, Size: 948 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#62296: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"
2023-03-20 13:51 ` bug#62296: " Chris Elrod
@ 2023-03-20 15:13 ` Michael Albinus
2023-03-21 4:28 ` Jim Porter
2023-03-21 13:12 ` Michael Albinus
2023-03-21 23:35 ` Jim Porter
1 sibling, 2 replies; 8+ messages in thread
From: Michael Albinus @ 2023-03-20 15:13 UTC (permalink / raw)
To: Chris Elrod; +Cc: 62296
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#62296: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"
2023-03-20 15:13 ` Michael Albinus
@ 2023-03-21 4:28 ` Jim Porter
2023-03-21 13:12 ` Michael Albinus
1 sibling, 0 replies; 8+ messages in thread
From: Jim Porter @ 2023-03-21 4:28 UTC (permalink / raw)
To: Michael Albinus, Chris Elrod; +Cc: 62296
On 3/20/2023 8:13 AM, Michael Albinus wrote:
> I tried to reproduce, but I cannot. Both versions of sudo in eshell work for me:
[snip]
>
> Could you pls provide a recipe, starting with "emacs -Q"?
I'm not able to reproduce this either, but here's what I tried from
"emacs -Q":
M-: (require 'eshell)
M-: (add-to-list 'eshell-modules-list 'eshell-tramp)
M-x eshell
~ $ which sudo
eshell/sudo is a byte-compiled Lisp function in ‘em-tramp.el’.
~ $ sudo *whoami
root
Chris, you could try running "make bootstrap", or at least "rm
lisp/eshell/*.elc && make" to make sure that the Eshell code gets
recompiled. Eshell makes pretty heavy use of defmacro and defsubst, so
sometimes the bytecode files end up out of date and you need to get rid
of them.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#62296: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"
2023-03-20 15:13 ` Michael Albinus
2023-03-21 4:28 ` Jim Porter
@ 2023-03-21 13:12 ` Michael Albinus
1 sibling, 0 replies; 8+ messages in thread
From: Michael Albinus @ 2023-03-21 13:12 UTC (permalink / raw)
To: Chris Elrod; +Cc: 62296
Michael Albinus <michael.albinus@gmx.de> writes:
Hi Chris,
> I tried to reproduce, but I cannot. Both versions of sudo in eshell work for me:
>
> Could you pls provide a recipe, starting with "emacs -Q"?
Bug#62329 is the same problem, I'll use the recipe from there. Merging
both bugs.
Best regards, Michael.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#62296: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"
2023-03-20 13:51 ` bug#62296: " Chris Elrod
2023-03-20 15:13 ` Michael Albinus
@ 2023-03-21 23:35 ` Jim Porter
2023-03-21 23:39 ` Jim Porter
1 sibling, 1 reply; 8+ messages in thread
From: Jim Porter @ 2023-03-21 23:35 UTC (permalink / raw)
To: Chris Elrod, 62296
merge 62326 62295
thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#62296: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"
2023-03-21 23:35 ` Jim Porter
@ 2023-03-21 23:39 ` Jim Porter
2023-03-22 4:01 ` Jim Porter
0 siblings, 1 reply; 8+ messages in thread
From: Jim Porter @ 2023-03-21 23:39 UTC (permalink / raw)
To: Chris Elrod, 62296
merge 62296 62295
thanks
My previous attempt to merge this bug with its original version used a
totally-wrong bug number for the dupe due to me mis-pasting the command.
Hopefully this works...
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#62296: eshell: sudo results in "Don’t know how to make a buffer-local variable an alias: tramp-use-connection-share"
2023-03-21 23:39 ` Jim Porter
@ 2023-03-22 4:01 ` Jim Porter
0 siblings, 0 replies; 8+ messages in thread
From: Jim Porter @ 2023-03-22 4:01 UTC (permalink / raw)
To: Chris Elrod, 62296-done
On 3/21/2023 4:39 PM, Jim Porter wrote:
> Hopefully this works...
Well, I know marking as done works; sorry for the noise.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-03-22 4:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.