GNU bug report logs - #501
23.0.60; Viewing SVG files: Error when pressing C-v, M-v

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Sun, 29 Jun 2008 12:45:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 501 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Markus Triska <markus.triska <at> gmx.at>
To: 501 <at> debbugs.gnu.org
Subject: Re: bug#501: Acknowledgement (23.0.60; Viewing SVG files: Error when  pressing C-v, M-v)
Date: Sat, 19 Jul 2008 00:37:39 +0200
The following patch fixes this problem for me.

2008-07-18  Markus Triska  <markus.triska <at> gmx.at>

	* image-mode.el (image-toggle-display): Record scroll settings
	when switching to image.

diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 00f2225..5ffbfe1 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -450,6 +450,7 @@ and showing the image as an image."
 	   (modified (buffer-modified-p)))
       (image-refresh image)
       (add-text-properties (point-min) (point-max) props)
+      (image-mode-setup-winprops)
       (set-buffer-modified-p modified)
       ;; Inhibit the cursor when the buffer contains only an image,
       ;; because cursors look very strange on top of images.




This bug report was last modified 16 years and 305 days ago.

Previous Next


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