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.
> 
> - 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  
>> first
>> line is being indented.
>> 
>> Emacs  : GNU Emacs 23.1.50.1 (x86_64-apple-darwin10.0.0, NS apple- 
>> appkit-1038.11)
>> 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.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 
> - Carsten
> 
> 
> 



_______________________________________________
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

Reply via email to