From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: completion Date: Wed, 22 Aug 2007 23:26:04 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187818009 28403 80.91.229.12 (22 Aug 2007 21:26:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2007 21:26:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 23:26:47 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INxiv-0004h3-Ru for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2007 23:26:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INxio-0005Fa-K0 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2007 17:26:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INxiL-00056n-Hx for help-gnu-emacs@gnu.org; Wed, 22 Aug 2007 17:26:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INxiK-00056A-4S for help-gnu-emacs@gnu.org; Wed, 22 Aug 2007 17:26:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INxiJ-000565-TY for help-gnu-emacs@gnu.org; Wed, 22 Aug 2007 17:26:07 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1INxiI-0007JV-Tj for help-gnu-emacs@gnu.org; Wed, 22 Aug 2007 17:26:07 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 79B9095D3152 for ; Wed, 22 Aug 2007 23:26:01 +0200 (CEST) Original-Received: from [89.60.173.155] (helo=wednesday) by smtp07.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.108 #197) id 1INxiD-0007lY-00 for help-gnu-emacs@gnu.org; Wed, 22 Aug 2007 23:26:01 +0200 In-Reply-To: (Hadron's message of "Wed\, 22 Aug 2007 00\:30\:19 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (darwin) X-Sender: n_schumacher@web.de X-Provags-ID: V01U2FsdGVkX19/8G27uYfShO734M11vBD0CQUOg4tKolP3NxMy TeHo2CKcU4nBrM4EY2EZ4RR0h/ODSqMCkWZeXkai1hkGyUBsy4 bM8JXKkG1KdZOCZrNnzw== X-Detected-Kernel: Linux 2.4-2.6 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:46764 Archived-At: Hadron wrote: > I'm a little overwhelmed with the choice in auto completion options for > emacs in buffers. What do you use and why? Most of the time I just use dabbrev, because its simple, predictable and most of all included. :) hippie-expand should be just as well, it just does a little much at once for my taste. As I said, I prefer predictability. Everything else depends greatly on what type of buffer you're editing. Many modes have their own completion mechanisms that are usually good at what they do (nxml does pure magic given schemas ...). If you do text completion, Predictive Mode and Magpie seem popular. If you program, don't forget the power of abbrevs and templates > the completion-ui package As the name says, that's a front-end designed to deal with the mess created by the mentioned mechanisms. (Each one has its own look-and-feel and configuration, which is silly). But right now, you'll probably have to write your own backends ... regards, Nikolaj Schumacher