From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: C-u C-x = prints garbage for a text property with value '(string . ?") Date: Tue, 8 Mar 2016 22:08:57 +0000 Message-ID: <20160308220857.GG6269@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 1457474801 31455 80.91.229.3 (8 Mar 2016 22:06:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 22:06:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 08 23:06:32 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 1adPlw-00053W-GQ for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2016 23:06:32 +0100 Original-Received: from localhost ([::1]:37749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adPlv-0002DK-Ui for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2016 17:06:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adPls-0002D9-AG for emacs-devel@gnu.org; Tue, 08 Mar 2016 17:06:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adPln-0002Uo-8Z for emacs-devel@gnu.org; Tue, 08 Mar 2016 17:06:28 -0500 Original-Received: from mail.muc.de ([193.149.48.3]:16192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adPlm-0002TY-VH for emacs-devel@gnu.org; Tue, 08 Mar 2016 17:06:23 -0500 Original-Received: (qmail 11958 invoked by uid 3782); 8 Mar 2016 22:06:21 -0000 Original-Received: from acm.muc.de (p548A5689.dip0.t-ipconnect.de [84.138.86.137]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 08 Mar 2016 23:06:20 +0100 Original-Received: (qmail 7075 invoked by uid 1000); 8 Mar 2016 22:08:57 -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-Received-From: 193.149.48.3 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:201218 Archived-At: Hello, Emacs. 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. -- Alan Mackenzie (Nuremberg, Germany).