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.

Full log


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:






This bug report was last modified 4 years and 28 days ago.

Previous Next


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