all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Strange behaviour of sudo and eshell
@ 2013-02-24 17:14 Aleš Bizjak
  2013-02-24 20:45 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Aleš Bizjak @ 2013-02-24 17:14 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

Recently, sudo has stopped working in eshell with the error being

~ $ sudo ls
Variable binding depth exceeds max-specpdl-size
~ $

I had tried to find out what is the source of presumably, some loop, but
couldn't find out exactly, but quite by accident, I noticed that sudo
starts working if I load tramp (as in (require 'tramp)). It doesn't matter
if it is loaded before or after loading eshell.

So this is what I do now to get sudo working, but I am curious why this
happens. If I recall correctly, although I haven't used eshell much at that
point, sudo used to work without this a few versions back. The only other
configuration of eshell I have is

(require 'eshell)
(setq eshell-cmpl-ignore-case t
      eshell-cmpl-cycle-completions nil)

which I believe shouldn't interfere. This happens with a few recent
pretests. The latest I have installed is

GNU Emacs 24.2.93.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.13)

compiled from source.

-- Best, Aleš

[-- Attachment #2: Type: text/html, Size: 1275 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-25  8:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-24 17:14 Strange behaviour of sudo and eshell Aleš Bizjak
2013-02-24 20:45 ` Michael Albinus
2013-02-24 21:45   ` Aleš Bizjak
2013-02-25  8:37     ` Michael Albinus

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.