[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpected hiding of identical images
From: |
Stefan Monnier |
Subject: |
Re: Unexpected hiding of identical images |
Date: |
Thu, 21 Jul 2005 01:31:30 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> The problem is that text-properties are not really adapted for such uses.
> After all, they apply to chars, not to text.
> They apply to text. Text is made up of characters.
We're in violent agreement.
> Perhaps what you mean is that text properties belong to the text
> rather than to defined extents in the text. This is intentional and
> necessary; it is the only way to get consistent behavior as text
> is killed, copied, and yanked.
Agreed again.
> So by convention we consider that contiguous properties that are `eq'
> make up a region/area/extent, which works 99%.
> Again, it is the only way to get consistent behavior as text is
> killed, copied, and yanked. But you have to know the convention
> and arrange to follow it.
Agreed of course, once more.
> Another alternative is to use overlays. Except that overlays are not
> duplicable and don't apply to strings. That's where XEmacs's extents
> make sense.
> They only appear to make sense, in that they prevent this
> easily-avoided pitfall.
No, what I'm saying is that in this particular case, XEmacs's duplicable
extents make sense, whereas when doing partial kills&yanks they indeed don't
make nearly as much sense as text properties. You can't win both ways.
Stefan
- Re: Unexpected hiding of identical images, (continued)
- Re: Unexpected hiding of identical images, Kim F. Storm, 2005/07/20
- Re: Unexpected hiding of identical images, Richard M. Stallman, 2005/07/21
- Re: Unexpected hiding of identical images, Kim F. Storm, 2005/07/21
- Re: Unexpected hiding of identical images, Richard M. Stallman, 2005/07/22
- Re: Unexpected hiding of identical images, Kim F. Storm, 2005/07/22
- Re: Unexpected hiding of identical images, Richard M. Stallman, 2005/07/22
- Re: Unexpected hiding of identical images, Kim F. Storm, 2005/07/23
- Re: Unexpected hiding of identical images, Richard M. Stallman, 2005/07/24
- Re: Unexpected hiding of identical images, Stefan Monnier, 2005/07/23
- Re: Unexpected hiding of identical images, Kim F. Storm, 2005/07/23
- Re: Unexpected hiding of identical images,
Stefan Monnier <=
- Re: Unexpected hiding of identical images, Richard M. Stallman, 2005/07/22