From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: problem with org-toggle-inline-images Date: Tue, 31 Dec 2019 12:59:56 +0100 Message-ID: <8436d0g0xv.fsf@gmail.com> References: <47C02F30-6D53-4886-A78F-609C481A503B@nordakademie.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41508) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imGBy-0001iu-TU for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 07:00:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imGBx-0007Qu-QO for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 07:00:06 -0500 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:42040 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1imGBx-0007IX-GK for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 07:00:05 -0500 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1imGBv-0001Id-5m for emacs-orgmode@gnu.org; Tue, 31 Dec 2019 13:00:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Johannes Brauer writes: > Typing C-c C-x C-v the image is displayed in the org buffer > correctly. Typing C-c C-x C-v again the image does not disappear and I > get the error message: > > org-toggle-inline-images: Symbol’s value as variable is void: image-map > > Any hints what is going wrong? > > I am using > Aquamacs 3.5 GNU Emacs 25.3.50.1 (x86_64-apple-darwin16.7.0, NS > macOs 10.15.2 > Org mode version 9.3 (9.3-8-geab7c4-ELPA IIUC variable image-map was introduced with Emacs 26. This looks like a good explanation of the behavior in your environment. A natural fix is committed, I think. Would be great if you could test this fix. If you want to use the image key map to rotate and zoom inline images in Org you need to upgrade to Emacs 26, though. Thanks again and best regards.