[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about copy-region-as-kill
From: |
Colin Walters |
Subject: |
Re: Question about copy-region-as-kill |
Date: |
06 Apr 2002 19:12:56 -0500 |
On Sat, 2002-04-06 at 18:03, Alex Schroeder wrote:
> John Wiegley <address@hidden> writes:
>
> > And whether these are stripped at kill or yank, I don't care. I just
> > don't want read-only copied around when I kill text from Eshell, and
> > then yank it into an e-mail message!
>
> Right. Another example: When you use Colin's ibuffer.el and copy some
> text from there (such as the file name of a buffer), it will have a
> local keymap with totally weird mappings (eg. for RET and other common
> keys) and it not entirely obvious how to get rid of them.
Yes. Richard and I discussed this at length in private email. My
feelings on the subject are that the separation of overlays and text
properties doesn't make sense. I *always* find myself wanting a
text-properties like API, but just sometimes do I want to make the
properties specific to the buffer. For example, I very commonly attach
a property to text, using `propertize', and do things like search
forward in a buffer for the next piece of text which has a specific
property (e.g. `next-single-property-change'). I have *never* wanted to
know things like where all the "overlays" (i.e. regions of text with
buffer-specific properties) in the buffer are (e.g. `overlay-lists'), or
where the next overlay is (e.g. `next-overlay-change').
In the interim, I will change ibuffer to use overlays for some
properties. But for what it's worth, I think we should move towards an
XEmacs-style "extent" mechanism.
[ Richard, do you mind if I make our discussion available? ]
- Re: Question about copy-region-as-kill, (continued)
- Re: Question about copy-region-as-kill, Francesco Potorti`, 2002/04/12
- Re: Question about copy-region-as-kill, Per Abrahamsen, 2002/04/09
- Re: Question about copy-region-as-kill, John Wiegley, 2002/04/09
- Re: Question about copy-region-as-kill, Tak Ota, 2002/04/06
- Re: Question about copy-region-as-kill, Andreas Schwab, 2002/04/06
- Re: Question about copy-region-as-kill, Richard Stallman, 2002/04/06
- Re: Question about copy-region-as-kill, John Wiegley, 2002/04/06
- Re: Question about copy-region-as-kill, Alex Schroeder, 2002/04/06
- Re: Question about copy-region-as-kill,
Colin Walters <=
- Re: Question about copy-region-as-kill, Miles Bader, 2002/04/06
- Re: Question about copy-region-as-kill, John Wiegley, 2002/04/06
- Re: Question about copy-region-as-kill, Colin Walters, 2002/04/06
- Re: Question about copy-region-as-kill, Miles Bader, 2002/04/06
- Re: Question about copy-region-as-kill, Colin Walters, 2002/04/07
- Re: Question about copy-region-as-kill, Miles Bader, 2002/04/07
- Re: Question about copy-region-as-kill, Colin Walters, 2002/04/07
- Re: Question about copy-region-as-kill, Alex Schroeder, 2002/04/07
- Re: Question about copy-region-as-kill, Miles Bader, 2002/04/07
- Re: Question about copy-region-as-kill, Colin Walters, 2002/04/07