all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: x-autoselect-window
Date: Sat, 16 Feb 2002 21:10:48 +0200	[thread overview]
Message-ID: <7704-Sat16Feb2002211048+0200-eliz@is.elta.co.il> (raw)
In-Reply-To: <868z9tgu7t.fsf@gerd.dnsq.org> (gerd.moellmann@t-online.de)

> From: gerd.moellmann@t-online.de (Gerd Moellmann)
> Date: 16 Feb 2002 19:25:10 +0100
> 
> > Is it possible that the frame-based redisplay needs something else?
> 
> I don't think so.  The frame- vs. window-based thing should play a
> role only in the display update phase, i.e., after glyph matrices
> for windows have been built.  This case sounds more as if matrices for
> some windows haven't been built.

More digging reveals that redisplay isn't called.  Once it _is_ called
(e.g., by just waiting for about 2 minutes, to let the sit-for in the
command loop to do its thing), the selected window is correctly
updated.

What drives me crazy is that "C-x o", which basically just calls
Fselect_window, does cause redisplay to be called.  The only
difference between "C-x o" and the code I'm debugging is that "C-x o"
produces an input event, while the code I'm looking into does not.
Does that ring a bell perhaps?

> It might also be interesting to look at the trace
> output that Emacs prints when built with -DGLYPH_DEBUG and turned on
> with M-x trace-redisplay.

I didn't try that, but I bet it will show redisplay isn't called.  I
put a breakpoint in redisplay_internal, and it wasn't hit until 2
minutes or so later.

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-02-16 19:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-16 15:54 x-autoselect-window Eli Zaretskii
2002-02-16 17:36 ` x-autoselect-window Gerd Moellmann
2002-02-16 17:57   ` x-autoselect-window Eli Zaretskii
2002-02-16 18:25     ` x-autoselect-window Gerd Moellmann
2002-02-16 19:10       ` Eli Zaretskii [this message]
2002-02-16 19:42         ` x-autoselect-window Gerd Moellmann
2002-02-19  6:36           ` x-autoselect-window Richard Stallman
2002-02-19  9:49             ` x-autoselect-window Gerd Moellmann
2002-02-20 22:12               ` x-autoselect-window Richard Stallman
2002-02-16 18:14 ` x-autoselect-window Pavel Janík
2002-02-16 19:16   ` x-autoselect-window Gerd Moellmann
2002-02-16 20:03     ` x-autoselect-window Eli Zaretskii
2002-02-16 20:36       ` x-autoselect-window Gerd Moellmann
2002-02-16 19:25   ` x-autoselect-window Eli Zaretskii
2002-02-17 16:49 ` x-autoselect-window Richard Stallman

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

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

  git send-email \
    --in-reply-to=7704-Sat16Feb2002211048+0200-eliz@is.elta.co.il \
    --to=eliz@is.elta.co.il \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.