tags: warn if citre-locate-tag fails to find regexp within search-limit#175
tags: warn if citre-locate-tag fails to find regexp within search-limit#175joeyjyliu wants to merge 1 commit into
Conversation
|
Thanks for the PR! It would be nice to warn the user, but there are 2 problems in the current implementation. First, the search fails because of an outdated tags file / global database. We should guide the user to regenerate it, rather than to increate And, sometimes A better way is to let An extra tip: You could break a string like this: (message "Regexp not found but the buffer size is larger than \
citre-tag-pattern-search-limit; Consider increasing it") |
|
Thanks for the comments! Please feel free to implement the way you feel most suitable. My use case is limited (only ctags and one ctags file) so I'm probably not the best person to implement a general enhancement here. |
It'd be nice to warn the user the attempt to locate the tag by regexp has failed probably due to the search limit; otherwise it's quite confusing to have the buffer ending up with: