From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 17165@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 [thread overview]
Message-ID: <87oa8sw5tm.fsf@gnus.org> (raw)
In-Reply-To: <f347bf93-2816-4318-a6b8-da5b6c80c2bd@default> (Drew Adams's message of "Tue, 1 Apr 2014 18:59:18 -0700 (PDT)")
Drew Adams <drew.adams@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
next prev parent reply other threads:[~2016-04-29 19:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 1:59 bug#17165: 24.4.50; icomplete-exhibit: (wrong-type-argument number-or-marker-p nil) Drew Adams
2016-04-29 19:52 ` Lars Ingebrigtsen [this message]
2016-04-29 21:52 ` Drew Adams
2016-12-07 19:58 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oa8sw5tm.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=17165@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.