Re: [BUG] Hard lockup on org-display-inline-images

2023-12-05 Thread Ihor Radchenko
JD Smith  writes:

> ...  Eli fixed the introduced bug quite quickly in:
>
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7a7d41e07c4627c5de08a66368309b478c88edfc

Ok. Closing.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



Re: [BUG] Hard lockup on org-display-inline-images

2023-12-05 Thread JD Smith


> On Dec 5, 2023, at 7:26 AM, Ihor Radchenko  wrote:
> 
> JD Smith  writes:
> 
>> Eli and I recently patched a problem 
>>  with pixel position 
>> reporting with inline images (which I had discovered in a large org buffer 
>> with latex-preview).  With this patch installed, now on master as of this 
>> evening, org-display-inline-images freezes emacs when a larger image is 
>> included in an org file, if org-indent is enabled. 
>> 
>> I’ve confirmed such images are fine in regular buffers by text-property or 
>> overlay, so I suspect this is a “revealed bug” in org-indent or the element 
>> cache.
> 
> I just tried to create a simple Org file with a png image link (on
> main, latest Emacs master), enabled org-indent-mode, and displayed the
> images. I see no problem.
> 
> Please provide more detailed instructions to reproduce the problem.


Apologies for not following up.  The problem was in recent display code 
improvements.  Eli fixed the introduced bug quite quickly in:

http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7a7d41e07c4627c5de08a66368309b478c88edfc

Re: [BUG] Hard lockup on org-display-inline-images

2023-12-05 Thread Ihor Radchenko
JD Smith  writes:

> Eli and I recently patched a problem 
>  with pixel position 
> reporting with inline images (which I had discovered in a large org buffer 
> with latex-preview).  With this patch installed, now on master as of this 
> evening, org-display-inline-images freezes emacs when a larger image is 
> included in an org file, if org-indent is enabled. 
>
> I’ve confirmed such images are fine in regular buffers by text-property or 
> overlay, so I suspect this is a “revealed bug” in org-indent or the element 
> cache.

I just tried to create a simple Org file with a png image link (on
main, latest Emacs master), enabled org-indent-mode, and displayed the
images. I see no problem.

Please provide more detailed instructions to reproduce the problem.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 



[BUG] Hard lockup on org-display-inline-images

2023-12-03 Thread JD Smith
Eli and I recently patched a problem 
 with pixel position 
reporting with inline images (which I had discovered in a large org buffer with 
latex-preview).  With this patch installed, now on master as of this evening, 
org-display-inline-images freezes emacs when a larger image is included in an 
org file, if org-indent is enabled. 

I’ve confirmed such images are fine in regular buffers by text-property or 
overlay, so I suspect this is a “revealed bug” in org-indent or the element 
cache.

Org 9.6.11

Thanks for your work on org!