GNU bug report logs -
#36696
26.2; query-replace error
Previous Next
Reported by: Theodore Ehrenborg <theodore.ehrenborg <at> gmail.com>
Date: Tue, 16 Jul 2019 20:30:02 UTC
Severity: normal
Tags: fixed
Found in version 26.2
Fixed in version 27.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
tags 36696 unreproducible
thanks
> From: Theodore Ehrenborg <theodore.ehrenborg <at> gmail.com>
> Date: Tue, 16 Jul 2019 16:22:44 -0400
>
> Type emacs -Q
> Use C-x C-f to open a new file called test.tex
> Type the following three lines in test.tex:
> \foo
> foo
> foo
> (The first line is '\foo', not 'foo')
> Then go to the beginning of the file with M-<
> and use M-% to begin query-replace
> Try to replace 'foo' with 'foo'.
> When prompted for the first line,
> type 'y' to replace.
> Then emacs returns an error:
> Args out of range: #<buffer test.tex>, 0, 1
>
> I'm using the most recent installation of MacTex and emacs.
> Both were installed with Homebrew.
I cannot reproduce this in Emacs 26.2, 26.2.90, and 27 built from
sources.
Maybe it's specific to MacTex and Emacs installed with Homebrew.
This bug report was last modified 5 years and 305 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.