From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: fitzsim@fitzsim.org, drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: invisible mouse pointer?
Date: Fri, 03 Jul 2009 21:25:41 +0200 [thread overview]
Message-ID: <4A4E5B35.20509@swipnet.se> (raw)
In-Reply-To: <8363e937m0.fsf@gnu.org>
Eli Zaretskii skrev:
>> Date: Fri, 03 Jul 2009 18:14:43 +0200
>> From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= <jan.h.d@swipnet.se>
>> CC: fitzsim@fitzsim.org, drew.adams@oracle.com, emacs-devel@gnu.org
>>
>>> Why are we doing this in C, rather than adding the invisible-pointer
>>> option to avoid.el?
>>>
>> Because it uses a timer. The alternative to use a timer is to track mouse
>> which is heavy in lisp.
>
> But avoid.el already does all this, and works just fine.
It only does it if you enable it.
>
>> There is no need to add more CPU-consuming thing to Emacs, it already does far
>> too many task over and over again, which isn't really needed.
>
> Emacs Lisp timers don't consume any CPU cycles.
avoid.el checks point 10 times per second. Try doing that without using CPU
cycles. avoid.el even says itself at the top:
";; Bugs / Warnings / To-Do:
;;
;; - Using this code does slow Emacs down. "banish" mode shouldn't
;; be too bad, and on my workstation even "animate" is reasonable.
"
Jan D.
next prev parent reply other threads:[~2009-07-03 19:25 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 17:28 invisible mouse pointer? Drew Adams
2008-12-03 17:46 ` Thierry Volpiatto
2008-12-03 17:58 ` Drew Adams
2008-12-03 19:28 ` Jan Djärv
2008-12-03 19:52 ` Drew Adams
2008-12-03 20:06 ` Stephen J. Turnbull
2008-12-03 18:58 ` Thomas Fitzsimmons
2008-12-03 19:14 ` Drew Adams
2009-07-03 11:50 ` Jan Djärv
2009-07-03 14:39 ` Jan Djärv
2009-07-03 15:34 ` Eli Zaretskii
2009-07-03 15:40 ` Eli Zaretskii
2009-07-03 17:26 ` Jan Djärv
2009-07-03 17:41 ` Lennart Borgman
2009-07-03 18:30 ` Jan D.
2009-07-03 18:33 ` Lennart Borgman
2009-07-03 19:08 ` Jan Djärv
2009-07-03 19:15 ` Eli Zaretskii
2009-07-03 19:31 ` Leo
2009-07-03 22:32 ` Lennart Borgman
2009-07-03 19:05 ` Eli Zaretskii
2009-07-03 19:13 ` Jan Djärv
2009-07-03 19:08 ` Eli Zaretskii
2009-07-03 19:21 ` Jan Djärv
2009-07-03 23:42 ` Lennart Borgman
2009-07-03 16:14 ` Jan Djärv
2009-07-03 19:10 ` Eli Zaretskii
2009-07-03 19:25 ` Jan Djärv [this message]
2009-07-03 20:07 ` Eli Zaretskii
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=4A4E5B35.20509@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=fitzsim@fitzsim.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.