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: Mon, 18 Feb 2013 12:28:07 +1300 Message-ID: <8738wur054.fsf@dimension8.tehua.net> References: <87ehgg451n.fsf@gnu.org> <87txpc3wnn.fsf@gmx.de> <87wqu6u91q.fsf@gmx.de> <8738wulqvd.fsf@dimension8.tehua.net> <87fw0uu4c6.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361143707 18464 80.91.229.3 (17 Feb 2013 23:28:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2013 23:28:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 18 00:28:49 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 1U7Df4-0007z9-RX for ged-emacs-devel@m.gmane.org; Mon, 18 Feb 2013 00:28:46 +0100 Original-Received: from localhost ([::1]:49322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Dek-00045X-UO for ged-emacs-devel@m.gmane.org; Sun, 17 Feb 2013 18:28:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Dei-00045D-Lq for emacs-devel@gnu.org; Sun, 17 Feb 2013 18:28:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7Deh-0001zu-A0 for emacs-devel@gnu.org; Sun, 17 Feb 2013 18:28:24 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Deh-0001zl-4G for emacs-devel@gnu.org; Sun, 17 Feb 2013 18:28:23 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U7Dex-0007w4-OZ for emacs-devel@gnu.org; Mon, 18 Feb 2013 00:28:39 +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 ; Mon, 18 Feb 2013 00:28:39 +0100 Original-Received: from aidalgol by 114-134-6-163.rurallink.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 18 Feb 2013 00:28:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 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.2 (gnu/linux) Cancel-Lock: sha1:5Q0C9l44eUQFxFMcQR+dvCq2f8E= 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:157112 Archived-At: Michael Albinus writes: > Aidan Gauland writes: >> Thanks for coming to the rescue. The changes look fine, except for the >> `require' in a defun. Is that a good idea? (Not a rhetorical question; >> I don't know, I just haven't seen this before.) > > Look at eshell :-) There are other defuns which apply the same trick. > > I would like to avoid this, but I run out of ideas why Tramp loads > itself recursively in this special situation. OK, then I'd say go ahead and commit the changes. I hope this clears up the recursive load problem. Any idea why this appears erratically (for some people and not others)? Have you been able to reproduce it consistently? Regards, Aidan Gauland