From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Gauland Newsgroups: gmane.emacs.devel Subject: Re: Eshell and Sudo Date: Sun, 17 Feb 2013 11:25:15 +1300 Message-ID: <87ehgfdhh0.fsf@dimension8.tehua.net> References: <87ehgg451n.fsf@gnu.org> <87txpc3wnn.fsf@gmx.de> <87r4kgcacu.fsf@dimension8.tehua.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361053533 6758 80.91.229.3 (16 Feb 2013 22:25:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Feb 2013 22:25:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 16 23:25:56 2013 Return-path: Envelope-to: ged-emacs-devel@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 1U6qCe-0005A9-BD for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2013 23:25:52 +0100 Original-Received: from localhost ([::1]:47257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6qCK-0006Md-IX for ged-emacs-devel@m.gmane.org; Sat, 16 Feb 2013 17:25:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6qCH-0006MG-Al for emacs-devel@gnu.org; Sat, 16 Feb 2013 17:25:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6qCG-0003yD-84 for emacs-devel@gnu.org; Sat, 16 Feb 2013 17:25:29 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:42759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6qCG-0003y9-1R for emacs-devel@gnu.org; Sat, 16 Feb 2013 17:25:28 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U6qCX-00057O-6x for emacs-devel@gnu.org; Sat, 16 Feb 2013 23:25:45 +0100 Original-Received: from 114-134-6-163.rurallink.co.nz ([114.134.6.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Feb 2013 23:25:45 +0100 Original-Received: from aidalgol by 114-134-6-163.rurallink.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Feb 2013 23:25:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114-134-6-163.rurallink.co.nz User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:Zgo3xDgG4FYwbFdE+xVcLpOgJTQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157090 Archived-At: Ian D writes: > Aidan Gauland writes: >> No one, not even John Wiegley, seems to know why sudo/su works for some >> people and not others. Debugging Eshell sudo/su is on my TODO list. I >> don't even know whether this is an Eshell problem or a TRAMP problem. I >> suspect tramp, since Eshell is only calling TRAMP (which should *not* be >> blowing up like it does for some people). > > I looked into this myself a little, and I got it working by adding > (require 'tramp) to my .emacs file. I checked in the eshell files, > and found this in esh-util.el, but within an 'eval-when-compile' > block, and I'm not sure what this would do to the other files. Since > eshell/sudo is within em-unix.el, is it possible that it's not loading > correctly? That could be. The Eshell code is overdue for some housekeeping. I'll take a look at those files and post back with my findings (if any). Regards, Aidan Gauland