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

* Re: Strange behaviour of sudo and eshell
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2013-02-24 20:45 UTC (permalink / raw
  To: Aleš Bizjak; +Cc: help-gnu-emacs

Aleš Bizjak <ales.bizjak0@gmail.com> writes:

> 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. 

Which bzr version have you used? There was a fix recently, in bzr #111277.

> -- Best, Aleš

Best regards, Michael.



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

* Re: Strange behaviour of sudo and eshell
  2013-02-24 20:45 ` Michael Albinus
@ 2013-02-24 21:45   ` Aleš Bizjak
  2013-02-25  8:37     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Aleš Bizjak @ 2013-02-24 21:45 UTC (permalink / raw
  To: Michael Albinus; +Cc: help-gnu-emacs

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

On 24 February 2013 21:45, Michael Albinus <michael.albinus@gmx.de> wrote:

> Which bzr version have you used? There was a fix recently, in bzr #111277.


I used the latest one from the gnu ftp server.

ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.93.tar.xz

I don't know which bzr version that is, sorry.

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

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

* Re: Strange behaviour of sudo and eshell
  2013-02-24 21:45   ` Aleš Bizjak
@ 2013-02-25  8:37     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2013-02-25  8:37 UTC (permalink / raw
  To: Aleš Bizjak; +Cc: help-gnu-emacs

Aleš Bizjak <ales.bizjak0@gmail.com> writes:

Hi Aleš,

>     Which bzr version have you used? There was a fix recently, in bzr
>     #111277.
>
> I used the latest one from the gnu ftp server.
>
> ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-24.2.93.tar.xz
>
> I don't know which bzr version that is, sorry.

That prerelease is from Feb 7th. The fix I have mentioned was committed
on Feb 18th.

So you might check with the next prerelease version, which is expected
later this week.

Best regards, Michael.



^ 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.