From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andrew J. Korty" Subject: Re: Org-mode version 6.32b; org-remember only indents first line of %i substitution Date: Thu, 19 Nov 2009 16:22:37 -0500 Message-ID: References: <649C26F5-AB40-4757-86A9-658FEBB08CD6@iu.edu> Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBESk-0005ei-9o for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 16:22:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBESf-0005cF-3Q for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 16:22:45 -0500 Received: from [199.232.76.173] (port=42026 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBESe-0005cC-U1 for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 16:22:40 -0500 Received: from hartman.uits.indiana.edu ([129.79.1.194]:34126) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBESe-0005mQ-Jw for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 16:22:40 -0500 Received: from mail-relay.iu.edu (burns.uits.indiana.edu [129.79.1.202]) by hartman.uits.indiana.edu (8.14.2/8.13.8/IU Messaging Team) with ESMTP id nAJLMd6Z031498 for ; Thu, 19 Nov 2009 16:22:39 -0500 Received: from 149-166-143-159.dhcp-in.iupui.edu (149-166-143-159.dhcp-in.iupui.edu [149.166.143.159]) (authenticated bits=0) by mail-relay.iu.edu (8.14.2/8.13.8/IU Messaging Team Submission) with ESMTP id nAJLMbG1018726 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 19 Nov 2009 16:22:38 -0500 In-Reply-To: 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: Org Mode I've learned some more details. The behavior I describe only occurs = when remember is called via org-protocol. When that happens, `initial' = is nil, so the following code in org-remember.el doesn't run: (save-match-data (let* ((lead (buffer-substring (point-at-bol) (match-beginning 0)))) (setq v-i (mapconcat 'identity (org-split-string initial "\n") (concat "\n" lead))))) I'm not sure of the best way to fix it. ajk On Nov 18, 2009, at 17:54 , Carsten Dominik wrote: > Hi Andrew, this works fine for me, I cannot reproduce > the problem you are describing. >=20 > - Carsten >=20 > On Nov 12, 2009, at 4:27 PM, Andrew J. Korty wrote: >=20 >> When %i appears indented in an org-remember template, each line of = the >> text substituted is supposed to be indented. In my case, only the =20= >> first >> line is being indented. >>=20 >> Emacs : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.0.0, NS apple-=20 >> appkit-1038.11) >> of 2009-11-10 on phrygian >> Package: Org-mode version 6.32b >>=20 >>=20 >>=20 >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >=20 > - Carsten >=20 >=20 >=20