emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eli Qian <eli.q.qian@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] Cannot toggle the display of inline images [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)]
Date: Wed, 02 Aug 2023 01:04:25 +0800	[thread overview]
Message-ID: <871qgmeleu.fsf@gmail.com> (raw)

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/)


             reply	other threads:[~2023-08-01 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-01 17:04 Eli Qian [this message]
2023-08-02  5:19 ` [BUG] Cannot toggle the display of inline images [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)] Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qgmeleu.fsf@gmail.com \
    --to=eli.q.qian@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).