From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Re[2]: Tooltipping enhancement request Date: Fri, 12 Mar 2004 12:18:22 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200403041817.i24IHC08001260@projectile.siege-engine.com> <20040310.145625.98873014.jet@gyve.org> <200403120304.i2C340YX028762@projectile.siege-engine.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v612) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1079135520 22693 80.91.224.253 (12 Mar 2004 23:52:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Mar 2004 23:52:00 +0000 (UTC) Cc: jet@gyve.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat Mar 13 00:51:45 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1wRN-0006wQ-00 for ; Sat, 13 Mar 2004 00:51:45 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1wRN-0007MU-00 for ; Sat, 13 Mar 2004 00:51:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1uBI-0002oV-7X for emacs-devel@quimby.gnus.org; Fri, 12 Mar 2004 16:27:00 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B1rs3-000831-SF for emacs-devel@gnu.org; Fri, 12 Mar 2004 13:58:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B1kh4-0007td-Uc for emacs-devel@gnu.org; Fri, 12 Mar 2004 06:19:42 -0500 Original-Received: from [213.115.192.53] (helo=mail2.norrnet.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B1kh2-0007sY-La for emacs-devel@gnu.org; Fri, 12 Mar 2004 06:19:09 -0500 Original-Received: from stubby.bodenonline.com (stubby.bodenonline.com [193.201.16.94]) by mail2.norrnet.net (BorderWare MXtreme Mail Firewall) with ESMTP id 3B373BB70D; Fri, 12 Mar 2004 12:18:06 +0100 (CET) Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44]) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id i2CC9HTY023964; Fri, 12 Mar 2004 13:09:17 +0100 In-Reply-To: <200403120304.i2C340YX028762@projectile.siege-engine.com> Original-To: "Eric M. Ludlam" X-Mailer: Apple Mail (2.612) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20364 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20364 > Here is an example of interaction. > > 1) User types in foo->b > 2) User thinks, "Hmmm, what was that member again?" > 3) Emacs becomes impatient, and pops up a list of options. > > Here you can now branch. > > b1.1) user sees the field wanted, and types some more, or presses TAB > for > completion. Each key press updating the list. I still don't see why this needs a timer. But you would need to dynamically update the popup menu while it is popped up. I am not sure any of the toolkits Emacs uses (GTK, Motif/Lesstif, Lucid) even supports it. I think it would be better to implement these lists in a kind of buffer/window, that appears over a window. Enhancing the current tool tip would probably break things, so other mechanisms is probably better. I'm thinking of some sort of "overlay windows" that may appear on top of other windows, and without the usual window manager decorations. How to handle input is something to figure out. There is a bigger chance to get this to work on all ports of Emacs than if popup menu code is enhanced. > > b2.1) user sees the field wanted, and clicks on it to complete. This is more in line with what popup menus can do now. Jan D.