* Question about text property 'category
@ 2019-11-14 20:40 Fu Yuan
2019-11-14 21:49 ` Juanma Barranquero
0 siblings, 1 reply; 3+ messages in thread
From: Fu Yuan @ 2019-11-14 20:40 UTC (permalink / raw)
To: Emacs developers
I noticed that the 'category property is not copied along when I copy and paste a text button. Is this expected? Why is that?
Yuan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about text property 'category
2019-11-14 20:40 Question about text property 'category Fu Yuan
@ 2019-11-14 21:49 ` Juanma Barranquero
2019-11-15 15:00 ` Yuan Fu
0 siblings, 1 reply; 3+ messages in thread
From: Juanma Barranquero @ 2019-11-14 21:49 UTC (permalink / raw)
To: Fu Yuan; +Cc: Emacs developers
[-- Attachment #1: Type: text/plain, Size: 825 bytes --]
On Thu, Nov 14, 2019 at 9:41 PM Fu Yuan <casouri@gmail.com> wrote:
>
> I noticed that the 'category property is not copied along when I copy and
paste a text button. Is this expected? Why is that?
yank-excluded-properties is a variable defined in ‘simple.el’.
Its value is
(category field follow-link fontified font-lock-face help-echo intangible
invisible keymap local-map mouse-face read-only yank-handler)
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 24.3 of Emacs.
Probably introduced at or before Emacs version 22.1.
Documentation:
Text properties to discard when yanking.
The value should be a list of text properties to discard or t,
which means to discard all text properties.
See also ‘yank-handled-properties’.
[-- Attachment #2: Type: text/html, Size: 945 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about text property 'category
2019-11-14 21:49 ` Juanma Barranquero
@ 2019-11-15 15:00 ` Yuan Fu
0 siblings, 0 replies; 3+ messages in thread
From: Yuan Fu @ 2019-11-15 15:00 UTC (permalink / raw)
To: Juanma Barranquero; +Cc: Emacs developers
Thanks, then, should this variable be mentioned in the text property section of the manual? (Or made more obvious if it’s already there.)
Yuan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-15 15:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-14 20:40 Question about text property 'category Fu Yuan
2019-11-14 21:49 ` Juanma Barranquero
2019-11-15 15:00 ` Yuan Fu
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).