From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QWxlxaEgQml6amFr?= Newsgroups: gmane.emacs.help Subject: Strange behaviour of sudo and eshell Date: Sun, 24 Feb 2013 18:14:26 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdc15c4a6211304d67b8f2f X-Trace: ger.gmane.org 1361733456 30977 80.91.229.3 (24 Feb 2013 19:17:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2013 19:17:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 24 20:17:59 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 1U9h5A-00041g-As for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 20:17:56 +0100 Original-Received: from localhost ([::1]:46052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9h4p-0005Gj-K6 for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 14:17:35 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9fA5-0006Pn-QB for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 12:14:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9f9z-0004zG-05 for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 12:14:53 -0500 Original-Received: from mail-qe0-f52.google.com ([209.85.128.52]:45065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9f9y-0004z3-Rn for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 12:14:46 -0500 Original-Received: by mail-qe0-f52.google.com with SMTP id i11so506307qej.39 for ; Sun, 24 Feb 2013 09:14:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=X/jAQH1K58uy+lvnRncVv9LN/wrUicE297T/T7/WEr4=; b=wChqWdX8gF1WvcP2CD00uZSLU85mZefgCfyz70xw2t3nKJdaAJbw2cG4dmArKpqFEd avCyCAmpKSVOrWQYPCFPAGvdWvk3dQARFMGCaRQV2k12xLDSsUb14J4YUuE9QumBpIze NwT9zXjivWuDQR9i4zIfRcFpUvMKjQSsG1Pkn4pDMES5KR63HZG8FS4sP64DTKTTOfMY 8gu8sPK9QGjAD23kh1vn2XbhwJiFWFpu6PTgI2+hgPe23IUVAYVkYd+gSIVQRIqAWmgU PHB9e/900twfLYSXhXugiy5ULU2h0sc48eZBcGYiViTet/G28rcPFFBaaHlo/v9rq/cO 44OA== X-Received: by 10.49.107.4 with SMTP id gy4mr8396184qeb.63.1361726086184; Sun, 24 Feb 2013 09:14:46 -0800 (PST) Original-Received: by 10.229.78.193 with HTTP; Sun, 24 Feb 2013 09:14:26 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.128.52 X-Mailman-Approved-At: Sun, 24 Feb 2013 14:17:31 -0500 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:89247 Archived-At: --047d7bdc15c4a6211304d67b8f2f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C5=A1 --047d7bdc15c4a6211304d67b8f2f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Recently, sudo has stopped working in eshell with the error being

<= /div>
~ $ sudo ls
Variable binding depth exceeds max-spe= cpdl-size
~ $=C2=A0

I had tried to= find out what is the source of presumably, some loop, but couldn't fin= d 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 use= d 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
=C2=A0 =C2=A0 =C2=A0 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.=C2= =A0

-- Best, Ale=C5=A1
--047d7bdc15c4a6211304d67b8f2f--