Subject: 24.0.50; sudo doesn't work in eshell
From: Nicolas Martyanoff <[email-masked]>
To: [email-masked]
Date: Mon, 18 Jul 2011 07:04:07 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Running an eshell, using sudo doesn't work:

~/conf/emacs.d $ sudo touch /foo
Recursive load: "/usr/share/emacs/24.0.50/lisp/net/tramp-sh.elc",
"/usr/share/emacs/24.0.50/lisp/net/tramp-sh.elc",
"/usr/share/emacs/24.0.50/lisp/net/tramp-sh.elc",
"/usr/share/emacs/24.0.50/lisp/net/tramp-sh.elc",
"/usr/share/emacs/24.0.50/lisp/net/tramp-sh.elc

No password is asked for, and /foo isn't created.

Emacs was run with -q --debug-init, and no error message is printed in
*Messages*.

In GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.1)
 of 2011-04-15 on valhala
Windowing system distributor `The X.Org Foundation', version 11.0.11002000
configured using `configure  '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib' '--mandir=/usr/share/man' '--without-sound' '--with-x-toolkit=gtk' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe' 'LDFLAGS=-Wl,--hash-style=gnu -Wl,--as-needed''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: EShell

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
w o r k SPC i n SPC e s h e l l <return> <help-echo> 
C-u g <backspace> <backspace> <backspace> <backspace> 
C-/ C-/ C-/ C-/ C-/ C-/ <help-echo> <help-echo> <down-mouse-1> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <drag-mouse-1> C-x 
k y <return> <backspace> <return> C-x <up> q <backspace> 
C-z n 2 C-x C-g C-x <up> C-w C-g C-x 1 M-x r e p o 
<tab> r t - e m <tab> <return> s u d o SPC d o e s 
n ' t SPC w o r k SPC i n SPC e s h e l l <return> 
C-p C-p C-p C-p C-p C-p C-p C-f C-f C-f C-f C-f C-f 
C-k k h a e l i n @ g m a i l . c o m C-n C-n C-n C-n 
C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n 
C-n C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p 
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p 
<next> <next> <next> <next> <prior> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> C-x k <return> <return> C-x k C-g C-x 
k <return> y e s <return> C-x 1 C-' e s <backspace> 
<backspace> C-x b * <backspace> <return> s u d o SPC 
t o u c h SPC / f o o <return> M-x r e p o r t - e 
b <backspace> m <tab> <return>

Recent messages:
Checking 57 files in /usr/share/emacs/24.0.50/lisp/calendar...
Checking 87 files in /usr/share/emacs/24.0.50/lisp/calc...
Checking 61 files in /usr/share/emacs/24.0.50/lisp/obsolete...
Checking 1 files in /usr/share/emacs/24.0.50/leim...
Checking for load-path shadows...done
byte-code: Beginning of buffer [5 times]
Auto-saving...done
Please answer yes or no.
call-interactively: Command attempted to use minibuffer while in minibuffer
Quit
Quit

Load-path shadows:
None found.

Features:
(help-mode view shadow sort mail-extr message idna sendmail rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader
emacsbug url-util url-parse url-vars tramp tramp-compat auth-source
eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util
time-date mm-util mail-prsvr password-cache format-spec advice
advice-preload tramp-loaddefs regexp-opt ansi-color em-unix pcomplete
em-term term disp-table ehelp electric em-script em-prompt em-ls em-hist
em-pred em-glob em-dirs em-cmpl em-basic esh-opt em-banner em-alias ring
esh-var esh-io esh-cmd esh-ext esh-proc esh-arg eldoc help-fns
esh-groups eshell esh-module esh-mode esh-util vc-git tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)

-- 
Nicolas Martyanoff
   http://codemore.org
   [email-masked]