emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68251: closed (message-yank-buffer insert many copies of image)


From: GNU bug Tracking System
Subject: bug#68251: closed (message-yank-buffer insert many copies of image)
Date: Fri, 05 Jan 2024 16:24:01 +0000

Your message dated Fri, 05 Jan 2024 08:22:01 -0800
with message-id <878r53eol7.fsf@breatheoutbreathe.in>
and subject line Re: bug#68251: message-yank-buffer insert many copies of image
has caused the debbugs.gnu.org bug report #68251,
regarding message-yank-buffer insert many copies of image
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
68251: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68251
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: message-yank-buffer insert many copies of image Date: Thu, 04 Jan 2024 21:09:23 -0800
To reproduce:
- ~emacs -Q~
- Open an image in a buffer
- Create another buffer, call ~M-x message-mode~
- Run ~message-yank-buffer~, select the buffer with the image

Expected:

One image is inserted into the buffer.

Actual:

Many images are inserted into the buffer.

GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo 
version 1.16.0)



--- End Message ---
--- Begin Message --- Subject: Re: bug#68251: message-yank-buffer insert many copies of image Date: Fri, 05 Jan 2024 08:22:01 -0800
Happy New Year, Eli!

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Thu, 04 Jan 2024 21:09:23 -0800
>> From:  Joseph Turner via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>>
>> To reproduce:
>> - ~emacs -Q~
>> - Open an image in a buffer
>> - Create another buffer, call ~M-x message-mode~
>> - Run ~message-yank-buffer~, select the buffer with the image
>>
>> Expected:
>>
>> One image is inserted into the buffer.
>>
>> Actual:
>>
>> Many images are inserted into the buffer.
>
> It isn't specific to images: it happens with any 'display' property
> that spans more than one text line.  message-yank-buffer looks at
> buffer text and ignores the 'display' properties, so it inserts every
> line after quoting it, and this you get as many copies of the
> 'display' property as there are newlines in the text covered by the
> 'display' property.

Thank you for explaining what's going on!  Closing now.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]