Re: Proposed patch - Better choice of default for gtags-visit-rootdir

Earl Chew <[email protected]>
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <[email protected]>
On 27/9/2015 15:38, Shigio YAMAGUCHI wrote:
> Hello,
> Sorry but I don't understand what is problem.
> Would you please tell me a method by example which reproduce
> the situation of the problem?

The key to reproducing this problem is to start in a new directory tree
that is lacking GTAGS, GRTAGS and GPATH. The order of operations
is:

1) gtags-visit-rootdir to establish the correct root directory
2) Then issue gtags in shell to establish database

Suppose I have the source directory tree rooted at .../src, and in
that directory I also have .../src/test.py.

I visit .../src/test.py. In the text buffer, I now issue
gtags-visit-rootdir and the minibuffer shows me ".../src/"
so I accept and press RETURN. It is important to accept
the minibuffer content by only pressing RETURN, and not typing
anything else. When I do this, I get the error:

".../src/test.py is not a directory"

I will send to you directly a series of screen shots showing the above
sequence, to avoid spamming the mailing list.

Earl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.