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:46:22 -0700 Message-ID: <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 1332262077 18921 80.91.229.3 (20 Mar 2012 16:47:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 16:47:57 +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:47:56 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 1SA2Dy-0004KX-Tc for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 17:47:55 +0100 Original-Received: from localhost ([::1]:37256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2Dy-0004My-AR for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 12:47:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2Dw-0004MY-12 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:47:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA2DY-00020w-G1 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:47:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2DY-00020f-Cc for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:47:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SA2hA-0006s9-Fu for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 13:18:04 -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:18:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11051 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.133226384826334 (code B ref -1); Tue, 20 Mar 2012 17:18:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Mar 2012 17:17:28 +0000 Original-Received: from localhost ([127.0.0.1]:58264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA2gX-0006qc-4l for submit@debbugs.gnu.org; Tue, 20 Mar 2012 13:17:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39885) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SA2gU-0006qS-C2 for submit@debbugs.gnu.org; Tue, 20 Mar 2012 13:17:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA2Cl-0001k2-Km for submit@debbugs.gnu.org; Tue, 20 Mar 2012 12:46:45 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:60862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2Cl-0001jy-Hd for submit@debbugs.gnu.org; Tue, 20 Mar 2012 12:46:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2Cf-0003zJ-93 for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:46:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA2Cd-0001jY-BQ for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:46:32 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:40237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA2Cd-0001jM-4S for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 12:46:31 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q2KGkRA1013271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 20 Mar 2012 16:46:28 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q2KGkRGF017603 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 20 Mar 2012 16:46:27 GMT Original-Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q2KGkQf6024478 for ; Tue, 20 Mar 2012 11:46:26 -0500 Original-Received: from dradamslap1 (/10.159.47.74) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Mar 2012 09:46:26 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0GuPsxqm6lpJBmTj2/MwpO51zrTw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-CT-RefId: str=0001.0A090201.4F68B464.00C6,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:57900 Archived-At: This code in wid-edit.el is wrong: (defun widget-complete () "Complete content of editable field from point. When not inside a field, signal an error." (interactive) (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)) ;; This defaulting used to be performed in widget-default-complete, but ;; it seems more appropriate here than in widget-default-completions. (call-interactively 'widget-complete-field)) ;;; WRONG - remove quote ^ (t (error "Not in an editable field"))))) `widget-complete-field' is not a command. Its value is a command. In GNU Emacs 24.0.94.1 (i386-mingw-nt5.1.2600) of 2012-03-19 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include'