From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "D. Goel" Newsgroups: gmane.emacs.help Subject: Re: dabbrev-hover.el v. 0.1 Date: Mon, 24 May 2004 14:35:27 -0400 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87pt8tu100.fsf@gnufans.net> 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 1085425745 13395 80.91.224.253 (24 May 2004 19:09:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 May 2004 19:09:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 24 21:08:43 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 1BSKoV-0007o8-00 for ; Mon, 24 May 2004 21:08:43 +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 1BSKU3-0001vS-Cv for geh-help-gnu-emacs@m.gmane.org; Mon, 24 May 2004 14:47:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: #5@=vrmx5t3mZaPY8(mR.n+V#:%4NW7j5A&^}@lGp2rK; CQ4%iH1v'gh/^A)w5*6c&R2(P' 4+seYDq8OK'LPI/C(C^A*w|f*t+8, 'T8b#_0~h3!A7GoVroE[cr0Fb'A0%SdU|Lk@gBV&1vA User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:IFA2pljjucnQYNuZ+gcTg852mc0= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 37 Original-Xref: shelby.stanford.edu gnu.emacs.help:123400 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:18697 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18697 Oops, I just see that there's lots of good advice in this thread in response to dabbrev-hover 0.1. I missed it before posting dabbrev-hover 0.2dev. Apologies. Traveling right now and during next few weeks, but will incorporate all the fine advice when I get back. Thanks to everyone. Vagn Johansen writes: > Hi > > When I tried your dabbrev-hover code I had complety forgotten that Emacs > 21.3 does not support tooltips on MS Windows. I got it "working" by > replacing the two calls to tooltip-show to vj-tooltip-show: > > (defun vj-tooltip-show (str) > (interactive) > (setq header-line-format (replace-regexp-in-string "\n" ", " str))) > > Maybe you could detect if tooltip is possible and the fallback to my > function. It would be nice with some cleanup so that header-line-format > is set to "" when there are no dynamic expansions possible. > > Is it suppossed to show only one suggestion? I would like to use > dabbrev-expand with a prefix argument. This would make the mode even > better. > > I also think i would prefer if it did not fiddle with the RET keybinding > (customizable?). > > -- > Vagn Johansen DG http://gnufans.net/ --