all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
Cc: "'emacs-devel@gnu.org'" <emacs-devel@gnu.org>
Subject: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a	de lay]
Date: Mon, 17 Jul 2006 17:52:41 +0200	[thread overview]
Message-ID: <44BBB249.1050306@gmx.at> (raw)
In-Reply-To: <81CCA6588E60BB42BE68BD029ED48260085CBD35@wimex2.wim.midas-kapiti.com>

 > I do see switches happening before mouse-autoselect-window has elapsed, but
 > I haven't figured out why.  It looks as if the timer is just triggered
 > early.

In `mouse-autoselect-window-start' please replace

   (run-at-time t delay 'mouse-autoselect-window-select))

by

   (run-at-time delay delay 'mouse-autoselect-window-select))

Sorry.  I never looked at the implementation of `run-at-time'.  With a
time argument t it calls `timer-next-integral-multiple-of-time' to
recalculate the value of time which gives strange results here.  Recall
that the timer starts running when you cross the window border, not when
you start moving the mouse.

 > I would remove references to "timer" in the doc string of
 > mouse-autoselect-quiescent, since it refers to an implementation detail not
 > a feature.  That terminology is not used by mouse-autoselect-window.

There is one reference, namely

   "Check mouse quiescence in timer-driven window selection."

Is

   "Check mouse quiescence in delayed autoselection of windows."

better?

  reply	other threads:[~2006-07-17 15:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-17 14:07 [simon.marshall@misys.com: mouse-autoselect-window needs a de lay] Marshall, Simon
2006-07-17 15:52 ` martin rudalics [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-19 11:14 Marshall, Simon
2006-07-18 11:21 Marshall, Simon
2006-07-19  9:56 ` martin rudalics
2006-07-19 11:00   ` Kim F. Storm
2006-07-19 12:35     ` martin rudalics
2006-07-17 16:18 Marshall, Simon
2006-07-17 17:59 ` martin rudalics
2006-07-18 13:37 ` Richard Stallman
2006-07-19 10:05   ` martin rudalics
2006-08-28  5:57   ` martin rudalics
2006-07-06 11:43 Marshall, Simon
2006-07-07  9:35 ` martin rudalics
2006-07-04 16:17 Marshall, Simon
2006-07-05  8:26 ` martin rudalics
2006-07-05 12:19 ` martin rudalics

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=44BBB249.1050306@gmx.at \
    --to=rudalics@gmx.at \
    --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.