[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtags.el: Completion while "Find files:"
From: |
Shigio YAMAGUCHI |
Subject: |
Re: gtags.el: Completion while "Find files:" |
Date: |
Fri, 16 Oct 2009 21:04:47 +0900 |
Hi,
It's very convenient!
But it seems that it generates too many candidates.
How about changing like follows?
(call-process "global" nil t nil option string)
|
v
(call-process "global" nil t nil option (concat "/" string))
"global -P /ab" matches to:
abc/efg.c
==
xyz/abx.c
==
but doesn't match to:
xab/yyy.c
==
xxx/yab.c
==
What do you think?
> Hi,
>
> thanks for gnu global!
>
> gtags.el enables completion on "tab" only for tag and symbols. I am so
> used to completion, that I find myself often removing a "tab" from the
> "Find files:" prompt :-).
>
> So, I patched "Find files:" to enable completion. I find it useful,
> and it makes the emacs user interface more consistent.
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3