GNU bug report logs - #6226
Please add a customizable option to NOT call tramp for every sudo command

Previous Next

Package: emacs;

Reported by: Ken Hori <fplemma <at> gmail.com>

Date: Thu, 20 May 2010 04:44:02 UTC

Severity: normal

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ken Hori <fplemma <at> gmail.com>
Cc: 6226 <at> debbugs.gnu.org
Subject: bug#6226: Please add a customizable option to NOT call tramp for every sudo command
Date: Sun, 23 May 2010 00:03:51 +0200
Ken Hori <fplemma <at> gmail.com> writes:

> 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.

(eval-after-load "em-unix"
  (progn
    (unintern "eshell/su")
    (unintern "eshell/sudo")))

Best regards, Michael.




This bug report was last modified 15 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.