[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: |
Mon, 10 Jul 2017 13:33:15 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> Is there a less brittle way to test the visibility of point?
Of course, but you first have to use a less brittle question:
which "point"? If you just use "point" it normally refer to a location
in the current buffer regardless of any window and hence "visibility"
is ill-defined. So to make it less brittle, you first have to
explicitly select the window that interests you (i.e. look for a window
which displays the current buffer).
Stefan
Re: Some testing issues, martin rudalics, 2017/07/08