From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#22957: C-u C-x = prints garbage for a text property with value '(string . ?") Date: Wed, 9 Mar 2016 05:54:41 +0000 Message-ID: <20160309055441.GA2490@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1457502818 21427 80.91.229.3 (9 Mar 2016 05:53:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2016 05:53:38 +0000 (UTC) To: 22957@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 09 06:53:18 2016 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 1adX3Z-0000nh-LM for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Mar 2016 06:53:13 +0100 Original-Received: from localhost ([::1]:39240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adX3V-00027B-MO for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Mar 2016 00:53:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adX3R-00026s-SZ for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 00:53:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adX3O-0001V0-M6 for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 00:53:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adX3O-0001Uu-Ik for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 00:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adX3O-0007n9-BG for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 00:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Mar 2016 05:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145750273929896 (code B ref -1); Wed, 09 Mar 2016 05:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Mar 2016 05:52:19 +0000 Original-Received: from localhost ([127.0.0.1]:40386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adX2h-0007m8-52 for submit@debbugs.gnu.org; Wed, 09 Mar 2016 00:52:19 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36223) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adX2f-0007lu-QJ for submit@debbugs.gnu.org; Wed, 09 Mar 2016 00:52:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adX2a-0001K0-17 for submit@debbugs.gnu.org; Wed, 09 Mar 2016 00:52:12 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adX2Z-0001Jl-UJ for submit@debbugs.gnu.org; Wed, 09 Mar 2016 00:52:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adX2Z-00023p-1a for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 00:52:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adX2V-0001Ip-Mc for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 00:52:10 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:59144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adX2V-0001Ie-DC for bug-gnu-emacs@gnu.org; Wed, 09 Mar 2016 00:52:07 -0500 Original-Received: (qmail 23135 invoked by uid 3782); 9 Mar 2016 05:52:05 -0000 Original-Received: from acm.muc.de (p548A46A1.dip0.t-ipconnect.de [84.138.70.161]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 09 Mar 2016 06:52:04 +0100 Original-Received: (qmail 2550 invoked by uid 1000); 9 Mar 2016 05:54:41 -0000 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:114623 Archived-At: Hello, Emacs. In the master branch: emacs -Q . In the *scratch* buffer, with point at any character, do: M-: (put-text-property (point) (1+ (point)) 'asdf '(string . ?\")) . Without moving point, C-u C-x = . There appears in the *Help* buffer the following: There are text properties here: asdf string (widget)Top face font-lock-comment-face fontified t . The entry for "asdf" is garbage. It should show the actual value of the text property just set, not "string (widget)Top". The same thing happens in Emacs 24.5 (and presumably the emacs-25 branch). ######################################################################### Initial investigation: The symbol 'string has a 'widget-type property. Without validating the structure (or lack thereof) of the assumed widget value, `describe-property-list' attempts to enter the "widget browser" rather than printing the full value of the 'asdf text property. -- Alan Mackenzie (Nuremberg, Germany).