From: JD Smith <jdsmith@as.arizona.edu>
To: emacs-devel@gnu.org
Subject: yank-excluded-properties not functioning when font-lock-face set
Date: Fri, 09 Feb 2007 14:36:29 -0700 [thread overview]
Message-ID: <pan.2007.02.09.21.36.28.508761@as.arizona.edu> (raw)
I posted a COMINT problem earlier which David revealed to be a
deficiency in yank-excluded-properties.
Here's how to reproduce.
In *scratch*, type
test
Select the word and then
M-:
(add-text-properties (point) (mark) '(read-only t font-lock-face bold)) [Ret]
Verify the text is read only.
Mark and yank the string, M-w, C-y.
Notice that the new text is read-only, despite
yank-excluded-properties containing:
(read-only invisible intangible field mouse-face help-echo
local-map keymap yank-handler follow-link fontified)
After experimenting, it appears that *any* text with a font-lock-face
property attached to it will ignore yank-excluded-properties upon
yanking.
JD
next reply other threads:[~2007-02-09 21:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-09 21:36 JD Smith [this message]
2007-02-09 23:11 ` yank-excluded-properties not functioning when font-lock-face set Chong Yidong
2007-02-11 18:44 ` JD Smith
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=pan.2007.02.09.21.36.28.508761@as.arizona.edu \
--to=jdsmith@as.arizona.edu \
--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.