From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nuutti Kotivuori Subject: Re: blank lines and keystrokes for org remember templates Date: Sun, 09 Sep 2007 17:15:44 +0300 Message-ID: <873axnylf3.fsf@aka.i.naked.iki.fi> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUx2u-0003F2-AJ for emacs-orgmode@gnu.org; Tue, 11 Sep 2007 00:08:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUx2s-0003Eq-KQ for emacs-orgmode@gnu.org; Tue, 11 Sep 2007 00:08:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUx2s-0003En-GP for emacs-orgmode@gnu.org; Tue, 11 Sep 2007 00:08:14 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IUx2r-0004FW-TB for emacs-orgmode@gnu.org; Tue, 11 Sep 2007 00:08:14 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IUqgz-0006m5-9V for emacs-orgmode@gnu.org; Mon, 10 Sep 2007 23:22:33 +0200 Received: from naked.iki.fi ([62.142.249.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Sep 2007 23:21:08 +0200 Received: from naked by naked.iki.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Sep 2007 23:21:08 +0200 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: emacs-orgmode@gnu.org Carsten Dominik wrote: > The problem is that it is hard to see if a final newline in a > remember buffer is meant to indicate an empty line or not. I will > fix it in the following way: After exiting the remember buffer, > Org-mode will add a newline *if there is none* and insert the > resulting string into the outline tree. So if your template does > end with zero or one \n, there will be no empty line after the > entry. If it ends with \n\n, there will be an empty line. Thanks - I had this same problem. -- Naked