"No error here"这是个什么错误?

rg 搜索,搜索出结果后,选中结果项,按回车,就出现了下面的错误:

Debugger entered--Lisp error: (error "No error here")
  signal(error ("No error here"))                    
  error("No %s here" "error")                        
  compilation-next-error(0 nil 469)                  
  compilation-next-error-function(0 nil)             
  next-error-internal()                              
  compile-goto-error(13)                             
  funcall-interactively(compile-goto-error 13)       
  call-interactively(compile-goto-error nil nil)     
  command-execute(compile-goto-error)                

rg应该用的是compile-mode 可能我记错了 反正就是有这么一个mode

会对输出的行进行正则匹配 然后找到出错的位置

这个错误意思是 没有匹配

谢谢,刚刚搞清楚了,问题出在C-n/C-p的行为在rg结果中改成了跳到下一个文件,光标停在文件名上,而不是匹配行上,要用M-n/M-p或者光标键才能把光标移动到匹配行上,再回车.平时习惯了C-n/C-p...

把解决方案给自己 不厚道吧

哈哈..这就是表扬与自我表扬的精神...