bug-global
[Top][All Lists]
Advanced

[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: Sun, 18 Oct 2009 13:25:55 +0900

> 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")
> ?

Only the input part might be suitable for the change.
The word 'completing read' generally means a input method supported
by collecting candidates of object whose name starts by the input string.

For example:

        > a<TAB>
        axxx    ayyy    azzz            <= start by 'a'

If this is as follows:

        > a<TAB>
        xaxx    yyya    zzaz            <= include 'a'

it contradicts the intuition of the user.
However, since a path name consists of one or more units, we should make
candidates for each unit.

On the other hand, since user should be able to use all of the function
of the -P option, the entire function need not change, I think.

Regards,
Shigio
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]