[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Org-mode version 6.32b; org-remember only indents first li
Andrew J. Korty
Re: [Orgmode] Org-mode version 6.32b; org-remember only indents first line of %i substitution
Thu, 19 Nov 2009 16:22:37 -0500
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:
(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.
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.
> - Carsten
> On Nov 12, 2009, at 4:27 PM, Andrew J. Korty wrote:
>> 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
>> line is being indented.
>> Emacs : GNU Emacs 18.104.22.168 (x86_64-apple-darwin10.0.0, NS apple-
>> of 2009-11-10 on phrygian
>> Package: Org-mode version 6.32b
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
> - Carsten