Re: [PATCH 2-v1] New: auto display inline images under subtree when `org-cycle'.

2022-09-29 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Ihor Radchenko writes: > > I got a new problem in patch, the (point-max) in function > ~org-cycle-display-inline-images~ SOMETIMES return EOF error instead of > correct max point value when org-cycle `state' is ~'folded~. I can't > find out what caused this even

Re: [PATCH 2-v1] New: auto display inline images under subtree when `org-cycle'.

2022-09-28 Thread Christopher M. Miles
Ihor Radchenko writes: I got a new problem in patch, the (point-max) in function ~org-cycle-display-inline-images~ SOMETIMES return EOF error instead of correct max point value when org-cycle `state' is ~'folded~. I can't find out what caused this even using Edebug. Do you have any clue? > "Chr

Re: [PATCH 2-v1] New: auto display inline images under subtree when `org-cycle'.

2022-09-28 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Ok, I created the patch for subtree cycling display inline images. > Tested by edebug when org cycling, it should works fine. I don't know > how to write test for this. Thanks for the update! For tests, you will need to test the existence of image overlays. You