help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about auto-reverting images in image-mode


From: Allen Gooch
Subject: Re: Question about auto-reverting images in image-mode
Date: Tue, 21 Jan 2014 12:05:28 -0800 (PST)
User-agent: G2/1.0

On Friday, January 17, 2014 4:17:37 PM UTC-6, Michael Heerdegen wrote:
> Hi,
> 
> 
> 
> > I'm running GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) on Windows 7, and
> 
> > am trying to enable auto-reverting of images in image mode.  I've
> 
> > added the following to my emacs configuration:
> 
> >
> 
> > (add-hook 'image-mode-hook (lambda ()
> 
> >                              (auto-revert-mode 1)))
> 
> >
> 
> > Now when a PNG file changes emacs reverts the file, but displays the
> 
> > image binary bytes, not the image itself.  How would I configure emacs
> 
> > to redisplay the actual image?
> 
> 
> 
> AFAIK, this should work without configuration.  It works for me with my
> 
> config, but not with emacs -Q.  Please make a bug report.
> 
> 
> 
> BTW, `image-after-revert-hook' is the function that should take care of
> 
> this.
> 
> 
> 
> 
> 
> Regards,
> 
> 
> 
> Michael.

Thanks for the info, Michael.  I've filed bug #16515 
(http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-01/msg01063.html) on this.

-ag


reply via email to

[Prev in Thread] Current Thread [Next in Thread]