redguardtoo / counsel-etags

Fast, energy-saving, and powerful code navigation solution
174 stars 15 forks source link

Emacs26 backward/forward-word will not stop at special character such as underline #51

Closed Yangruipis closed 4 years ago

Yangruipis commented 4 years ago

比如一个命名: aaa_bbb_ccc||表示光标位置,本来 backward-word (M-b) 后光标位置为:aaa_bbb_|ccc,在调用了 counsel-etags-find-tag-at-point 后,光标位置直接跳过了中间的"_",变成|aaa_bbb_ccc

redguardtoo commented 4 years ago

What's the major-mode?

Yangruipis commented 4 years ago

What's the major-mode?

Thanks for your reply, I got this issue in python-mode and sh-mode. In c++-mode It works fine.

redguardtoo commented 4 years ago

9fae8ad restore syntax table after extracting tag names (Chen Bin)

Yangruipis commented 4 years ago

Thanks!It works for me~~~