emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [Use Question] Capture and long lines


From: Nick Dokos
Subject: Re: [O] [Use Question] Capture and long lines
Date: Wed, 22 Jun 2011 14:09:17 -0400

Matthew Sauer <address@hidden> wrote:

> I have one structured org file I use for school that I leave in long
> lines.  The capture template I have setup has \n at the end of what I
> would want to be a line but is still stringing them together in one
> long line until i reach my wrap point.  My headline has my deadline in
> it and org recognizes the deadline but that isn't working to get a new
> line inserted (an actual hard return).  Org is recongnizing it as a
> new line but it just runs in one long line.  Am I missing something
> obvious or ????    If it isn't something obvious I will make up a
> sample target file, example of a capture and send them out to the
> group
> 
> * WORKING Read Chapter 9  :ENGL102: \n
> DEADLINE:<2011-06-28 Tue 18:30>\n  ADDEND:<2011-06-28 Tue
>  00:00>\n :
> 
> Also the logbook just keeps adding in as one long line
> :LOGBOOK: -State "STARTED  from "TODO" [2011-06-22 Wed 09:56] :END:
> 
> 

Looks as if you are escaping the newlines - are you using \\n in your
templates? If so, try losing one of the backslashes - or put explicit
newlines in the string which should amount to the same thing:

(setq org-capture-templates
'(                   ("t" "" entry (file+headline "~/lib/org/todo.org" "Tasks") 
"* TODO %?
  %U %a" :prepend t)
                     ...
))

Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]