GNU bug report logs - #4147
23.1.50: Info-search command strange behaviour

Previous Next

Package: emacs;

Reported by: Jamie Lokier <jamie <at> shareable.org>

Date: Sat, 15 Aug 2009 03:55:05 UTC

Severity: normal

Tags: patch

Fixed in version 23.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#4147: closed (23.1.50: Info-search command strange behaviour)
Date: Thu, 06 Oct 2011 03:43:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 05 Oct 2011 23:41:56 -0400
with message-id <jwy5wyvla3.fsf <at> fencepost.gnu.org>
and subject line Re: bug#4147: 23.1.50: Info-search command strange behaviour
has caused the debbugs.gnu.org bug report #4147,
regarding 23.1.50: Info-search command strange behaviour
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
4147: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4147
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jamie Lokier <jamie <at> shareable.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50: Info-search command strange behaviour
Date: Sat, 15 Aug 2009 04:49:57 +0100
In GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.16.1)
 of 2009-07-31 on lansones, modified by Debian
 (emacs-snapshot package, version 1:20090730-1~jaunty1)
 (= the Ubuntu-PPA Jaunty package at the time of writing)


When searching through a manual with the 's' key, which invokes
Info-search, it has odd behaviour when the string isn't found.

Firstly, sometimes it shows the usual message about not finding the
string, but moves point forward by a few characters that have no
relationship with the search.  Point should remain in the same place.

Secondly, sometimes after entering the search regex, instead of
searching it says Wrong type argument: stringp, nil.

Here's how I can repeat it:

Start Emacs with no customisation:
    emacs -nw -Q

Invoke Info, go to the directory:
    C-h i

Search:
    s blahblah RET
    => Says it can't find it, and point does not move.

Go to the Emacs manual:
    m Emacs (emacs-snapshot) RET

Search:
    s blahblah RET
    => Says it can't find it, but moves point forward a few characters.

Go back to the Info directory:
    d

Search:
    s blahblah RET
    => Says "Wrong type argument: stringp, nil"


That's all.  It was the point moving that I found particularly odd,
when searching repeatedly for a term.  First point moved as expected
with each "s RET" sequence, but then it carried on moving after there
were no more occurrences which was confusing.  I noticed the error
after returning to the Info directory following that.


Thanks,
-- Jamie

[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 4147-done <at> debbugs.gnu.org
Subject: Re: bug#4147: 23.1.50: Info-search command strange behaviour
Date: Wed, 05 Oct 2011 23:41:56 -0400
Version: 23.2

Jamie Lokier wrote:

> Start Emacs with no customisation:
>     emacs -nw -Q
>
> Invoke Info, go to the directory:
>     C-h i
>
> Search:
>     s blahblah RET
>     => Says it can't find it, and point does not move.
>
> Go to the Emacs manual:
>     m Emacs (emacs-snapshot) RET
>
> Search:
>     s blahblah RET
>     => Says it can't find it, but moves point forward a few characters.

I see this in 23.1 but not 23.2, so it looks like this was fixed.


This bug report was last modified 13 years and 234 days ago.

Previous Next


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