"Richard M. Stallman" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to