GNU bug report logs -
#22575
25.0.50; isearch-query-replace wrong type argument
Previous Next
Reported by: Óscar Fuentes <ofv <at> wanadoo.es>
Date: Sun, 7 Feb 2016 01:37:02 UTC
Severity: normal
Found in version 25.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22575 in the body.
You can then email your comments to 22575 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22575
; Package
emacs
.
(Sun, 07 Feb 2016 01:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Óscar Fuentes <ofv <at> wanadoo.es>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 07 Feb 2016 01:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
emacs -Q
In *scratch*, put the point at the beginning of the buffer and
M-x isearch-query-replace
The minibuffer shows
Wrong type argument: stringp, nil
The same happens if an isearch was previously executed. (From reading
the docstring, I don't know how isearch-query-replace is supposed to
work.)
In GNU Emacs 25.0.50.29 (x86_64-unknown-linux-gnu, X toolkit)
of 2016-01-21 built on qcore
Repository revision: 5293d1bdb3e665a565af032a163004c976328cc2
Windowing system distributor 'The X.Org Foundation', version 11.0.11702000
System Description: Ubuntu 15.10
Configured using:
'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid'
Configured features:
XAW3D XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS LIBXML2
FREETYPE XFT ZLIB LUCID X11
Important settings:
value of $LANG: C
locale-coding-system: nil
Major mode: Emacs-Lisp
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22575
; Package
emacs
.
(Mon, 08 Feb 2016 01:36:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 22575 <at> debbugs.gnu.org (full text, mbox):
> In *scratch*, put the point at the beginning of the buffer and
>
> M-x isearch-query-replace
>
> The minibuffer shows
>
> Wrong type argument: stringp, nil
>
> The same happens if an isearch was previously executed. (From reading
> the docstring, I don't know how isearch-query-replace is supposed to
> work.)
It's easy to fix the error of a nil ‘isearch--current-buffer’ in
‘isearch-done’ (it's also reproducible by evaling just ‘(isearch-done)’).
But then with an empty search string initially, ‘isearch-query-replace’
will start replacements of an empty string. So outside of isearch mode
it could be useful only with the last non-empty search string.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22575
; Package
emacs
.
(Sun, 07 Feb 2021 16:53:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 22575 <at> debbugs.gnu.org (full text, mbox):
Óscar Fuentes <ofv <at> wanadoo.es> writes:
> In *scratch*, put the point at the beginning of the buffer and
>
> M-x isearch-query-replace
>
> The minibuffer shows
>
> Wrong type argument: stringp, nil
I'm unable to reproduce this in Emacs 28 (it instead replaces the
zero-length string with whatever you say it should), so I'm guessing
this has been fixed in the years since it was reported, and I'm closing
this bug report. If this is still a problem, please respond to the
debbugs address and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
22575 <at> debbugs.gnu.org and Óscar Fuentes <ofv <at> wanadoo.es>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 07 Feb 2021 16:53:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 08 Mar 2021 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 162 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.