From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael Laboissiere Subject: Re: Contradiction between code and doc as regards commented lines Date: Sat, 27 Oct 2012 23:50:41 +0200 Message-ID: <20121027215041.GM31999@laboissiere.net> References: <20121027190405.GL31999@laboissiere.net> <871ugjlmxs.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="DO5DiztRLs659m5i" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSEHF-0007hr-PV for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 17:50:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSEHD-0002JD-N1 for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 17:50:45 -0400 Received: from xvm-168-252.ghst.net ([95.142.168.252]:46134 helo=laboissiere.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSEHD-0002J1-Cy for emacs-orgmode@gnu.org; Sat, 27 Oct 2012 17:50:43 -0400 Content-Disposition: inline In-Reply-To: <871ugjlmxs.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org --DO5DiztRLs659m5i Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline * Bastien [2012-10-27 21:44]: > Rafael Laboissiere writes: > >> Please, fix the documentation (or restore the previous behavior, if the >> documentation is meant to be correct). > > Done, thanks. Thanks. You might be interested in applying the patch attached below, which fixes the comments in the *Remember* buffer, allowing them to get correctly fontified. Rafael --DO5DiztRLs659m5i Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-org-remember.el-Start-the-commented-lines-with-the-a.patch" >From b1ae1021338a156dc7f65256cc6f085b6b2bf103 Mon Sep 17 00:00:00 2001 From: Rafael Laboissiere Date: Sat, 27 Oct 2012 23:40:39 +0200 Subject: [PATCH] org-remember.el: Start the commented lines with the appropriate characters * org-remember.el (org-remember-apply-template): Start the commented lines in the Remember temporary buffer with the appropriate characters. TINYCHANGE --- lisp/org-remember.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/org-remember.el b/lisp/org-remember.el index d555ca6..bfbca73 100644 --- a/lisp/org-remember.el +++ b/lisp/org-remember.el @@ -472,12 +472,12 @@ to be run from that hook to function properly." (erase-buffer) (insert (substitute-command-keys (format - "## %s \"%s\" -> \"* %s\" -## C-u C-c C-c like C-c C-c, and immediately visit note at target location -## C-0 C-c C-c \"%s\" -> \"* %s\" -## %s to select file and header location interactively. -## C-2 C-c C-c as child (C-3: as sibling) of the currently clocked item -## To switch templates, use `\\[org-remember]'. To abort use `C-c C-k'.\n\n" + "# %s \"%s\" -> \"* %s\" +# C-u C-c C-c like C-c C-c, and immediately visit note at target location +# C-0 C-c C-c \"%s\" -> \"* %s\" +# %s to select file and header location interactively. +# C-2 C-c C-c as child (C-3: as sibling) of the currently clocked item +# To switch templates, use `\\[org-remember]'. To abort use `C-c C-k'.\n\n" (if org-remember-store-without-prompt " C-c C-c" " C-1 C-c C-c") (abbreviate-file-name (or file org-default-notes-file)) (or headline "") -- 1.7.10.4 --DO5DiztRLs659m5i--