emacs-counsel-gtags
emacs-counsel-gtags copied to clipboard
global:invalid regular expression.
Hi, about ten days ago, my gtags can't be used normally, when I use counsel-gtags-find-definition
and counsel-gtags-find-reference
commands, emacs will give me an error message: global:invalid regular expression.
some version information :
OS: Ubuntu 1604 Emacs version: 26.2 Global version: 6.6 My emacs config:
(use-package counsel-gtags :ensure t :init (add-hook 'c-mode-hook 'counsel-gtags-mode) (add-hook 'after-save-hook 'counsel-gtags-update-tags) :bind (:map counsel-gtags-mode-map ("M-t" . counsel-gtags-find-definition) ("M-r" . counsel-gtags-find-reference) ("M-s" . counsel-gtags-find-symbol) ("M-," . counsel-gtags-go-backward)))
I've tried to reinstall global and counsel-gtags to address the problem,but I failed. I've noticed that counsel-gtags have been updated recently,so I'm guessing if it's because of the gtags update. When I rolled back the gtags version to 5df12da 29 days ago, the problem went away, but I don't know why?