emacs-devel
[Top][All Lists]
Advanced

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

Re: pos-visible-in-window-p and extreme conditions.


From: Kim F. Storm
Subject: Re: pos-visible-in-window-p and extreme conditions.
Date: Thu, 05 Oct 2006 16:11:14 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

address@hidden (Michaël Cadilhac) writes:

> - Test case:
> emacs -Q
> M-x set-variable RET window-min-height RET 1 RET
> Make the buffer empty and the window 1 line.
> type « kungfu ». Use M-: (pos-visible-in-window-p nil nil t) on
> different points :
> o C-a (bob) -> (0 0)
> o on the `g' -> (21 0)
> o C-e (eob (there's no \n)) -> nil
>
> This is due to move_it_to that returns an `it' with 1 as its
> IT_CHARPOS on single-line windows.

Thanks for the report.

I'll look into fixing this.

BTW, does the bad behaviour break any specific code/behavior?

>
> - I propose the following change (revert):

That fix was made to make partial scrolling of tall images work
in non-trivial cases.  So reverting it is not TRT.

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





reply via email to

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