[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unexpected hiding of identical images
From: |
Kim F. Storm |
Subject: |
Re: Unexpected hiding of identical images |
Date: |
Fri, 22 Jul 2005 11:29:04 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Richard M. Stallman" <address@hidden> writes:
> So I have added a yank-handler on images created by image-file that
> ensures that unique copies of the images are yanked.
>
> Oh, do you mean that you yank several copies consecutively in the buffer?
> Yes, I see how that would give bad results, for images,
>
> As long as we always put an image property over a single character,
> I think your fix is fully correct. Is that the case?
There are two cases that I know of:
Either it is put on a single character, e.g. by insert-image, or on
the full string representing the image data, e.g. by auto-image-file-mode.
My patch only changes the behaviour for the auto-image-file-mode case,
so it is not a single character...
What is the problem of one vs. multiple chars?
I do see there is still a problem with my patch, as the inserted
image no longer has a yank-handler (removed by yank-excluded-properties)
so if it is again copied from the buffer and yanked multiple times,
the visible result is still just one copy of the image.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Unexpected hiding of identical images, Kim F. Storm, 2005/07/18
- Re: Unexpected hiding of identical images, Stefan Monnier, 2005/07/18
- Re: Unexpected hiding of identical images, Richard M. Stallman, 2005/07/19
- 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 <=
- 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, 2005/07/21
- Re: Unexpected hiding of identical images, Richard M. Stallman, 2005/07/22