GNU bug report logs - #70058
29.3; `Info-search-case-sensitively' errors with "Wrong type argument: stringp, nil" on failed search

Previous Next

Package: emacs;

Reported by: Alcor <alcor <at> tilde.club>

Date: Thu, 28 Mar 2024 16:42:01 UTC

Severity: normal

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 70058-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alcor <alcor <at> tilde.club>
Cc: 70058-done <at> debbugs.gnu.org
Subject: Re: 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
> From: Alcor <alcor <at> tilde.club>
> Cc: 70058 <at> 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.




This bug report was last modified 1 year and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.