[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18618: `window-end win t` produces erroenous result with `window-scr
From: |
Keith David Bershatsky |
Subject: |
bug#18618: `window-end win t` produces erroenous result with `window-scroll-functions` hook. |
Date: |
Thu, 02 Oct 2014 19:11:08 -0700 |
User-agent: |
/ () / () APEL/10.8 Emacs/24.4.50 (x86_64-apple-darwin10.8.0) MULE/6.0 (HANACHIRUSATO) |
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