From: Leo Liu <sdl.web@gmail.com>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: 16935@debbugs.gnu.org
Subject: bug#16935: 24.3.50; when tab-completing in 'M-x' : "Wrong type argument: numberp, nil"
Date: Tue, 04 Mar 2014 22:27:22 +0800 [thread overview]
Message-ID: <m1ppm2f391.fsf@gmail.com> (raw)
In-Reply-To: <871tyiyrvp.fsf@yahoo.fr> (Nicolas Richard's message of "Tue, 04 Mar 2014 15:12:42 +0100")
On 2014-03-04 22:12 +0800, Nicolas Richard wrote:
> --- a/lisp/minibuffer.el
> +++ b/lisp/minibuffer.el
> @@ -1753,7 +1753,7 @@ variables.")
> (if completions "Sole completion" "No completions")))
>
> (let* ((last (last completions))
> - (base-size (cdr last))
> + (base-size (or (cdr last) 0))
> (prefix (unless (zerop base-size) (substring string 0 base-size)))
> (all-md (completion--metadata (buffer-substring-no-properties
> start (point))
I noticed this error too. (base-size (cdr last)) is used in 24.3 and no
errors there. So it will be good to know where the problem originated
and fix it.
Leo
next prev parent reply other threads:[~2014-03-04 14:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-04 14:12 bug#16935: 24.3.50; when tab-completing in 'M-x' : "Wrong type argument: numberp, nil" Nicolas Richard
2014-03-04 14:27 ` Leo Liu [this message]
2014-03-04 14:39 ` Bastien
2014-03-04 15:03 ` Nicolas Richard
2014-03-04 15:13 ` Bastien
2014-03-04 17:03 ` Glenn Morris
2014-03-04 17:21 ` Bastien
2014-03-05 0:15 ` Leo Liu
2014-03-05 7:08 ` Bastien
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1ppm2f391.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=16935@debbugs.gnu.org \
--cc=theonewiththeevillook@yahoo.fr \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).