all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 16716@debbugs.gnu.org
Subject: bug#16716: 24.3.50; (wrong-type-argument number-or-marker-p t) from `completion--try-word-completion'
Date: Mon, 10 Feb 2014 10:29:53 -0800 (PST)	[thread overview]
Message-ID: <9c1aa77d-93a8-4986-bb61-004feae7dd0d@default> (raw)

The problem is this code:

  (when (and (=3D 1 (length comps) (consp (car comps))))

There is a missing right paren after (length comps) etc.


Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p t)
  =3D(1 1 t)
  (and (=3D 1 (length comps) (consp (car comps))))
  (if (and (=3D 1 (length comps) (consp (car comps)))) (progn (setq comp (c=
ar comps))))
  (let* ((exts (mapcar (function (lambda (str) (propertize str (quote compl=
etion-try-word) t))) (quote (" " "-")))) (before (substring string 0 point)=
) (after (substring string point)) (comps (delete nil (mapcar (function (la=
mbda (ext) (completion-try-completion ... table predicate ... md))) exts)))=
) (if (and (=3D 1 (length comps) (consp (car comps)))) (progn (setq comp (c=
ar comps)))))
  (progn (let* ((exts (mapcar (function (lambda (str) (propertize str ... t=
))) (quote (" " "-")))) (before (substring string 0 point)) (after (substri=
ng string point)) (comps (delete nil (mapcar (function (lambda ... ...)) ex=
ts)))) (if (and (=3D 1 (length comps) (consp (car comps)))) (progn (setq co=
mp (car comps))))))
  (if (=3D (length string) (length (car comp))) (progn (let* ((exts (mapcar=
 (function (lambda ... ...)) (quote (" " "-")))) (before (substring string =
0 point)) (after (substring string point)) (comps (delete nil (mapcar (func=
tion ...) exts)))) (if (and (=3D 1 (length comps) (consp (car comps)))) (pr=
ogn (setq comp (car comps)))))))
  (if (not (consp comp)) comp (if (=3D (length string) (length (car comp)))=
 (progn (let* ((exts (mapcar (function ...) (quote ...))) (before (substrin=
g string 0 point)) (after (substring string point)) (comps (delete nil (map=
car ... exts)))) (if (and (=3D 1 (length comps) (consp ...))) (progn (setq =
comp (car comps))))))) (let* ((comppoint (cdr comp)) (completion (car comp)=
) (before (substring string 0 point)) (combined (concat before "\n" complet=
ion))) (if (string-match "\\(.+\\)\n.*?\\1" combined) (progn (let* ((prefix=
 (match-string 1 before)) (rem (substring combined ...)) (after (substring =
string point)) (suffix (if ... ...))) (if (and (or suffix ...) (string-matc=
h ... completion) (eq ... comppoint) (string-match "\\W" completion ...) (>=
 comppoint ...)) (progn (let ... ... ...)))))) (cons completion comppoint)))
  (let ((comp (completion-try-completion string table predicate point md)))=
 (if (not (consp comp)) comp (if (=3D (length string) (length (car comp))) =
(progn (let* ((exts (mapcar ... ...)) (before (substring string 0 point)) (=
after (substring string point)) (comps (delete nil ...))) (if (and (=3D 1 .=
.. ...)) (progn (setq comp ...)))))) (let* ((comppoint (cdr comp)) (complet=
ion (car comp)) (before (substring string 0 point)) (combined (concat befor=
e "\n" completion))) (if (string-match "\\(.+\\)\n.*?\\1" combined) (progn =
(let* ((prefix ...) (rem ...) (after ...) (suffix ...)) (if (and ... ... ..=
. ... ...) (progn ...))))) (cons completion comppoint))))
  completion--try-word-completion("apropos" [restart-case icicle-candidates=
-alist d:/Emacs-24\.3/src/ cookie-cache vhdl-template-attribute-hook DokCha=
mpa Gabriola Fetch\ Newsgroups major-mode-map icicle-looking-at-p m-c-table=
 icicle-universal-argument--mode icicle-incremental-completion-delay FrameM=
akerSmallFont Century\ Gothic icicle-imenu-face image-dired-associated-dire=
d-buffer icicle-bookmark-all-tags-other-window multi-isearch-end debugger--=
locals-visible-p method-after select\.el eieio-class-definition icicle-dir-=
prefix-wo-wildcards icicle-this-command-keys-prefix icicle-bookmark-with-ta=
gs-menu-map debugger--hide-locals Roman icicle-imenu-non-interactive-functi=
on-p icicle-ess-complete-filename ALTP delete-whitespace-rectangle-line i-n=
arrow-candidates open-rectangle-line icicle-color-hsv-lessp cs1 cs2 eieio-s=
et-defaults save-selected More\.\.\. icicle-cdr-lessp mach icicle-search-bo=
okmark-list-bookmark Palatino\ Linotype file-or-dir mct-cand minibuffer-dep=
th-setup bbdb-extract-address-components-func No\ references icicle-search-=
region-bookmark ...] #[...




In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-02-06 on ODIEONE
Bzr revision: 116299 rgm@gnu.org-20140207032552-3ycw6hai2zl7yynq
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs
 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib
 CPPFLAGS=3D-Ic:/Devel/emacs/include'





                 reply	other threads:[~2014-02-10 18:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=9c1aa77d-93a8-4986-bb61-004feae7dd0d@default \
    --to=drew.adams@oracle.com \
    --cc=16716@debbugs.gnu.org \
    /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.