From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#11051: 24.0.94; `widget-complete': Remove quote for `widget-complete-field' Date: Tue, 20 Mar 2012 09:50:15 -0700 Message-ID: References: <313DC3057C304A4DBD89172E6B1DB89D@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332262324 21224 80.91.229.3 (20 Mar 2012 16:52:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 16:52:04 +0000 (UTC) To: <11051@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 20 17:52:03 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SA2Hv-0007f7-1i for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 17:51:59 +0100 Original-Received: from localhost ([::1]:39309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2Hu-0005ie-G8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 12:51:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2HT-0005du-RU for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:51:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA2HN-0002ag-IX for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:51:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2HN-0002aa-Ek for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:51:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SA2kz-00071h-QV for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 13:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2012 17:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11051-submit@debbugs.gnu.org id=B11051.133226406326898 (code B ref 11051); Tue, 20 Mar 2012 17:22:01 +0000 Original-Received: (at 11051) by debbugs.gnu.org; 20 Mar 2012 17:21:03 +0000 Original-Received: from localhost ([127.0.0.1]:58273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA2k2-0006zm-QF for submit@debbugs.gnu.org; Tue, 20 Mar 2012 13:21:03 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:19201) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA2k0-0006zL-Al for 11051@debbugs.gnu.org; Tue, 20 Mar 2012 13:21:01 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q2KGoLZG027167 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <11051@debbugs.gnu.org>; Tue, 20 Mar 2012 16:50:22 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q2KGoKCJ011677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <11051@debbugs.gnu.org>; Tue, 20 Mar 2012 16:50:21 GMT Original-Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q2KGoKd4023886 for <11051@debbugs.gnu.org>; Tue, 20 Mar 2012 11:50:20 -0500 Original-Received: from dradamslap1 (/10.159.47.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Mar 2012 09:50:19 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <313DC3057C304A4DBD89172E6B1DB89D@us.oracle.com> Thread-Index: Ac0GuPsxqm6lpJBmTj2/MwpO51zrTwAAELiQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090203.4F68B54E.00D6,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57901 Archived-At: 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.