From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62697 Path: news.gmane.org!not-for-mail From: Wolfram Fenske Newsgroups: gmane.emacs.gnus.general Subject: Re: New completion mode Date: Thu, 13 Apr 2006 04:29:18 +0200 Message-ID: <86irpe1a4h.fsf@student.uni-magdeburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144895566 18997 80.91.229.2 (13 Apr 2006 02:32:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Apr 2006 02:32:46 +0000 (UTC) Original-X-From: ding-owner+m11224@lists.math.uh.edu Thu Apr 13 04:32:41 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTrdG-0006OA-HQ for ding-account@gmane.org; Thu, 13 Apr 2006 04:32:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FTrdC-0005G5-00; Wed, 12 Apr 2006 21:32:26 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FTraQ-0005G0-00 for ding@lists.math.uh.edu; Wed, 12 Apr 2006 21:29:34 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FTraO-0007Ae-Hr for ding@lists.math.uh.edu; Wed, 12 Apr 2006 21:29:34 -0500 Original-Received: from mail.uni-magdeburg.de ([141.44.1.10]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FTraN-0001sH-00 for ; Thu, 13 Apr 2006 04:29:31 +0200 Original-Received: from sunny.urz.uni-magdeburg.de ([141.44.8.7]) by mail.uni-magdeburg.de with esmtp (EXIM Version 4.43) for id 1FTraL-0001Cm-7C; Thu, 13 Apr 2006 04:29:31 +0200 Original-Received: from hondo (pD951628E.dip0.t-ipconnect.de [217.81.98.142]) (authenticated bits=0) by sunny.urz.uni-magdeburg.de (8.12.10/8.12.10) with ESMTP id k3D2TQTH005990 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 13 Apr 2006 04:29:27 +0200 Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 11 Apr 2006 12:30:21 +0200") User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (berkeley-unix) X-Spam-Score: -2.6 (--) X-Spam-Report: ---- Start SpamAssassin results -2.6 points, 5.0 required; -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: From: address is in the auto white-list ---- End of SpamAssassin results X-Scan-Signature: a5b546456033b0c2695077fb2a7b3655 X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62697 Archived-At: Lars Magne Ingebrigtsen writes: > You're on an address header: > > To: > > and you type > > To: la > > Emacs would then show you the possible completions, ranked in the > most-likely order. (Likelihood might be based on number of times the > address has been used, and how recently it was used, and perhaps > other... things.) > > How to display the list, though? One possibility would be in the echo > area. Just display the ten most highly ranked ones, and choose them > with, say, `M-n M-n RET' or the like. Or pop up a small helper > buffer. Or a frame? > > Or has anybody written this already? Does bbdb do this? Perhaps I > should have a peek... Yes, bbdb sorta does this, you should have a look at it. You type some characters and when you press TAB, a *Completions* buffer is shown on the bottom of the screen. It's very similar to the completion function of "find-file." bbdb doesn't do any ranking, though, as far as I can tell. If you still want to implement this, I think a completions buffer is less intrusive (better) than what Firefox does. I always feel Firefox's popup gets a little in the way of my typing, but I can't tell exactly why. Regards Wolfram -- A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon?