From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [Use Question] Capture and long lines Date: Wed, 22 Jun 2011 14:09:17 -0400 Message-ID: <5115.1308766157@alphaville.americas.hpqcorp.net> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZRre-0001IH-Ry for emacs-orgmode@gnu.org; Wed, 22 Jun 2011 14:09:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZRrc-0007yK-B2 for emacs-orgmode@gnu.org; Wed, 22 Jun 2011 14:09:22 -0400 Received: from g4t0016.houston.hp.com ([15.201.24.19]:23158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZRrb-0007xx-U1 for emacs-orgmode@gnu.org; Wed, 22 Jun 2011 14:09:20 -0400 In-Reply-To: Message from Matthew Sauer of "Wed, 22 Jun 2011 12:16:32 CDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Sauer Cc: nicholas.dokos@hp.com, Org Mode Mailing List Matthew Sauer 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