unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 10487@debbugs.gnu.org
Subject: bug#10487: 24.0.92; [PATCH] Feature request: pcomplete/find, pcomplete/hg.
Date: Thu, 25 Feb 2016 16:42:14 +1030	[thread overview]
Message-ID: <87twkxwc75.fsf@gnus.org> (raw)
In-Reply-To: <87boq8n62m.fsf@gmail.com> (Thierry Volpiatto's message of "Thu,  12 Jan 2012 19:12:17 +0100")

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi, here a patch that provide pcomplete/find and pcomplete/hg functions.
> They are in lisp/pcmpl-gnu.el, but */hg maybe should go in its own file,
> e.g pcmpl-hg.el.

;;;###autoload
+(defun pcomplete/find ()
+  "Completion for GNU find utility."
+  (let ((prec (pcomplete-arg 'last -1)))

I think this seems useful...

+(defun* pcomplete-get-hg-commands (&key com opts spec)
+  "Extract infos for hg/mercurial commands."
+  (with-temp-buffer

But perhaps hg is waning so much in popularity that it doesn't make all
that much sense to add completion support for hg in Emacs these days?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2016-02-25  6:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-12 18:12 bug#10487: 24.0.92; [PATCH] Feature request: pcomplete/find, pcomplete/hg Thierry Volpiatto
2016-02-25  6:12 ` Lars Ingebrigtsen [this message]
2016-02-25  6:51   ` John Wiegley

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=87twkxwc75.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=10487@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /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).