[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enriched-mode and switching major modes.
From: |
Stefan |
Subject: |
Re: enriched-mode and switching major modes. |
Date: |
Thu, 23 Sep 2004 07:35:36 -0400 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) |
> Without thinking too much about it, I'd say that overlays seem to be
> a better fit: each node is an overlay, the node's attributes can be stored
> in the overlay's properties, the text corresponding to a node can be
> stored
> directly in the buffer and retrieved by (buffer-substring (overlay-start
> o)
> (overlay-end o)), ...
> Overlays are no good for this because they will be lost completely
> if you cut and paste. If you copy the text of a buffer
> to another buffer, the overlays won't come along. (That is the purpose
> of overlays.)
> This information has to be *part of the text*.
XEmacs's version of overlays (called extents) can be part of the text
(which is a property they call `duplicable'). We could do the same.
Stefan
- Re: enriched-mode and switching major modes., (continued)
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/23
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/22
- Re: enriched-mode and switching major modes., Stefan Monnier, 2004/09/22
- Re: enriched-mode and switching major modes., Stefan Monnier, 2004/09/22
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/22
- Re: enriched-mode and switching major modes., Stefan Monnier, 2004/09/22
- Re: enriched-mode and switching major modes., Luc Teirlinck, 2004/09/22
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/23
- Re: enriched-mode and switching major modes., David Kastrup, 2004/09/23
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/23
- Re: enriched-mode and switching major modes.,
Stefan <=
- Re: enriched-mode and switching major modes., David Kastrup, 2004/09/23
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/23
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/24
- Re: enriched-mode and switching major modes., Stefan, 2004/09/24
- Re: enriched-mode and switching major modes., Richard Stallman, 2004/09/25
- Re: enriched-mode and switching major modes., Eli Zaretskii, 2004/09/24
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/24
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/24
- Re: enriched-mode and switching major modes., Alex Schroeder, 2004/09/24
- Re: enriched-mode and switching major modes., Oliver Scholz, 2004/09/24