From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Strange behaviour of sudo and eshell Date: Sun, 24 Feb 2013 21:45:50 +0100 Message-ID: <87d2vp30g1.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1361739003 19942 80.91.229.3 (24 Feb 2013 20:50:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2013 20:50:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?Ale=C5=A1?= Bizjak Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 24 21:50:26 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9iWg-0002CD-EA for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 21:50:26 +0100 Original-Received: from localhost ([::1]:40263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9iWK-0002o0-1V for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 15:50:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9iWE-0002nq-Ez for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 15:49:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9iWA-00033D-RI for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 15:49:58 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:55275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9iWA-000330-GM for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 15:49:54 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.1]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MVoO6-1UKaS12S8e-00X4gz for ; Sun, 24 Feb 2013 21:45:53 +0100 Original-Received: (qmail invoked by alias); 24 Feb 2013 20:45:52 -0000 Original-Received: from p57BB8BC4.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.139.196] by mail.gmx.net (mp001) with SMTP; 24 Feb 2013 21:45:52 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18dgeMN39MdyZUQ8iLr4leCmx6RO4m32Vz7LWJhvn fHdf+zhod1wXeH In-Reply-To: (=?utf-8?Q?=22Ale=C5=A1?= Bizjak"'s message of "Sun, 24 Feb 2013 18:14:26 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89248 Archived-At: Ale=C5=A1 Bizjak writes: > Recently, sudo has stopped working in eshell with the error being > > ~ $ sudo ls > Variable binding depth exceeds max-specpdl-size > ~ $=20 > > 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.=20 Which bzr version have you used? There was a fix recently, in bzr #111277. > -- Best, Ale=C5=A1 Best regards, Michael.