From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Moss Subject: Re: (org-log-done 'time) and the subsequent line Date: Tue, 7 Dec 2010 22:12:19 +0100 Message-ID: References: <20101207.214512.35446102.joost@snow.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=33501 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ4pi-0004dd-Hk for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 16:12:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQ4ph-00011z-3d for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 16:12:22 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:46051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQ4pg-00011f-S3 for emacs-orgmode@gnu.org; Tue, 07 Dec 2010 16:12:20 -0500 Received: by wyj26 with SMTP id 26so397038wyj.0 for ; Tue, 07 Dec 2010 13:12:20 -0800 (PST) In-Reply-To: <20101207.214512.35446102.joost@snow.nl> 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: Joost Helberg Cc: emacs-orgmode@gnu.org Hi Joost, I'm running Emacs 23.2.1 (with orgmode 6.33 bundled) on OS X 10.6 and I have also tested this with orgmode 7.3. Thanks for the "emacs -q" tip. The symptoms don't appear when I do this, and it only took a minute or two to discover that turning off longlines-mode in my regular emacs session also fixed this problem. Boy, do I feel stupid not to have thought of that. Sorry for the noise and thanks again for your help! Sincerely, Rob On 7 December 2010 21:45, Joost Helberg wrote: > Rob, > > what's the version of your software. With an emacs -q which only loads > (require 'org) and sets =A0(set 'org-log-done t) your symptoms don't > appear. > > regards, > > Joost > >>>>>> "Rob" =3D=3D Rob Moss writes: > =A0> Subject: [Orgmode] (org-log-done 'time) and the subsequent line > =A0> From: Rob Moss > =A0> To: emacs-orgmode@gnu.org > =A0> Date: Tue, 7 Dec 2010 00:58:34 +0100 > > =A0> Greetings, > > =A0> I've just started using org-mode. I began with a tutorial > =A0> (http://dto.github.com/notebook/orgtutorial.html) and have also read > =A0> bits of the Compact Org-mode Guide and the org-mode manual. But afte= r > =A0> an hour or two of fruitless searching, I am stuck with a > =A0> problem/question concerning the logging of TODO items. I want to kno= w > =A0> how I can add a trailing newline to the "CLOSED: [DATE]" line that > =A0> gets inserted when I press C-c C-t. To illustrate what I mean, say I > =A0> have a file such as the following paragraph: > > =A0> * Tasks for today > =A0> ** TODO Task 1 > =A0> ** TODO Task 2 > > =A0> If I put my cursor on line 2 ("** TODO Task 1") and press C-c C-t, I= get: > > =A0> * Tasks for today > =A0> ** DONE Task 1 > =A0> =A0 =A0CLOSED: [2010-12-07 Tue XX:YY] ** TODO Task 2 > > =A0> And now, Task 2 is on the same line as the "CLOSED: [DATE]" that log= s > =A0> the completion of Task 1. Likewise, say I instead have a file such a= s > =A0> the following two paragraphs: > > =A0> * Tasks for today > =A0> ** TODO Task 1 > =A0> ** TODO Task 2 > > =A0> * Tasks for tomorrow > > =A0> If I put my cursor on line 3 ("** TODO Task 2") and press C-c C-t, I= get: > > =A0> * Tasks for today > =A0> ** TODO Task 1 > =A0> ** TODO Task 2 > =A0> =A0 =A0CLOSED: [2010-12-07 Tue XX:YY] > =A0> * Tasks for tomorrow > > =A0> And I have lost the empty line between the tasks for today and the > =A0> tasks for tomorrow. Granted, this doesn't bother me nearly as much a= s > =A0> the first case. > > =A0> Can anyone suggest how to solve this? I've searched through forums, > =A0> public .emacs files and the org-mode manual, but I can't find an > =A0> answer. I've dabbled a very little in elisp, but since 'time doesn't > =A0> appear to be a function, I can't see how to override it easily. I > =A0> really hope that I haven't missed something obvious here. > > =A0> Many thanks in advance for any suggestions, > =A0> Rob > > =A0> _______________________________________________ > =A0> Emacs-orgmode mailing list > =A0> Please use `Reply All' to send replies to the list. > =A0> Emacs-orgmode@gnu.org > =A0> http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > -- > Snow B.V. =A0 =A0 =A0 =A0http://snow.nl >