unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Ken Hori <fplemma@gmail.com>
Cc: 6226@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	[thread overview]
Message-ID: <878w7bfvaw.fsf@gmx.de> (raw)
In-Reply-To: <AANLkTinM_5MPBO3ap7i2gP9xS7h-r8MB_K1xZkAISWNk@mail.gmail.com> (Ken Hori's message of "Fri, 21 May 2010 20:50:12 -0700")

Ken Hori <fplemma@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.





  reply	other threads:[~2010-05-22 22:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20  4:42 bug#6226: Please add a customizable option to NOT call tramp for every sudo command Ken Hori
2010-05-20  6:43 ` Michael Albinus
2010-05-22  3:50   ` Ken Hori
2010-05-22 22:03     ` Michael Albinus [this message]
2010-05-23 13:22       ` Stefan Monnier
2010-05-23 17:15         ` Michael Albinus
2010-05-23 18:54           ` Juanma Barranquero
2010-05-24  8:16             ` Ken Hori
2010-05-24 14:05               ` Stefan Monnier
2010-05-26  3:26                 ` Michael Albinus
2010-05-26  5:55                   ` Thierry Volpiatto
2010-05-26 10:16                     ` Michael Albinus
2010-05-26 13:30                   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878w7bfvaw.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=6226@debbugs.gnu.org \
    --cc=fplemma@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).