[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Search'n'replace intermittent error
From: |
Sergey Organov |
Subject: |
Search'n'replace intermittent error |
Date: |
Thu, 03 Feb 2022 18:40:35 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hello,
Sometimes, when I run query-replace (M-%) in a buffer, I get an error
that, after turning debug-on-error to 't, looks like this:
Debugger entered--Lisp error: (args-out-of-range #<buffer
Makefile<linux-driver>> 0 1)
buffer-substring-no-properties(0 1)
perform-replace("br_rev" "BR_REV" t nil nil nil nil nil nil nil nil)
query-replace("br_rev" "BR_REV" nil nil nil nil nil)
funcall-interactively(query-replace "br_rev" "BR_REV" nil nil nil nil nil)
call-interactively(query-replace nil nil)
command-execute(query-replace)
Does this ring a bell? I've tried to look at the code, but it's rather
convoluted and I can't easily figure how to fix it.
In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14)
of 2020-03-26, modified by Debian built on lcy01-amd64-020
System Description: Ubuntu 20.04.2 LTS
Thanks,
-- Sergey Organov
- Search'n'replace intermittent error,
Sergey Organov <=