-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
counsel-gtags-find-symbol shows error code 1 #22
Comments
hey before diving into this:
|
Thanks for the fast response!
I'm not familiar with elisp unit tests at all, sorry. Can you give me a head start what to look for, so I can build a mcve?
Ok, I just did that. Here is an example: $ cat hello.rb
class Hello
def hello
puts message
end
def message; 'hello, world'; end
end
$ gtags
$ ls
.rw-r--r-- 16k st 1 Dec 10:27 GPATH
.rw-r--r-- 16k st 1 Dec 10:27 GRTAGS
.rw-r--r-- 16k st 1 Dec 10:27 GTAGS
.rw-r--r-- 87 st 1 Dec 10:16 hello.rb
$ global -sx message hello.rb
message 3 hello.rb puts message
message 6 hello.rb def message; 'hello, world'; end So When I open the
Using one of
(same for |
I think xref tried using "Emacs Tags" instead of "GNU Global Tags" in your latest example. You probably missed (come to think of it, it may be worth to update |
You're right, I was missing this. Now,
So that seems to work correctly. |
let me try to debug it on my side (involves defining advice around It's going to take a few days. I personally use |
Sorry, but I have no idea about Ruby, I tried to reproduce your issue, but
Up to here everything works fine.
But here I got nothing as output. Does global needs anything special to work with ruby? I tried exactly the same example with a C and C++ code and it worked perfectly. From the terminal and with counsel-gtags... |
Running in a sandboxed Emacs using only
and generating the database with
global --gtagslabel=pygments .
(andctags
,new-ctags
) as well, I end up witherror code 1
when runningcounsel-gtags-find-symbol
after typing three chars.Is there any way to look into what
error code 1
means?System Information:
The text was updated successfully, but these errors were encountered: