GNU bug report logs - #18618
25.0.50; `window-end win t` produces erroenous result with `window-scroll-functions` hook.

Previous Next

Package: emacs;

Reported by: Keith David Bershatsky <esq <at> lawlist.com>

Date: Fri, 3 Oct 2014 01:08:02 UTC

Severity: normal

Tags: notabug

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 18618 <at> debbugs.gnu.org (full text, mbox):

From: Keith David Bershatsky <esq <at> lawlist.com>
To: 18618 <at> debbugs.gnu.org
Subject: `window-end win t` produces erroenous result with
 `window-scroll-functions` hook.
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




This bug report was last modified 4 years and 44 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.