unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Corey Foote'" <coreyfoote@hotmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Temporarily disabling mouse avoidance mode automatically
Date: Wed, 3 Dec 2008 09:31:25 -0800	[thread overview]
Message-ID: <001801c9556c$f7a340b0$c2b22382@us.oracle.com> (raw)
In-Reply-To: <BLU105-W498ABC6FAE162C68560AE8DA030@phx.gbl>

> Mouse avoidance mode keeps the mouse pointer away from the point
> to avoid obscuring text. I find this helpful when using just the
> keyboard, but annoying when I'm using the keyboard and mouse in
> conjunction. I'm looking for a way to have mouse avoidance mode
> temporarily disabled automatically if the mouse has been used
> recently, say within the last ten seconds. Otherwise mouse avoidance
> mode will be enabled. This will save me from having to manually
> disable mouse avoidance mode when using the keyboard and mouse in
> conjunction and then having to manually re-enable it when finished.

Sorry, I don't have a ready solution for you. Perhaps look at the code in
avoid.el and fiddle with some timers and states.

But you made me think. It would be nice if Emacs could (optionally) do what some
apps do: Hide the mouse pointer completely, until you move the mouse. That way,
the pointer would not simply be moved away when you use mainly the keyboard; it
would disappear altogether. You would be able to have an on-demand mouse.

That would be a good mode value to add to `mouse-avoidance-mode': `vanish'.





  reply	other threads:[~2008-12-03 17:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 16:35 Temporarily disabling mouse avoidance mode automatically Corey Foote
2008-12-03 17:31 ` Drew Adams [this message]
2008-12-04  0:03   ` Bill White
2008-12-04 16:45     ` Drew Adams

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='001801c9556c$f7a340b0$c2b22382@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=coreyfoote@hotmail.com \
    --cc=help-gnu-emacs@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.
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).