GNU bug report logs - #16197
24.3.50; no completion on commands following "sudo" in shell and eshell

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Fri, 20 Dec 2013 08:20:01 UTC

Severity: minor

Tags: fixed, patch

Found in version 24.3.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: 16197 <at> debbugs.gnu.org
Subject: bug#16197: 24.3.50; no completion on commands following "sudo" in shell and eshell
Date: Sat, 04 Jan 2014 08:11:22 +0100
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> You can look at the code here:
>
> https://github.com/thierryvolpiatto/emacs-tv-config/blob/master/pcomplete-extension.el

I have fixed code for xargs.
I also have a look at `pcomplete/xargs':
As explained previously it it just calling `shell-command-completion',
which is looking at the first arg returned by `shell-backward-command'.
At best it would work with a command line starting with 'xargs' which is
not really useful, but it doesn't anyway, try it in emacs -Q.

I also find pcomplete/ssh:
It complete args but only the first not the second. i.e ssh -f -! =>no
completions.

Probably others have this problem.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





This bug report was last modified 4 years and 238 days ago.

Previous Next


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