From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 10053@debbugs.gnu.org
Subject: bug#10053: Wrong use of minibuffer-completion-table in tmm-add-prompt
Date: Wed, 16 Nov 2011 13:50:34 -0500 [thread overview]
Message-ID: <jwvbosbx5x1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87wrb0dnx8.fsf@gmail.com> (Thierry Volpiatto's message of "Wed, 16 Nov 2011 17:36:51 +0100")
> Debugger entered--Lisp error: (wrong-type-argument listp closure)
> car(closure)
> mapcar(car (closure (t) (&rest args) (apply (quote
> completion-table-with-predicate) (quote internal-complete-buffer) (quote
> #[257 "\211:\203\n.\211@\202\v.\211\300\232?\207" ["anything.el"] 3 "\n\n(fn
> NAME)"]) (quote nil) args)))
> tmm-add-prompt()
> #[nil "\301\302\b\"\210\303 \207" [setup-hook remove-hook
> minibuffer-setup-hook tmm-add-prompt] 3]()
> read-string("Menu bar (up/down to change, PgUp to menu): " nil nil "")
> anything-read-pattern-maybe("Menu bar (up/down to change, PgUp to menu): "
> nil nil noresume nil "")
[...]
> anything-completing-read-default("Menu bar (up/down to change, PgUp to
> menu): " (("a==>Anything" Anything keymap "Anything" (All\ anything\
> commands menu-item "All anything commands"
[...]
> completing-read("Menu bar (up/down to change, PgUp to menu): "
> (("a==>Anything" Anything keymap "Anything" (All\ anything\ commands
> menu-item "All anything commands" anything-execute-anything-command) (Find\
I think the chunks of backtrace above show that the
anything-completing-read-default has a problem: it creates a minibuffer,
like the default completing-read code, but it fails to set
minibuffer-completion-table, which breaks callers such as tmm.
Stefan
next prev parent reply other threads:[~2011-11-16 18:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-15 10:41 bug#10053: Wrong use of minibuffer-completion-table in tmm-add-prompt Thierry Volpiatto
2011-11-15 20:27 ` Stefan Monnier
2011-11-15 21:37 ` Thierry Volpiatto
2011-11-16 2:26 ` Stefan Monnier
2011-11-16 8:27 ` Thierry Volpiatto
2011-11-16 13:32 ` Stefan Monnier
2011-11-16 16:36 ` Thierry Volpiatto
2011-11-16 18:50 ` Stefan Monnier [this message]
2011-11-16 21:05 ` Thierry Volpiatto
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=jwvbosbx5x1.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=10053@debbugs.gnu.org \
--cc=thierry.volpiatto@gmail.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.