Good idea, but the change of behavior should also apply to the found
files, not only to the completion list, right?

So,
 (gtags-goto-tag tagname "P")
in gtags-find-file could be changed into
 (gtags-goto-tag (concat "/" tagname) "P")
?

Regards,
  Tobias

2009/10/16 Shigio YAMAGUCHI <[email protected]>:
> 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 <[email protected]>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
>
>


_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to