[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
- Some testing issues, Stephen Berman, 2017/07/07
- Re: Some testing issues,
Stefan Monnier <=
- Re: Some testing issues, Stephen Berman, 2017/07/08
- Re: Some testing issues, Stefan Monnier, 2017/07/10
- Re: Some testing issues, Stephen Berman, 2017/07/14
- Re: Some testing issues, Stefan Monnier, 2017/07/14
- Re: Some testing issues, Stephen Berman, 2017/07/17
- Re: Some testing issues, Stefan Monnier, 2017/07/17
Re: Some testing issues, martin rudalics, 2017/07/08