all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <11051@debbugs.gnu.org>
Subject: bug#11051: 24.0.94; `widget-complete': Remove quote for `widget-complete-field'
Date: Tue, 20 Mar 2012 09:50:15 -0700	[thread overview]
Message-ID: <C1F6D2D7EBDB4779BFD9174839F682DC@us.oracle.com> (raw)
In-Reply-To: <313DC3057C304A4DBD89172E6B1DB89D@us.oracle.com>

1. Here is the backtrace, BTW:

Debugger entered--Lisp error: (wrong-type-argument commandp
widget-complete-field)
* call-interactively(widget-complete-field)
* (cond ((functionp data) (funcall data)) ((consp data) (let
((completion-extra-properties (nth 3 data))) (completion-in-region (nth 0 data)
(nth 1 data) (nth 2 data) (plist-get completion-extra-properties :predicate))))
((widget-field-find (point)) (call-interactively (quote widget-complete-field)))
(t (error "Not in an editable field")))
* (let ((data (widget-completions-at-point))) (cond ((functionp data) (funcall
data)) ((consp data) (let ((completion-extra-properties (nth 3 data)))
(completion-in-region (nth 0 data) (nth 1 data) (nth 2 data) (plist-get
completion-extra-properties :predicate)))) ((widget-field-find (point))
(call-interactively (quote widget-complete-field))) (t (error "Not in an
editable field"))))
  widget-complete()
* call-interactively(widget-complete nil nil)

2. But won't fixing this by removing the quote lead to an infloop:
`widget-complete' calling the command bound to `M-TAB', which invokes
`widget-complete'...?

Not sure the logic of this code is correct anymore, since it was last changed.






  reply	other threads:[~2012-03-20 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 16:46 bug#11051: 24.0.94; `widget-complete': Remove quote for `widget-complete-field' Drew Adams
2012-03-20 16:50 ` Drew Adams [this message]
2012-03-21  2:16 ` Stefan Monnier

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=C1F6D2D7EBDB4779BFD9174839F682DC@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=11051@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.