From: "Eric M. Ludlam" <eric@siege-engine.com>
Cc: emacs-devel@gnu.org
Subject: Re[2]: Tooltipping enhancement request
Date: Wed, 10 Mar 2004 07:20:02 -0500 [thread overview]
Message-ID: <200403101220.i2ACK2vd015248@projectile.siege-engine.com> (raw)
In-Reply-To: <20040310.145625.98873014.jet@gyve.org> (message from Masatake YAMATO on Wed, 10 Mar 2004 14:56:25 +0900 (JST))
>>> Masatake YAMATO <jet@gyve.org> seems to think that:
>> 2) A means for accepting input from a tooltip (a strange idea)
>> or a way to make a regular Emacs frame look like a tooltip.
>>
>> The tooltip is pretty good for me. I don't use the mouse much, but I
>> watch others use this feature in other editors, and they all like to
>> go clicky-clicky on the completion list. I think it would help
>> mouse-bound users.
>>
>> The tooltip part is important because a timer can cause Emacs to go
>> into this completion mode. Splitting windows and moving the mouse
>> makes the feature difficult to accept.
>>
>
>What kind of input do you expect?
>
>About VisualBasic like completion selection, I think it is better
>to extend the behavior of popup-menu. The popup menu of emacs configured
>with --with-gtk can do
>1) select a menu item with cursor keys, and
>2) pass other keys to the behind buffer and close the popup menu itself.
>
>The biggest problem is that there is no elisp function to pop down the
>popup menu. (Correct me if I write wroing.) So you cannot use the popup
>menu with timers.
[ ... ]
I'll call what I want a "completion tip" to separate it from both
tooltips which do their job just fine, and menus.
A usage of a completion tip be this:
1) popup from a timer or keypress, showing possible completions
2) accept any length text, and show a scrollbar if too long
3) remove itself in case of non-completion-tip actions.
4) not disappear on valid completion tip actions which include:
a) scrollbar actions
b) cursor up/down navigation
5) allow highlighting/coloring of one or more in the list
I think I can simulate a bunch of of this with tooltips and clever use
of text characters and images, but I'm not sure about the flashing of
the tip on each keystroke.
A problem with menus is that they won't go away after non completion
tip type actions.
Thanks
Eric
--
Eric Ludlam: zappo@gnu.org, eric@siege-engine.com
Home: http://www.ludlam.net Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org
next prev parent reply other threads:[~2004-03-10 12:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-04 18:17 Tooltipping enhancement request Eric M. Ludlam
2004-03-10 5:56 ` Masatake YAMATO
2004-03-10 12:20 ` Eric M. Ludlam [this message]
2004-03-11 22:03 ` Jan D.
2004-03-12 3:04 ` Re[2]: " Eric M. Ludlam
2004-03-12 11:18 ` Jan D.
2004-03-12 12:47 ` Re[4]: " Eric M. Ludlam
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=200403101220.i2ACK2vd015248@projectile.siege-engine.com \
--to=eric@siege-engine.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.