From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: org-src-fontify-natively makes things very, very slow Date: Tue, 29 Mar 2011 10:12:20 -0400 Message-ID: <87y63ynhh7.fsf@fastmail.fm> References: <87ipvhiou8.fsf@ucl.ac.uk> <804o71triy.fsf@somewhere.org> <87bp18su1a.fsf@ucl.ac.uk> <80fwqjqxfj.fsf@somewhere.org> <87oc56q26l.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=36454 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4ZgH-0003tX-9s for emacs-orgmode@gnu.org; Tue, 29 Mar 2011 10:14:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4Zeg-0005kL-9z for emacs-orgmode@gnu.org; Tue, 29 Mar 2011 10:12:23 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:51727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4Zef-0005kG-Uh for emacs-orgmode@gnu.org; Tue, 29 Mar 2011 10:12:22 -0400 In-Reply-To: <87oc56q26l.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Sat, 19 Mar 2011 20:34:58 +0000") 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: Eric S Fraga Cc: =?utf-8?Q?S=C3=A9bastien?= Vauban , emacs-orgmode@gnu.org Eric S Fraga writes: > yes, I used to use yasnippet a lot but I don't any longer. I am > actually in confusion as to which completion mechanism to use in Emacs > these days and am going a little crazy... :( I'm currently playing with > auto-complete. Skeletons and abbrev-mode have always gotten the job done for me, with minimal fuss. Here's my skeleton for org source blocks: --8<---------------cut here---------------start------------->8--- (define-skeleton skel-org-block "Insert an org block" "Type: " "#+begin_" str - "\n" _ \n "#+end_" str "\n") (define-abbrev org-mode-abbrev-table "blk" "" 'skel-org-block) --8<---------------cut here---------------end--------------->8--- You can see a whole range of options for inserting source blocks in this FAQ: http://orgmode.org/worg/org-faq.html#shortcuts-for-entering-source-blocks Best, Matt