From: martin rudalics <rudalics@gmx.at>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [rudalics@gmx.at: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a de lay]]
Date: Tue, 05 Sep 2006 11:21:43 +0200 [thread overview]
Message-ID: <44FD41A7.5020100@gmx.at> (raw)
In-Reply-To: <m3mz9fvi9w.fsf@kfs-l.imdomain.dk>
> To me it makes more sense if this "move and stop" is the default method
> (ie. selected with a positive delay value). The negative value could
> be for experts which want just the move delay.
The absolute value of the delay is used to set up a timer whenever the
mouse crosses a window border. Usually though, the mouse pointer
already appears at a completely different position at the moment I
install the timer. Unfortunately, I can't access that position easily.
When the timer triggers I do (provided other conditions apply as well)
- for a positive delay select the window,
- for a negative delay check whether mouse-position is the same as the
last time I checked.
Now, the very first "last time I checked" occurs at the window border as
I explained above. Hence the first time the timer fires, the recorded
mouse-positions are usually _not_ equal and I have to restart the timer
until they are. In practice this means that if I set the delay to -1
and move to the center of another window in a single stroke, the window
is selected after 2 seconds which is more than 1 seconds after the mouse
stopped moving. Since this is slightly counterintuitive I wouldn't want
to make that the default.
> But why not separate the two timeout settings, e.g. make it a cons with
> the "move delay" in the car and "stopped delay" in the cdr. That's
> easy to set via customize.
Currently, there is only one delay. Do you think I should use two
different delays?
next prev parent reply other threads:[~2006-09-05 9:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-03 15:17 [rudalics@gmx.at: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a de lay]] Richard Stallman
2006-09-03 16:02 ` David Kastrup
2006-09-03 16:37 ` David Kastrup
2006-09-04 9:16 ` martin rudalics
2006-09-04 14:05 ` Kim F. Storm
2006-09-05 9:21 ` martin rudalics [this message]
2006-09-05 11:02 ` Kim F. Storm
2006-09-05 11:06 ` David Kastrup
2006-09-05 12:53 ` martin rudalics
2006-09-05 13:12 ` David Kastrup
2006-09-05 15:59 ` martin rudalics
2006-09-04 17:18 ` Richard Stallman
2006-09-03 17:05 ` Chong Yidong
2006-09-04 9:27 ` martin rudalics
2006-09-04 14:07 ` Kim F. Storm
2006-09-03 21:43 ` Kim F. Storm
2006-09-05 15:20 ` Stefan Monnier
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=44FD41A7.5020100@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=rms@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).