* insert-buffer-substring: which text properties does it copy
@ 2015-11-15 5:58 Joe Riel
2015-11-16 15:55 ` Drew Adams
2015-11-16 16:05 ` Eli Zaretskii
0 siblings, 2 replies; 3+ messages in thread
From: Joe Riel @ 2015-11-15 5:58 UTC (permalink / raw)
To: Help GNU Emacs
While insert-buffer-substring-no-properties copies none of the text
properties, insert-buffer-substring does not copy *all* text
properties. For example, it won't copy a keymap property.
Any idea what text properties are included/excluded?
Is there a way to change what is copied?
--
Joe Riel
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: insert-buffer-substring: which text properties does it copy
2015-11-15 5:58 insert-buffer-substring: which text properties does it copy Joe Riel
@ 2015-11-16 15:55 ` Drew Adams
2015-11-16 16:05 ` Eli Zaretskii
1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2015-11-16 15:55 UTC (permalink / raw)
To: Joe Riel, Help GNU Emacs
> insert-buffer-substring does not copy *all* text
> properties. For example, it won't copy a keymap property.
Sounds like a bug, to me.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: insert-buffer-substring: which text properties does it copy
2015-11-15 5:58 insert-buffer-substring: which text properties does it copy Joe Riel
2015-11-16 15:55 ` Drew Adams
@ 2015-11-16 16:05 ` Eli Zaretskii
1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2015-11-16 16:05 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Sat, 14 Nov 2015 21:58:06 -0800
> From: Joe Riel <joer@san.rr.com>
>
> While insert-buffer-substring-no-properties copies none of the text
> properties, insert-buffer-substring does not copy *all* text
> properties. For example, it won't copy a keymap property.
>
> Any idea what text properties are included/excluded?
They are listed in yank-excluded-properties, which see.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-16 16:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-15 5:58 insert-buffer-substring: which text properties does it copy Joe Riel
2015-11-16 15:55 ` Drew Adams
2015-11-16 16:05 ` Eli Zaretskii
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).