bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Earl Chew
Subject: Re: Proposed patch - Better choice of default for gtags-visit-rootdir
Date: Sun, 27 Sep 2015 20:59:51 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

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




reply via email to

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