GNU bug report logs - #47909
doc-id searches only match last record in the file

Previous Next

Package: hyperbole;

Reported by: Brad Knotwell <bknotwell <at> yahoo.com>

Date: Tue, 20 Apr 2021 16:16:01 UTC

Severity: normal

Done: rswgnu <at> gmail.com

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 47909 in the body.
You can then email your comments to 47909 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-hyperbole <at> gnu.org:
bug#47909; Package hyperbole. (Tue, 20 Apr 2021 16:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brad Knotwell <bknotwell <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-hyperbole <at> gnu.org. (Tue, 20 Apr 2021 16:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brad Knotwell <bknotwell <at> yahoo.com>
To: bug-hyperbole <at> gnu.org
Subject: doc-id searches only match last record in the file
Date: Tue, 20 Apr 2021 08:43:58 -0700
I use:  Editor:      GNU Emacs 27.2 (build 1, x86_64-apple-darwin17.7.0, Carbon Version 158 AppKit 1561.6)

        Hyperbole:   7.1.3
        Sys Type:    x86_64-apple-darwin17.7.0
        OS Type:     darwin
        Window Sys:  mac
        News Reader: Gnus v5.13

If you setup a file like what's at the end of the email, setup the
doc-id-indices variable (NB:  the documentation for that variables needs
updating as it says it's a list but it throws an error on a list and
works with a filename passed in as a string), and add two doc-id links
like the following:

[BigBaboonNation-001]
[BigBaboon-001]

Hyperbole will only find the 'BigBaboon-001' entry.  For the
'BigBaboonNation-001' entry, you'll receive the following error:

   Wrong type argument: integer-or-marker-p, nil

If I switch the entry order in the file, the behavior will swap with
'BigBaboonNation-001' matching.

-----------
Title:  Big Baboon Nation        ID: [BigBaboonNation-001]
Email-To: bknotwell <at> yahoo.com
Distribution:  everywhere

Abstract:  hello world

References:

Author:  b knotwell
Copyright:
Keywords:

Online-Format:
Online-Loc:       "https://lists.gnu.org/archive/html/bug-hyperbole/2021-04/msg00005.html"
Printed-Format:
Printed-Loc:      Local Library
Printable-Loc:    ""
Source-Format:
Source-Loc:       ""
Date:
Version:
Version-Changes:
------------
Title:  Big Baboon         ID: [BigBaboon-001]
Email-To: bknotwell <at> yahoo.com
Distribution:  everywhere

Abstract:  hello world

References:

Author:  b knotwell
Copyright:
Keywords:

Online-Format:
Online-Loc:       "https://lists.gnu.org/archive/html/bug-hyperbole/2021-04/msg00006.html"
Printed-Format:
Printed-Loc:      Local Library
Printable-Loc:    ""
Source-Format:
Source-Loc:       ""
Date:
Version:
Version-Changes:






Information forwarded to bug-hyperbole <at> gnu.org:
bug#47909; Package hyperbole. (Wed, 21 Apr 2021 04:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 47909 <at> debbugs.gnu.org (full text, mbox):

From: Robert Weiner <rsw <at> gnu.org>
To: Brad Knotwell <bknotwell <at> yahoo.com>
Cc: 47909 <at> debbugs.gnu.org
Subject: Re: bug#47909: doc-id searches only match last record in the file
Date: Wed, 21 Apr 2021 00:29:48 -0400
[Message part 1 (text/plain, inline)]
Hi Brad:

Thanks for the example.  This code had not been touched in a long time.
Your pointer made us have a look and we have updated it and fixed a few
issues including yours in the latest Hyperbole git tip commit.  Install
that, restart your Emacs and give it another try.  We will close this
issue.  -- Bob

On Tue, Apr 20, 2021 at 12:16 PM Brad Knotwell via Bug-hyperbole via <
bug-hyperbole <at> gnu.org> wrote:

> I use:  Editor:      GNU Emacs 27.2 (build 1, x86_64-apple-darwin17.7.0,
> Carbon Version 158 AppKit 1561.6)
>
>         Hyperbole:   7.1.3
>         Sys Type:    x86_64-apple-darwin17.7.0
>         OS Type:     darwin
>         Window Sys:  mac
>         News Reader: Gnus v5.13
>
> If you setup a file like what's at the end of the email, setup the
> doc-id-indices variable (NB:  the documentation for that variables needs
> updating as it says it's a list but it throws an error on a list and
> works with a filename passed in as a string), and add two doc-id links
> like the following:
>
> [BigBaboonNation-001]
> [BigBaboon-001]
>
> Hyperbole will only find the 'BigBaboon-001' entry.  For the
> 'BigBaboonNation-001' entry, you'll receive the following error:
>
>    Wrong type argument: integer-or-marker-p, nil
>
> If I switch the entry order in the file, the behavior will swap with
> 'BigBaboonNation-001' matching.
>
> -----------
> Title:  Big Baboon Nation        ID: [BigBaboonNation-001]
> Email-To: bknotwell <at> yahoo.com
> Distribution:  everywhere
>
> Abstract:  hello world
>
> References:
>
> Author:  b knotwell
> Copyright:
> Keywords:
>
> Online-Format:
> Online-Loc:       "
> https://lists.gnu.org/archive/html/bug-hyperbole/2021-04/msg00005.html"
> Printed-Format:
> Printed-Loc:      Local Library
> Printable-Loc:    ""
> Source-Format:
> Source-Loc:       ""
> Date:
> Version:
> Version-Changes:
> ------------
> Title:  Big Baboon         ID: [BigBaboon-001]
> Email-To: bknotwell <at> yahoo.com
> Distribution:  everywhere
>
> Abstract:  hello world
>
> References:
>
> Author:  b knotwell
> Copyright:
> Keywords:
>
> Online-Format:
> Online-Loc:       "
> https://lists.gnu.org/archive/html/bug-hyperbole/2021-04/msg00006.html"
> Printed-Format:
> Printed-Loc:      Local Library
> Printable-Loc:    ""
> Source-Format:
> Source-Loc:       ""
> Date:
> Version:
> Version-Changes:
>
>
>
>
>
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
>
[Message part 2 (text/html, inline)]

bug closed, send any further explanations to 47909 <at> debbugs.gnu.org and Brad Knotwell <bknotwell <at> yahoo.com> Request was from Robert Weiner <rsw <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 21 Apr 2021 04:33:01 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. (Wed, 19 May 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 343 days ago.

Previous Next


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