From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: RFI -- Which completion system? Date: Fri, 22 Oct 2010 11:24:35 +0100 Message-ID: <87fwvyv82k.wl%ucecesf@ucl.ac.uk> References: <80d3r3457g.fsf@mundaneum.com> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Fri_Oct_22_11:24:35_2010-1" Return-path: Received: from [140.186.70.92] (port=58650 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9Ent-0007lq-FC for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 06:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9Enl-0003y2-9E for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 06:24:46 -0400 Received: from vscane-a.ucl.ac.uk ([144.82.108.41]:63343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9Enl-0003xS-5E for emacs-orgmode@gnu.org; Fri, 22 Oct 2010 06:24:45 -0400 In-Reply-To: <80d3r3457g.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban Cc: emacs-orgmode@gnu.org --Multipart_Fri_Oct_22_11:24:35_2010-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 21 Oct 2010 23:16:19 +0200, S=C3=A9bastien Vauban wrote: >=20 > Hello, >=20 > Before spending a lot of time trying to choose for the "best" completion > mechanism inside Emacs (and sticking to it), setting it up all the way > through, I wanted to know if you had had: >=20 > - particularly good or bad experiences with one of the "standard" ones? I've tried a number over the years. I've yet to reach a situation where I am particularly happy with any of them but the one that seems to work best *for me* so far is hippie. I have the following settings (having just added Tassilo's expansion function for calc which is brilliant!): --8<---------------cut here---------------start------------->8--- (setq hippie-expand-try-functions-list '(;;yas/hippie-try-expand th/my-try-complete-with-calc-result try-expand-all-abbrevs try-expand-dabbrev try-expand-dabbrev-all-buffers try-expand-dabbrev-from-kill try-complete-file-name try-complete-lisp-symbol)) --8<---------------cut here---------------end--------------->8--- I no longer use yasnippets as they interfered too much with completion in general. =20 I have bound hippie-expand to C-; as I find this a lot easier to type than M-/. I also have TAB bound to the following: --8<---------------cut here---------------start------------->8--- (defun esf/indent-or-expand (arg) "Either indent according to mode, or expand the word preceding point." (interactive "*P") (if (and (or (bobp) (=3D ?w (char-syntax (char-before)))) (or (eobp) (not (=3D ?w (char-syntax (char-after)))))) ;;(dabbrev-expand arg) (hippie-expand arg) (indent-according-to-mode))) --8<---------------cut here---------------end--------------->8--- in most text buffers. This means that TAB no longer does what it should in org mode but I use C-i for that functionality as most of the time I am typing text and not moving things around. HTH, eric --Multipart_Fri_Oct_22_11:24:35_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Fri_Oct_22_11:24:35_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Fri_Oct_22_11:24:35_2010-1--