[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Image autodetection
From: |
Chong Yidong |
Subject: |
Re: Image autodetection |
Date: |
Tue, 30 Jan 2007 11:58:18 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
"Juanma Barranquero" <address@hidden> writes:
> On 1/30/07, Juanma Barranquero <address@hidden> wrote:
>
>> so I like Richard's idea of bypassing #1 of Chong's
>> proposals (no more options, please!) and just implementing #2 (with
>> image-toggle-display disabled, as you note).
>
> Something like the attached patch, which couldn't be simpler.
> - (if (and (display-images-p)
> - (not (get-text-property (point-min) 'display)))
> - (image-toggle-display)
> - ;; Set next vars when image is already displayed but local
> - ;; variables were cleared by kill-all-local-variables
> - (setq cursor-type nil truncate-lines t))
> + (setq cursor-type nil truncate-lines t)
This last line should not be present; its purpose was to hide the
cursor in case we are already displaying as an image and run
image-mode again. I've checked in the patch, with this additional
correction.
- Image autodetection, Chong Yidong, 2007/01/29
- Re: Image autodetection, Juanma Barranquero, 2007/01/29
- Re: Image autodetection, Jason Rumney, 2007/01/30
- Re: Image autodetection, Juanma Barranquero, 2007/01/30
- Re: Image autodetection, Juanma Barranquero, 2007/01/30
- Re: Image autodetection, Stefan Monnier, 2007/01/30
- Re: Image autodetection, Juanma Barranquero, 2007/01/30
- Re: Image autodetection, Jason Rumney, 2007/01/30
- Re: Image autodetection, Juanma Barranquero, 2007/01/30
- Re: Image autodetection,
Chong Yidong <=
Re: Image autodetection, Richard Stallman, 2007/01/29
Re: Image autodetection, Miles Bader, 2007/01/29