unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Markus Triska <markus.triska@gmx.at>
To: 501@emacsbugs.donarmstrong.com
Subject: 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	[thread overview]
Message-ID: <m1k5fibyz0.fsf@gmx.at> (raw)
In-Reply-To: <handler.501.B.121474308611228.ack@emacsbugs.donarmstrong.com> (Emacs bug Tracking System's message of "Sun, 29 Jun 2008 05:45:04 -0700")


The following patch fixes this problem for me.

2008-07-18  Markus Triska  <markus.triska@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.






  parent reply	other threads:[~2008-07-18 22:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87y73q4iw3.fsf@stupidchicken.com>
2008-06-29 12:37 ` bug#501: 23.0.60; Viewing SVG files: Error when pressing C-v, M-v Markus Triska
     [not found]   ` <handler.501.B.121474308611228.ack@emacsbugs.donarmstrong.com>
2008-07-18 22:37     ` Markus Triska [this message]
2008-07-25  5:55   ` bug#501: marked as done (23.0.60; Viewing SVG files: Error when pressing C-v, M-v) Emacs bug Tracking System

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=m1k5fibyz0.fsf@gmx.at \
    --to=markus.triska@gmx.at \
    --cc=501@emacsbugs.donarmstrong.com \
    /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.
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).