unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10053: Wrong use of minibuffer-completion-table in tmm-add-prompt
@ 2011-11-15 10:41 Thierry Volpiatto
  2011-11-15 20:27 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Thierry Volpiatto @ 2011-11-15 10:41 UTC (permalink / raw)
  To: 10053

Hi,
in `tmm-add-prompt' completions is set with

(mapcar 'car minibuffer-completion-table)

which is wrong IMHO and cause error like:

--8<---------------cut here---------------start------------->8---
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) 
[...]


  tmm-add-prompt()
  read-string("Menu bar (up/down to change, PgUp to menu): " nil nil "")
--8<---------------cut here---------------end--------------->8---

When `minibuffer-completion-table' is set.
While it is nil, it works of course.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-11-16 21:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2011-11-16 21:05               ` Thierry Volpiatto

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).