[O] %(SEXP) with %c in org-capture templates

2011-07-12 Thread Philipp Möller
Hello all, I want to define a capture template which pre-processes the head of the kill ring with a sexp that takes a string as an argument: (setq org-capture-templates (quote (("l" "Link" entry (file+headline "" "Links") "* \"%c\" %(get-page-title \"%c\")" ;; throws Bad

Re: [O] %(SEXP) with %c in org-capture templates

2011-07-15 Thread Philipp Möller
On 13 July 2011 01:46, Philipp Möller wrote: > Hello all, > I want to define a capture template which pre-processes the head of the kill > ring with a sexp that takes a string as an argument: > > (setq org-capture-templates >   (quote >    (("l" "

Re: [O] %(SEXP) with %c in org-capture templates

2011-07-25 Thread Philipp Möller
On 24 July 2011 18:48, Bastien wrote: > Hi Philipp, > > Philipp Möller writes: > >> nevermind. I figured out that the expansion order of %s and s >> expressions is the problem and also the reason for the with the >> correct URL. >> The solution is to

[O] Exporting verbatim html that should not be part of an outline div

2011-09-08 Thread Philipp Möller
Hello, I'm trying to get a sidebar when exporting an org file to HTML and I'm stuck with getting my verbatim html into a separate div. The produced html should look like this ... outlines ... It doesn't matter to me if the sidebar div is before or after the content div but it shouldn't b