all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] Cannot toggle the display of inline images [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)]
@ 2023-08-01 17:04 Eli Qian
  2023-08-02  5:19 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Qian @ 2023-08-01 17:04 UTC (permalink / raw)
  To: emacs-orgmode

When updating to the new released Emacs 29.1, I found that 
org-mode cannot
toggle the display of inline images after reentering org-mode.

Steps to reproduce:
1. emacs -Q
2. M-x org-mode RET
3. Input a figure link, such as [[imge-path]]
4. M-x org-toggle-inline-images RET. You will see an image 
displayed in the
current buffer.
5. Keep the image display, type M-x org-mode RET
6. M-x org-toggle-inline-images RET, then you will find that the 
image cannot
be turned off.

It seems that org-mode generates more than one overlay for the 
image.
You can use `C-u C-x =` to verify it.

Emacs  : GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ 
Version 3.24.38, cairo version 1.17.8)
 of 2023-07-31
Package: Org mode version 9.6.6 (release_9.6.6 @ 
/usr/local/share/emacs/29.1/lisp/org/)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] Cannot toggle the display of inline images [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)]
  2023-08-01 17:04 [BUG] Cannot toggle the display of inline images [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)] Eli Qian
@ 2023-08-02  5:19 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-08-02  5:19 UTC (permalink / raw)
  To: Eli Qian; +Cc: emacs-orgmode

Eli Qian <eli.q.qian@gmail.com> writes:

> When updating to the new released Emacs 29.1, I found that 
> org-mode cannot
> toggle the display of inline images after reentering org-mode.
>
> Steps to reproduce:
> ...

Thanks for reporting and for providing the reproducer!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6c1ff952f

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-02  5:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01 17:04 [BUG] Cannot toggle the display of inline images [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)] Eli Qian
2023-08-02  5:19 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.