[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10487: 24.0.92; [PATCH] Feature request: pcomplete/find, pcomplete/h
From: |
Lars Ingebrigtsen |
Subject: |
bug#10487: 24.0.92; [PATCH] Feature request: pcomplete/find, pcomplete/hg. |
Date: |
Thu, 25 Feb 2016 16:42:14 +1030 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
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
- bug#10487: 24.0.92; [PATCH] Feature request: pcomplete/find, pcomplete/hg.,
Lars Ingebrigtsen <=