unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs <emacs-devel@gnu.org>, Angelo Graziosi <angelo.graziosi@alice.it>
Subject: Re: A scrolling problem with Emac trunk
Date: Mon, 17 Dec 2012 14:17:23 -0500	[thread overview]
Message-ID: <jwvtxrk34xu.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <50CF576A.5050703@gmx.at> (martin rudalics's message of "Mon, 17 Dec 2012 18:33:30 +0100")

> revno: 111232
> committer: Stefan Monnier <monnier@iro.umontreal.ca>
> branch nick: trunk
> timestamp: Fri 2012-12-14 10:52:43 -0500
> message:
>   * src/xdisp.c (display_mode_lines): Keep selected_window and selected_frame
>   in sync.

It's actually the 111231 that's the problem (it's probably what you
meant).

Changing selected_window without sync'ing point is at the root of
the problem.  Often it's not a problem because we set selected-window
back to its previous value before it can cause problems, but in the
select_frame_for_redisplay that's not the case if redisplay moves point
(as it does when it needs to scroll).

I believe it's fixed now.


        Stefan



  parent reply	other threads:[~2012-12-17 19:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-17 11:27 A scrolling problem with Emac trunk Angelo Graziosi
2012-12-17 13:39 ` martin rudalics
2012-12-17 14:10   ` Xue Fuqiao
2012-12-17 17:33   ` martin rudalics
2012-12-17 18:02     ` Stefan Monnier
2012-12-17 19:24       ` Eli Zaretskii
2012-12-17 19:17     ` Stefan Monnier [this message]
2012-12-17 21:28       ` martin rudalics
2012-12-18 10:57         ` Angelo Graziosi
2012-12-18 12:48           ` martin rudalics
2012-12-20 18:49           ` Angelo Graziosi
2012-12-20 18:59             ` Eli Zaretskii
2012-12-17 20:02   ` Angelo Graziosi

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=jwvtxrk34xu.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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).