[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] bug in LaTeX exporter (org-mode 6.07)
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] bug in LaTeX exporter (org-mode 6.07) |
Date: |
Tue, 21 Oct 2008 20:55:08 +0200 |
User-agent: |
Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
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!!!