GNU bug report logs - #17165
24.4.50; icomplete-exhibit: (wrong-type-argument number-or-marker-p nil)

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 2 Apr 2014 02:00:02 UTC

Severity: minor

Tags: moreinfo, wontfix

Found in version 24.4.50

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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 17165 <at> debbugs.gnu.org
Subject: bug#17165: 24.4.50; icomplete-exhibit: (wrong-type-argument number-or-marker-p nil)
Date: Fri, 29 Apr 2016 21:52:37 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

> I have some code that does this:
>
> (when (and (featurep 'icomplete)
>            (natnump icicle-icomplete-mode-max-candidates))
>       (if (< nb-cands icicle-icomplete-mode-max-candidates)
>           (if (not icicle-last-icomplete-mode-value)
>               (icomplete-mode -1)
>             (icomplete-mode 1)
>             (icomplete-exhibit)) ; <==========
>           (icomplete-tidy)
>           (icomplete-mode -1)))
>
> Once in a while I have seen this wrong-type-argument error.  I suspect,
> but I do not know, that it comes from this code in `icomplete-exhibit':
>
> (if (and (or icomplete-show-matches-on-no-input
>              (> (icomplete--field-end) (icomplete--field-beg)))
>     ...

Do you have a recipe for this bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 8 years and 166 days ago.

Previous Next


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