unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: 10053@debbugs.gnu.org
Subject: bug#10053: Wrong use of minibuffer-completion-table in tmm-add-prompt
Date: Tue, 15 Nov 2011 11:41:52 +0100	[thread overview]
Message-ID: <8739dpzmz3.fsf@gmail.com> (raw)

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 






             reply	other threads:[~2011-11-15 10:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-15 10:41 Thierry Volpiatto [this message]
2011-11-15 20:27 ` bug#10053: Wrong use of minibuffer-completion-table in tmm-add-prompt 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

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=8739dpzmz3.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=10053@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 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).