Open sergeyklay opened 5 years ago
Basically gnu global -c
only accepts chars that are not regex meta chars. Thus ignore-errors-unless-debug
is used to turn such error into a message instead.
I don't want to hide or ignore errors and don't consider this as an acceptable approach in software development. In addition, I need the debug mode for my other tasks.
The real bug is in GNU global
. Kindly raise the issue there and with some luck someone may fix it the next day. It seems to me there is no reason for -c
to consider regexp meta chars.
I would like to ask you to do this for the reason that you are a much more experienced GNU global
user and know more precisely how to reproduce the error and possible workarounds.
+1 bump, just stumbled across this issue with "$N" variables in awk-mode as well. Simple fix is just to (modify-syntax-entry ?$ "'" awk-mode-syntax-table)
or provide a custom ggtags-bounds-of-tag-function
. $
probably shouldn't be a symbol in most languages, but it's common enough as a prefix that it might be worth handling. I'll try to file a bug in global, unless someone already has
Hello,
Just catched this error:
My cursor was here (between
?
and-
)Configuration:
ggtags version 20190320.2208 (MELPA)