all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: RE: Mention mouse-face changes mouse pointer shape
Date: Thu, 22 Feb 2007 08:23:11 -0800	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMEEBPCPAA.drew.adams@oracle.com> (raw)
In-Reply-To: <45DDB142.1080008@gnu.org>

>     But shouldn't the cursor change to a hand cursor rather than an arrow
>     cursor when hoovering over a mouse-face?
>
> I think the change was a mistake, instead we should have arranged the
> relevant areas to have both mouse-face and pointer text properties. But
> I don't know how much effort it will be now to go back and change this.

I haven't followed this thread closely, but this does indeed sound like a
(design) mistake. The two, mouse-face and pointer shape, should be
independent, by default. If some particular code wants to couple them for
some purpose, that's fine, but such a coupling should not be hard-coded or
the default behavior.

The use and the interpretation of these properties should be open, IMO. Code
that uses them should be able to decide what their relation, if any, should
be in any given context.

It is wrong to assume that mouse-face always indicates a link. If it
indicates anything particular a priori, it is only that the mouse can
operate on the text in question somehow, and even that interpretation is not
required. It is also wrong to assume that the finger pointer always
indicates a link. The meaning of each of these two properties is open, by
default, and it makes no sense to hard-couple them.

If some people think that wedding them is helpful in general, then we could
have an option that does that. But 1) the default value of the option should
not couple them, and 2) even if generally coupled by the non-default option
value, this coupling should be easily overridable in any given context.

  reply	other threads:[~2007-02-22 16:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22 13:34 Mention mouse-face changes mouse pointer shape Lennart Borgman (gmail)
2007-02-22 15:05 ` Jason Rumney
2007-02-22 16:23   ` Drew Adams [this message]
2007-02-22 16:35     ` Lennart Borgman (gmail)
2007-02-22 16:54       ` Drew Adams
2007-02-22 17:24   ` Kim F. Storm
2007-02-22 17:33     ` Jason Rumney
2007-02-22 17:44       ` Lennart Borgman (gmail)
2007-02-22 17:42     ` Drew Adams
2007-02-22 19:42       ` Jason Rumney

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=EIENLHALHGIMHGDOLMIMEEBPCPAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --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.