From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: 16197@debbugs.gnu.org
Subject: bug#16197: 24.3.50; no completion on commands following "sudo" in shell and eshell
Date: Tue, 24 Dec 2013 11:49:37 +0100 [thread overview]
Message-ID: <8738licym6.fsf@gmail.com> (raw)
In-Reply-To: <87fvpolyuk.fsf@gmail.com>
Thierry Volpiatto <thierry.volpiatto@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
next prev parent reply other threads:[~2013-12-24 10:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-20 8:18 bug#16197: 24.3.50; no completion on commands following "sudo" in shell and eshell Thierry Volpiatto
2013-12-23 8:36 ` Thierry Volpiatto
2013-12-23 10:21 ` Thierry Volpiatto
2013-12-24 6:59 ` Thierry Volpiatto
2013-12-24 10:49 ` Thierry Volpiatto [this message]
2014-01-03 22:53 ` Stefan Monnier
2014-01-04 5:33 ` Thierry Volpiatto
2014-01-04 7:11 ` Thierry Volpiatto
2014-01-04 20:26 ` Stefan Monnier
2014-01-05 7:35 ` Thierry Volpiatto
2020-09-25 17:51 ` Stefan Monnier
2020-09-26 13:09 ` Lars Ingebrigtsen
2020-09-26 22:17 ` Stefan Monnier
2020-09-27 12:08 ` Lars Ingebrigtsen
2020-09-28 2:07 ` Stefan Monnier
2020-09-28 11:12 ` Lars Ingebrigtsen
2014-01-07 13:11 ` Thierry Volpiatto
2020-09-25 10:44 ` Lars Ingebrigtsen
2014-01-07 15:26 ` Thierry Volpiatto
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=8738licym6.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=16197@debbugs.gnu.org \
/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).