From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Contradiction between code and doc as regards commented lines Date: Mon, 29 Oct 2012 06:30:57 +0100 Message-ID: <87y5ipn5kx.fsf@bzg.ath.cx> References: <20121027190405.GL31999@laboissiere.net> <871ugjlmxs.fsf@bzg.ath.cx> <20121027215041.GM31999@laboissiere.net> <87ehkikits.fsf@bzg.ath.cx> <20121028165021.GR31999@laboissiere.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSj1g-0005Wa-IU for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 02:40:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSj1f-0002p6-CX for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 02:40:44 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:35902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSj1f-0002p1-5k for emacs-orgmode@gnu.org; Mon, 29 Oct 2012 02:40:43 -0400 Received: by mail-wg0-f49.google.com with SMTP id gg4so2557964wgb.30 for ; Sun, 28 Oct 2012 23:40:42 -0700 (PDT) In-Reply-To: <20121028165021.GR31999@laboissiere.net> (Rafael Laboissiere's message of "Sun, 28 Oct 2012 17:50:21 +0100") 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: Rafael Laboissiere Cc: emacs-orgmode@gnu.org Hi Rafael, Rafael Laboissiere writes: > I just noticed that my patch have a bad side effect, since the commented > lines at the beginning of the *Remember* buffer are not filtered out before > inclusion into the destination org file. The patch attached below fixes > this. Also, the org-remember-handler function attempts to strip comment > lines at the end of the buffer. I changed the code such that only lines > that really respect the definition of comment lines (as per the > documentation) are actually stripped. Applied, thanks. I just added the TINYCHANGE cookie to your patch. -- Bastien