emacs-devel
[Top][All Lists]
Advanced

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

Re: Some testing issues


From: Stefan Monnier
Subject: Re: Some testing issues
Date: Sat, 08 Jul 2017 00:45:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

> Several of the tests call the function todo-toggle-view-done-items,
> which contains this code:
>
>         (if (not (pos-visible-in-window-p shown))
>             (recenter)

This code is indeed brittle: pos-visible-in-window-p presumes that
(current-buffer) is the same as (window-buffer (selected-window)), but
that's not always the case.


        Stefan




reply via email to

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