all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Reducing mouse-dependency In Emacs.
Date: Sun, 10 Aug 2003 18:09:24 -0500 (CDT)	[thread overview]
Message-ID: <200308102309.h7AN9O420410@raven.dms.auburn.edu> (raw)
In-Reply-To: <200308101650.h7AGovxS005131@rum.cs.yale.edu> (monnier+gnu/emacs@cs.yale.edu)

Stefan Monnier wrote:

   Sounds like overengineering to me.  It's already hard enough to
   get people to add the `help-echo' property (additionally to docstrings,
   comments, and the manual).

And the NEWS.  But the text properties would be optional, defaulting
to `help-echo'.  The reason for a separate `short-help' is that a much
too large percentage of the help-echo properties are like:

mouse-2: visit this file in other window

on a file name in dired.  There is no reason to single out this
command among the zillion possible, other than that the user has the
mouse in the hand and hence is planning to use the mouse, so only
mouse commands "make sense".  If 100% of the help-echo's were like
that, there would be no need at all to access `help-echo' from the
keyboard.  If 0% were like that, you would be completely right.  The
problem is that it is not close to 0, but not close to 100 either.

In the case of `long-help', there might be instances where an author
might want to provide more information than would comfortably fit in
the echo area.

There are some bugs in the version of `print-local-help' I sent, but
they are easy to correct.  Anyway, we need to decide what we want to
do with these new text properties.  If one definitely does not want
them, the function would get shorter.

   What you suggested sounds pretty good.  We could also have a more noisy
   option that always echos the help-echo property around point (after some
   idle delay, of course).  Or some other that hilights text with the
   `mouse-face' face when point is inside.

In as far as an option to automatically display the help-echo text on
"point-over" is concerned, I told Eli, who suggested the same thing,
this morning that it would be a good idea, but after actually
implementing it, I completely changed my mind.  I found all that text
popping up in the echo area very distracting.  Most of it was of the
"mouse-2: do something you do not want to do" type.

I believe something should be done with highlighting, but at the
moment I am not sure what the best thing would be.

Sincerely,

Luc.

  reply	other threads:[~2003-08-10 23:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-10  3:42 Reducing mouse-dependency In Emacs Luc Teirlinck
2003-08-10  6:08 ` Eli Zaretskii
2003-08-10 14:53   ` Luc Teirlinck
2003-08-11 12:53   ` Richard Stallman
2003-08-10 16:50 ` Stefan Monnier
2003-08-10 23:09   ` Luc Teirlinck [this message]
2003-08-11  4:05     ` Luc Teirlinck
2003-08-11 23:16       ` Richard Stallman
2003-08-11  6:04     ` Eli Zaretskii
2003-08-11 15:52       ` Luc Teirlinck
2003-08-11 17:52         ` Eli Zaretskii
2003-08-11 14:54     ` Stefan Monnier
2003-08-12  2:30       ` Luc Teirlinck
2003-08-12  6:28         ` Eli Zaretskii
2003-08-12 16:08           ` Luc Teirlinck
  -- strict thread matches above, loose matches on Subject: below --
2003-08-12  1:29 Luc Teirlinck
2003-08-12  1:43 ` Luc Teirlinck
2003-08-12  2:49 Luc Teirlinck
2003-08-13  5:36 Luc Teirlinck
2003-08-13  7:47 ` Miles Bader
2003-08-13 12:59   ` Luc Teirlinck
2003-08-13 22:56     ` Nick Roberts
2003-08-14  0:35       ` Luc Teirlinck
2003-08-14  1:42         ` Miles Bader
2003-08-14  1:04       ` Luc Teirlinck
2003-08-13 14:32   ` Luc Teirlinck

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=200308102309.h7AN9O420410@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --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.