GNU bug report logs -
#16197
24.3.50; no completion on commands following "sudo" in shell and eshell
Previous Next
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
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:
> So now my completion commands are working both with sudo and without,
> the needed modifications are here if somebody is interested to fix this bug:
>
> https://github.com/thierryvolpiatto/emacs-tv-config/blob/master/pcomplete-extension.el
>
> Note that all pcomplete/* commands provided in emacs are not working
> with "sudo".
They are now working (pcomplete/tar etc...) with the last version of
pcomplete-extension.el, but entering multiples args (with and without
sudo and from emacs- Q) is not working at all (on second arg it try to
complete filenames) e.g
(cursor is "!")
emacs -Q
M-x shell
tar -! TAB => ok I have completion on options.
tar -z -! TAB => I have completion on filenames.
Maybe because you are using pcomplete-match with an hard coded value of
0 for index.(Not tested)
Completions provided in pcomplete-extension.el are allowing doing this
when needed.
--
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.