baohaojun / ajoke

Abducting Java Onto Emacs, K is silent.
GNU General Public License v2.0
73 stars 3 forks source link

chdir() is deprecate at BhjJava.pm #4

Open mut0u opened 11 years ago

mut0u commented 11 years ago

When i use the 'ajoke-complete-method' function , the mini buffer show that :

Which method to call ? /bin/bash : -c  line 0: syntax error near unexpected 
token`(' | /bin/bath -c : line 0: `ajoke-get-hierarchy.pl Use of chdir('') or chdir(undef) as 
chdir() is deprecated at   ../ajoke/etc/perl/BhjJava.pm line 50.
baohaojun commented 11 years ago

Hi, thanks for the report.

Please provide more infomation about the issue. For e.g., what is in your current buffer, where are your point when you used ajoke-complete-method. What does ajoke-resolve say when you use it at the same point.

baohaojun commented 11 years ago

You have not made gtags database, have you?

I have added a check for this situation, hope it helps.

baohaojun commented 11 years ago

Also made the error output a bit more clear.