GNU bug report logs - #16515
24.3; Images do not automatically revert on file modification when auto-revert mode enabled for image-mode.

Previous Next

Package: emacs;

Reported by: "Gooch, Allen" <agooch <at> bioware.com>

Date: Tue, 21 Jan 2014 18:16:02 UTC

Severity: normal

Tags: fixed, moreinfo

Found in version 24.3

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: "Gooch, Allen" <agooch <at> bioware.com>, 16515 <at> debbugs.gnu.org
Subject: bug#16515: 24.3; Images do not automatically revert on file modification when auto-revert mode enabled for image-mode.
Date: Thu, 26 Sep 2019 19:08:36 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> "Gooch, Allen" <agooch <at> bioware.com> writes:
>
>> (add-hook 'image-mode-hook (lambda ()
>>                               (auto-revert-mode 1)))
>>  
>> Next perform the following steps:
>> 1) load a PNG file (opens in image-mode buffer)
>> 2) modify PNG file
>> 3) notice that PNG in image-mode buffer does NOT automatically revert
>
> More precisely, reverting happens, but after it the image is displayed
> as text (at least that's what you said in gnu.emacs.help, and that's
> what I see).

I tried opening an image, touching it, and I then got

Reverting buffer ‘emacs.png’.

in the echo area, and I don't get the image displayed as text.  So this
seems to work for me in Emacs 27 -- are you still able to reproduce this
bug?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.