Subject: bug#5062: 23.1.50; image-toggle-display overwrites nxml-mode local key map

From: Stefan Monnier <[email-masked]>
Date: Fri, 27 Nov 2009 21:25:36 -0500

> 2. Run emacs -Q and wait for it to load and map into the display.
> 3. Type C-x C-f /tmp/test.svg and see that the image of the file is
> displayed.
> 4. Type C-c C-c and note that the XML is shown. All correct behavior
> so far.
> 5. Type C-h k C-M-n and notice that the key for C-M-n is bound to
> `forward-list' which is not correct because the .svg file is a xml

Indeed, SVG files should be handled like postscript files, i.e. use
image-minor-mode rather than image-mode.
Can someone figure out how to to do that?

        Stefan