[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about copy-region-as-kill
From: |
Alex Schroeder |
Subject: |
Re: Question about copy-region-as-kill |
Date: |
Sat, 06 Apr 2002 20:05:20 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) |
address@hidden (Kai Großjohann) writes:
> I guess that properties added by font-lock are different.
To me, that sounds about right: If a text property was added by Emacs,
ie. font-lock, then chances are high that in another buffer the text
properties will be lost anyway (after saving and reloading, or when
the font-lock for the new buffer kicks in). In this case, we might as
well remove the text-properties anyway. And since such
text-properties are only added by a selected few packages, we could
add a list (special-text-properties?) of symbols to Emacs. The
default value would be '(fontified) and probably some more. When text
is yanked, any text covered by any of these text-properties will have
all of its text-properties stripped for that area. Thus, if I kill
some text it gets stored with text-properties (thus you can also save
such a kill-ring to a file without loosing). When a normal user yanks
such a text, however, all text properties (mostly the property 'face)
will be removed for all text areas covered by the 'fontified text
property -- this will undo face properties which font-lock added.
Alex.
--
http://www.emacswiki.org/
- Question about copy-region-as-kill, John Wiegley, 2002/04/03
- Re: Question about copy-region-as-kill, Richard Stallman, 2002/04/05
- Re: Question about copy-region-as-kill, John Wiegley, 2002/04/05
- Re: Question about copy-region-as-kill, Eli Zaretskii, 2002/04/06
- Re: Question about copy-region-as-kill, John Wiegley, 2002/04/06
- Re: Question about copy-region-as-kill, Karl Eichwalder, 2002/04/06
- Re: Question about copy-region-as-kill, Kai Großjohann, 2002/04/06
- Re: Question about copy-region-as-kill,
Alex Schroeder <=
- Re: Question about copy-region-as-kill, Richard Stallman, 2002/04/07
- Re: Question about copy-region-as-kill, Miles Bader, 2002/04/07
- Re: Question about copy-region-as-kill, Karl Eichwalder, 2002/04/06
- Re: Question about copy-region-as-kill, Alan Shutko, 2002/04/06
- Re: Question about copy-region-as-kill, Karl Eichwalder, 2002/04/07
- Re: Question about copy-region-as-kill, Stefan Monnier, 2002/04/08
- Re: Question about copy-region-as-kill, John Wiegley, 2002/04/08
- Re: Question about copy-region-as-kill, Kim F. Storm, 2002/04/09
- Re: Question about copy-region-as-kill, Eli Zaretskii, 2002/04/09
- Re: Question about copy-region-as-kill, Miles Bader, 2002/04/09