unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8007: get black square instead of image if one has moved the image
@ 2011-02-09  0:37 jidanni
  2011-07-16 15:49 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2011-02-09  0:37 UTC (permalink / raw)
  To: 8007

Sometimes after viewing a JPG, then moving it to another directory, then
hitting v there to view it again, one gets
  Not using View mode because the major mode is special
  Cannot find image file `/var/tmp/20110208pix/DSCN3328.JPG'
Of course, because we already moved it, but for some reason you don't
keep track of moves of images as well as you do for text files, so all
we see is a black square. However it is hard to predict what files this
will happen on, so I can't give you an exact case.o
emacs-snapshot version 1:20110128-1
By the way, this all would _not_ be a problem, if you fellows would
kindly remove the buffer after one hits q as I have mentioned elsewhere.

Here I can give you an exact scene:
$ ls
DSCN3319.JPG  DSCN3320.JPG  DSCN3321.JPG  leg  panarai  picass
$ emacs -q .
SPC v q SPC v q C-x C-b
See those buffers remaining there?
Why don't you kill them like you do for other files upon q?
Do you want emacs memory filling up with JPGs?





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#8007: get black square instead of image if one has moved the image
  2011-02-09  0:37 bug#8007: get black square instead of image if one has moved the image jidanni
@ 2011-07-16 15:49 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-16 15:49 UTC (permalink / raw)
  To: jidanni; +Cc: 8007

jidanni@jidanni.org writes:

> Sometimes after viewing a JPG, then moving it to another directory, then
> hitting v there to view it again, one gets
>   Not using View mode because the major mode is special
>   Cannot find image file `/var/tmp/20110208pix/DSCN3328.JPG'

I don't think there's anything else Emacs can do here.  If the image is
gone, and it has fallen out of the internal image cache, Emacs won't
have any idea what to display.

So I don't think this is a bug, and I'm closing the report.

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-16 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-09  0:37 bug#8007: get black square instead of image if one has moved the image jidanni
2011-07-16 15:49 ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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