From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Hori Newsgroups: gmane.emacs.bugs Subject: bug#6226: Please add a customizable option to NOT call tramp for every sudo command Date: Fri, 21 May 2010 20:50:12 -0700 Message-ID: References: <87zkzv3wg4.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274500646 30135 80.91.229.12 (22 May 2010 03:57:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 03:57:26 +0000 (UTC) Cc: 6226@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 22 05:57:24 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFfpr-0007jC-Ih for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 May 2010 05:57:22 +0200 Original-Received: from localhost ([127.0.0.1]:37682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFfpp-0002GP-CA for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 May 2010 23:57:13 -0400 Original-Received: from [140.186.70.92] (port=59399 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFfpk-0002Ff-7S for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 23:57:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFfph-00057y-J7 for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 23:57:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54160) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFfph-00057t-8m for bug-gnu-emacs@gnu.org; Fri, 21 May 2010 23:57:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OFfjq-0007YU-6R; Fri, 21 May 2010 23:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ken Hori Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 May 2010 03:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6226 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6226-submit@debbugs.gnu.org id=B6226.127450022029033 (code B ref 6226); Sat, 22 May 2010 03:51:02 +0000 Original-Received: (at 6226) by debbugs.gnu.org; 22 May 2010 03:50:20 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFfj9-0007YE-FQ for submit@debbugs.gnu.org; Fri, 21 May 2010 23:50:19 -0400 Original-Received: from mail-pv0-f172.google.com ([74.125.83.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFfj7-0007Y9-39 for 6226@debbugs.gnu.org; Fri, 21 May 2010 23:50:17 -0400 Original-Received: by pvc21 with SMTP id 21so678113pvc.3 for <6226@debbugs.gnu.org>; Fri, 21 May 2010 20:50:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=7BBMKcXZA/UEd+vPv0wWsx42+PG+ustz4zNIjiMOIqI=; b=i6OAfvJMbvceAeHi9m1bVF/BIrtRNt3Z27teRlceql0WL6H0RZbMyFehcw330MtYhe bN5OBIOQh+d3T4kMmaNbtQNw6VLAnlyWErBJqtXzhJ/K33l2n5FRxju0zfXOjCxXyqsj 4FufrkEsX/z4ATYgDnulRHg/qfWbgiqz05eyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=F6GeVnDoi/UO0jKW163yE4MnEWCXIOJ7hZa5sm378zLBHdjGptQB6j69fiMwrRQhuH 6168aHQPUZ3QfaNSJcUx7lgGcIH0d1U0CHLqqeJbiHyuGSFyd1K2e8fEnEyOP11XWCJj nAAlZ2eXGh3VIyfiG32WlNnRdAj+RlV6TZET8= Original-Received: by 10.140.58.2 with SMTP id g2mr1831638rva.172.1274500212960; Fri, 21 May 2010 20:50:12 -0700 (PDT) Original-Received: by 10.140.166.4 with HTTP; Fri, 21 May 2010 20:50:12 -0700 (PDT) In-Reply-To: <87zkzv3wg4.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 21 May 2010 23:51:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37169 Archived-At: Yes, I am aware of that. Thank you. And I'm also aware I can just remove eshell-unix from eshell-modules-list. Inside em-unix.el are eshell/agrep eshell/cat eshell/cp eshell/diff eshell/du eshell/egrep eshell/fgrep eshell/glimpse eshell/grep eshell/info eshell/ln eshell/locate eshell/make eshell/man eshell/mkdir eshell/mv eshell/occur eshell/rm eshell/rmdir eshell/su eshell/sudo eshell/time eshell/whoami Some are beneficial, but many command wrappers are not -- at least to me. I think it's a good idea to give the users freedom of choosing which eshell commands to opt-in or out. On Wed, May 19, 2010 at 11:43 PM, Michael Albinus wrote: > Ken Hori writes: > >> I've recently noticed Eshell is now calling tramp for every sudo >> command. Tramp is very slow, and I believe for most cases tramp >> intermediation is unnecessary. >> >> Could we please add a customizable switch to enable/disable >> eshell/sudo? Disabling eshell/sudo by default would be even better. > > All built-in commands of eshell can be disabled by prepending "*". See > > =A0(info "(eshell)Built-ins") > > That means, you shall call > > ~ $ *sudo command > > Best regards, Michael. >