From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Vagn Johansen Newsgroups: gmane.emacs.help Subject: Re: dabbrev-hover.el v. 0.1 Date: Fri, 21 May 2004 00:56:45 +0200 Organization: TDC Totalloesninger Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87oeolvjyw.fsf@gnufans.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085094375 17490 80.91.224.253 (20 May 2004 23:06:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 May 2004 23:06:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 21 01:06:11 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQwc6-0001J2-00 for ; Fri, 21 May 2004 01:06:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BQwbT-0003Te-QC for geh-help-gnu-emacs@m.gmane.org; Thu, 20 May 2004 19:05:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!freenix!usenet-fr.net!proxad.net!fr.ip.ndsoftware.net!news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (windows-nt) Cancel-Lock: sha1:/WC3i/Smbv4YrnHcDLIFV/NO3nA= Original-Lines: 23 Original-NNTP-Posting-Host: 80.196.132.34 Original-X-Trace: 1085093892 dread16.news.tele.dk 266 80.196.132.34:46140 Original-X-Complaints-To: abuse@post.tele.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:123334 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18631 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18631 jasonr (Jason Rumney) @ f2s.com writes: > Vagn Johansen writes: > >>> Is it needed at all in the minibuffer? >> >> The tooltip feature? I don't think so. I rarely use dabbrev-expand / >> dabbrev-complete in the minibuffer. > > If you don't need the tooltip feature in the minibuffer, then why the > need to redefine tooltip-show? The default implementation should use > the minibuffer if tooltips are not supported. You are right. A "(require 'tooltip)" was missing in dabbrev-hover.el. It is odd that there was no missing function error (it failed silently). Now it works in the sense that instead of showing a "real" tooltip it prints "Error while displaying tooltip: (void-function x-show-tip)" in the minibuffer for half a second and then shows the possible expansion (also in the minibuffer). -- Vagn Johansen