mhayashi1120 / Emacs-wgrep

Writable grep buffer and apply the changes to files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error "Invalid search bound (wrong side of poin

getong opened this issue · comments

commented

I use consult-grep and embark.
The error msg:

Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)")
  re-search-backward("^$" 66 t)
  wgrep-prepare-header&footer()
  wgrep-prepare-to-edit()
  wgrep-change-to-wgrep-mode()
  #<subr funcall-interactively>(wgrep-change-to-wgrep-mode)
  apply(#<subr funcall-interactively> wgrep-change-to-wgrep-mode)
  funcall-interactively(wgrep-change-to-wgrep-mode)
  #<subr call-interactively>(wgrep-change-to-wgrep-mode record nil)
  apply(#<subr call-interactively> (wgrep-change-to-wgrep-mode record nil))
  explain-pause--wrap-call-interactively(#<subr call-interactively> wgrep-change-to-wgrep-mode record nil)
  apply(explain-pause--wrap-call-interactively #<subr call-interactively> (wgrep-change-to-wgrep-mode record nil))
  call-interactively(wgrep-change-to-wgrep-mode record nil)
  command-execute(wgrep-change-to-wgrep-mode record)
  execute-extended-command(nil "wgrep-change-to-wgrep-mode" nil)
  #<subr funcall-interactively>(execute-extended-command nil "wgrep-change-to-wgrep-mode" nil)
  apply(#<subr funcall-interactively> (execute-extended-command nil "wgrep-change-to-wgrep-mode" nil))
  funcall-interactively(execute-extended-command nil "wgrep-change-to-wgrep-mode" nil)
  #<subr call-interactively>(execute-extended-command nil nil)
  apply(#<subr call-interactively> (execute-extended-command nil nil))
  explain-pause--wrap-call-interactively(#<subr call-interactively> execute-extended-command nil nil)
  apply(explain-pause--wrap-call-interactively #<subr call-interactively> (execute-extended-command nil nil))
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)