unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Keith David Bershatsky <esq@lawlist.com>
To: 18618@debbugs.gnu.org
Subject: bug#18618: `window-end win t` produces erroenous result with `window-scroll-functions` hook.
Date: Thu, 02 Oct 2014 19:11:08 -0700	[thread overview]
Message-ID: <m2wq8hlx6r.wl%esq@lawlist.com> (raw)
In-Reply-To: <m2lhoy3qsa.wl%esq@lawlist.com>

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





  reply	other threads:[~2014-10-03  2:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-03  1:06 bug#18618: 25.0.50; `window-end win t` produces erroenous result with `window-scroll-functions` hook Keith David Bershatsky
2014-10-03  2:11 ` Keith David Bershatsky [this message]
2021-05-29  3:37 ` Lars Ingebrigtsen
2021-05-29  6:24   ` Eli Zaretskii
2021-05-29  6:16 ` Keith David Bershatsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2wq8hlx6r.wl%esq@lawlist.com \
    --to=esq@lawlist.com \
    --cc=18618@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).