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


Message #20 received at 16197 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 16197 <at> debbugs.gnu.org
Subject: Re: bug#16197: 24.3.50;
 no completion on commands following "sudo" in shell and eshell
Date: Fri, 03 Jan 2014 17:53:00 -0500
> Maybe because you are using pcomplete-match with an hard coded value of
> 0 for index.(Not tested)

Not sure who "you" is.  I'm afraid your description of the problem,
solutions, and problems of those solutions is a bit too cryptic for me.

Here's my starting point:
- I understand that currently pcomplete does not provide completion for
  "sudo" and it would be nice to add it.
- "sudo" is not particularly special, so whatever solution is used for
  it should also work for many other commands.
- There is already pcomplete/xargs and pcomplete/rsh.

Can pcomplete/sudo use the same approach as pcomplete/xargs and pcomplete/rsh?
If not, why not?

If yes but there are still problems, do those problems also affect
pcomplete/xargs and pcomplete/rsh?
If not, why not?

If yes, then let's first focus on fixing pcomplete/xargs.


        Stefan




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.