From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ye Wenbin" Newsgroups: gmane.emacs.help Subject: how to change tooltip text Date: Fri, 28 Jul 2006 09:21:57 +0800 Organization: Personal Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154049815 20869 80.91.229.2 (28 Jul 2006 01:23:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2006 01:23:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 28 03:23:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G6H4c-0002FQ-4l for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jul 2006 03:23:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6H4b-0001i1-L6 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Jul 2006 21:23:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G6H4N-0001g7-JP for help-gnu-emacs@gnu.org; Thu, 27 Jul 2006 21:23:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G6H4A-0001du-T9 for help-gnu-emacs@gnu.org; Thu, 27 Jul 2006 21:23:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G6H4A-0001dq-Ok for help-gnu-emacs@gnu.org; Thu, 27 Jul 2006 21:23:02 -0400 Original-Received: from [220.181.12.16] (helo=m12-16.163.com) by monty-python.gnu.org with smtp (Exim 4.52) id 1G6H62-0003S9-M8 for help-gnu-emacs@gnu.org; Thu, 27 Jul 2006 21:24:59 -0400 Original-Received: from localhost.localdomain (unknown [218.17.227.208]) by smtp9 (Coremail) with SMTP id wKjAEC_AUgDzZslEuUBMAA==.62589S2; Fri, 28 Jul 2006 09:23:00 +0800 (CST) Original-To: emacs User-Agent: Opera Mail/9.00 (Linux) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36313 Archived-At: hello, I wrote a elisp which need a feature like x-show-tip. but I need to change the the text when user is typing. x-show-tip seems too slow. I test like this: (add-hook 'after-change-functions (lambda (&rest arg) (and (current-word) (x-show-tip (current-word)))) nil t) When typing quickly, you can see the tip frame can't follow and the input character maybe not show in the screen. Is there a way to reuse the tip frame but change the text? Or is there other way to implement this feature? Thanks for advance! -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/