emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vertical-motion not working with multi-line overlays


From: Kim F. Storm
Subject: Re: vertical-motion not working with multi-line overlays
Date: Tue, 18 Jan 2005 01:15:06 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> Trying to move backward over an overlay covering more than one line
> and having an image as display property with `previous-line' is not
> possible anymore.  Emacs beeps and signals that it hit the beginning
> of a buffer.  It seems that `vertical-motion' is not working correctly
> as it returns 0.
>
> Here is a testcase:
>
> (progn
>   (insert "\nfoo\nbar")
>   (let ((ov (make-overlay (- (point) 7) (point))))
>     (overlay-put ov 'display (create-image "splash.xpm" 'xpm))))
>
> Execute it in the *scratch* buffer, e.g. with `C-x C-e', and try to
> move point upwards over the image with `C-p'.
>

I just installed a fix for this (in back_to_previous_visible_line_start).
Pls. retest your code.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]