GNU bug report logs -
#11051
24.0.94; `widget-complete': Remove quote for `widget-complete-field'
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Tue, 20 Mar 2012 17:18:03 UTC
Severity: normal
Found in version 24.0.94
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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.
This bug report was last modified 13 years and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.