unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sergey Organov <sorganov@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Search'n'replace intermittent error
Date: Fri, 04 Feb 2022 01:40:29 +0300	[thread overview]
Message-ID: <sthll0$phu$1@ciao.gmane.io> (raw)
In-Reply-To: 87o83nu1uj.fsf@gnu.org

Tassilo Horn <tsdh@gnu.org> writes:

> Sergey Organov <sorganov@gmail.com> writes:
>
> Hi Sergey,
>
>> 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 think this is bug#36328 which has been fixed in at least 27.1.

Yeah, exactly! Thanks a lot!

-- 
Sergey Organov




      reply	other threads:[~2022-02-03 22:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-03 15:40 Search'n'replace intermittent error Sergey Organov
2022-02-03 20:32 ` Tassilo Horn
2022-02-03 22:40   ` Sergey Organov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='sthll0$phu$1@ciao.gmane.io' \
    --to=sorganov@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).