From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: C-u C-x = prints garbage for a text property with value '(string . ?") Date: Wed, 09 Mar 2016 05:36:55 +0200 Message-ID: <83si00pbjc.fsf@gnu.org> References: <20160308220857.GG6269@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457494619 5081 80.91.229.3 (9 Mar 2016 03:36:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2016 03:36:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 04:36:55 2016 Return-path: Envelope-to: ged-emacs-devel@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 1adUvc-0000vg-Nf for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2016 04:36:52 +0100 Original-Received: from localhost ([::1]:38786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adUvc-0006zS-2J for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2016 22:36:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adUvY-0006zL-Lp for emacs-devel@gnu.org; Tue, 08 Mar 2016 22:36:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adUvV-0002LC-C4 for emacs-devel@gnu.org; Tue, 08 Mar 2016 22:36:48 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adUvV-0002L8-8H; Tue, 08 Mar 2016 22:36:45 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3352 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1adUvU-00079R-KG; Tue, 08 Mar 2016 22:36:45 -0500 In-reply-to: <20160308220857.GG6269@acm.fritz.box> (message from Alan Mackenzie on Tue, 8 Mar 2016 22:08:57 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201229 Archived-At: > Date: Tue, 8 Mar 2016 22:08:57 +0000 > From: Alan Mackenzie > > In master (probably in emacs-25, too), give a character a text property > with value (string . ?"). When `describe-property-list' (descr-text.el) > comes to print it, it decides that (string . ?") is a "widget" (whatever > that is), and instead of printing the actual value, it ignores the cdr > and prints the car as follows: > > string (widget)Top > > It decides that 'string is a "widget" because the symbol string has a > widget-type property. > > This is crazy! If somebody does C-u C-x = to see the value of the text > properties, surely that is what she should see? Not some "look how > clever I am" DWIM attempt that only prints half of the value? > > I don't see the logic in this handling, therefore don't feel qualified > to fix this bug. Would somebody help me out, please. Please make a complete bug report with a recipe to reproduce it.