From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: bug in LaTeX exporter (org-mode 6.07) Date: Tue, 21 Oct 2008 20:55:08 +0200 Message-ID: <48FE258C.7050409@gmx.de> References: Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsMNr-0004dN-Kk for emacs-orgmode@gnu.org; Tue, 21 Oct 2008 14:55:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsMNo-0004br-64 for emacs-orgmode@gnu.org; Tue, 21 Oct 2008 14:55:11 -0400 Received: from [199.232.76.173] (port=43446 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsMNn-0004bj-UM for emacs-orgmode@gnu.org; Tue, 21 Oct 2008 14:55:08 -0400 Received: from mail.gmx.net ([213.165.64.20]:47345) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KsMNn-000737-7M for emacs-orgmode@gnu.org; Tue, 21 Oct 2008 14:55:08 -0400 In-Reply-To: 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: Manish Cc: emacs-orgmode Org-Mode Manish wrote: > On Tue, Oct 21, 2008 at 8:07 PM, Peter wrote: > [snip] > > > > Unrelated: what trick/mode/command do you guys use to make those nice > > snippets like: > > ,---[xxx] > > | blah > > | blah > > `--- > > Boxquote. > http://www.emacswiki.org/cgi-bin/wiki/BoxQuote > http://www.davep.org/emacs/#boxquote.el > > -- Manish How about a yasnippet box: ,------------------------. ! A box from a yasnippet | `------------------------´ The snippet file: >>> --->8-------------------------->8-------------------------->8--- #name : ! box | # -- ,${1:$(make-string (string-width text) ?\-)}--. ! ${1:SubTitle} | \`${1:$(make-string (string-width text) ?\-)}--´ $0 <<< ---8<--------------------------8<--------------------------8<--- Setup yasnippets! It's the best package I found since Org-mode. After loading the snippet above, you just type box and hit TAB. The box grows as you type. After TAB point is automatically at ${1:SubTitle} (where SubTitle is the default text, that is overwritten if you decide to type somthing. There could be $2, $3 etc. to TAB to more than one place in the snippet (S-TAB backwards). $0 is where point should go after the last TAB, that exits the snippet. Homepage: http://code.google.com/p/yasnippet/ Demo: http://www.youtube.com/watch?v=vOj7btx3ATg You can even easily define, which editing mode inherits from which, simply by changing the directory structure. WOWWWW. Fast, simple, productive!!!