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


Message #22 received at 16515 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#16515: 24.3; Images do not automatically revert on file
 modification when auto-revert mode enabled for image-mode.
Date: Fri, 27 Sep 2019 16:02:41 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> I opened an image with emacs -Q, turned on auto-revert-mode, edited the
> image externally with an image editor, saved there to the original file,
> and then emacs asked "[image file name] changed on disk, really edit the
> buffer?  ".

I'm unable to reproduce this on the trunk.  I copied a .jpg file to
/tmp, started emacs -Q, `v' in the dired buffer, `M-x auto-revert-mode',
and then I edited the file in gimp.

Emacs said "Revering buffer 'foo.jpg'." and the new version of the image
was displayed.

> Here is an image of the backtrace (an image because I used
> SIGUSR2 to get a backtrace, and after that, Emacs is gaga - is
> there a better way to get a backtrace for a y-or-n prompt)?

(setq debug-on-quit t) usually works unless whatever is calling y-or-n-p
has disabled that.

-- 
(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.