unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Allen Gooch <allen.gooch@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Question about auto-reverting images in image-mode
Date: Tue, 21 Jan 2014 12:05:28 -0800 (PST)	[thread overview]
Message-ID: <b39900d6-d371-4ad2-a9b6-b0bdb7ab9b27@googlegroups.com> (raw)
In-Reply-To: <mailman.12231.1389997085.10748.help-gnu-emacs@gnu.org>

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


      parent reply	other threads:[~2014-01-21 20:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-16 17:02 Question about auto-reverting images in image-mode Gooch, Allen
2014-01-17 22:17 ` Michael Heerdegen
     [not found] ` <mailman.12231.1389997085.10748.help-gnu-emacs@gnu.org>
2014-01-21 20:05   ` Allen Gooch [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=b39900d6-d371-4ad2-a9b6-b0bdb7ab9b27@googlegroups.com \
    --to=allen.gooch@gmail.com \
    --cc=help-gnu-emacs@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.
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).