From: Alan Mackenzie <acm@muc.de>
To: emacs-devel@gnu.org
Subject: C-u C-x = prints garbage for a text property with value '(string . ?")
Date: Tue, 8 Mar 2016 22:08:57 +0000 [thread overview]
Message-ID: <20160308220857.GG6269@acm.fritz.box> (raw)
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).
next reply other threads:[~2016-03-08 22:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 22:08 Alan Mackenzie [this message]
2016-03-09 3:36 ` C-u C-x = prints garbage for a text property with value '(string . ?") Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160308220857.GG6269@acm.fritz.box \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.