Subject: bug#18618: `window-end win t` produces erroenous result with `window-scroll-functions` hook.

From: Keith David Bershatsky <[email-masked]>
Date: Thu, 02 Oct 2014 19:11:08 -0700

Upon some further testing, I see that `transient-mark-mode` interferes with properly calculating the new window-end when using the window-scroll-functions hook (e.g., going from the end of the buffer the `beginning-of-buffer`).  When `transient-mark-mode` is enabled, the wrong window end is reported.  When `transient-mark-mode` is deactivated `(transient-mark-mode -1)`, the correct window end is reported.

Keith