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: Ralf Angeli
Subject: Re: vertical-motion not working with multi-line overlays
Date: Tue, 18 Jan 2005 10:59:20 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

* Kim F. Storm (2005-01-18) writes:

> 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.

It's working.  That means preview-latex is usable again as well. (c:

Thanks very much.

-- 
Ralf




reply via email to

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