unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alcor <alcor@tilde.club>
Cc: 70058-done@debbugs.gnu.org
Subject: bug#70058: 29.3; `Info-search-case-sensitively' errors with "Wrong type argument: stringp, nil" on failed search
Date: Sat, 30 Mar 2024 10:02:18 +0300	[thread overview]
Message-ID: <868r20dwxx.fsf@gnu.org> (raw)
In-Reply-To: <87h6gq3uwx.fsf@tilde.club> (message from Alcor on Thu, 28 Mar 2024 22:31:42 +0100)

> From: Alcor <alcor@tilde.club>
> Cc: 70058@debbugs.gnu.org
> Date: Thu, 28 Mar 2024 22:31:42 +0100
> 
> Hi Eli,
> 
> > Does the patch below give good results?
> >
> > diff --git a/lisp/info.el b/lisp/info.el
> > index 1c6df9a..5817737 100644
> > --- a/lisp/info.el
> > +++ b/lisp/info.el
> > @@ -2056,7 +2056,7 @@ Info-search
> >                        (re-search-forward regexp nil t))
> >                (signal 'user-search-failed (list regexp))))))
> >  
> > -      (if (and bound (not found))
> > +      (if (and (or bound (not Info-current-subfile)) (not found))
> >            (signal 'user-search-failed (list regexp)))
> >  
> >        (unless (or found bound)
> 
> Yes, it does. Thanks.

Thanks, installed on the emacs-29 branch (soon to be merged to
master), and closing the bug.





      reply	other threads:[~2024-03-30  7:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 16:40 bug#70058: 29.3; `Info-search-case-sensitively' errors with "Wrong type argument: stringp, nil" on failed search Alcor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-28 20:19 ` Eli Zaretskii
2024-03-28 21:31   ` Alcor via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-30  7:02     ` Eli Zaretskii [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=868r20dwxx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=70058-done@debbugs.gnu.org \
    --cc=alcor@tilde.club \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).