[Orgmode] Re: org-capture: Formatting of entries

2010-06-30 Thread Markus Heller

On 6/30/2010 12:05 PM, Tassilo Horn wrote:

Markus Heller  writes:

Hi Markus,


No, adding a space between "\n" and ":PROPERTIES:", ":Created", and
":END:" does just that, it adds a space, but does NOT yield the proper
indent.  This becomes more obvious when you refile a capture note to a
second-level headline.

Any other ideas/suggestions?


I've suggested a more generic approach to specify properties in capture
templates.  Have a look at the thread starting with the message
<877hlqetr8@thinkpad.tsdh.de>.

Of course, that's only a suggestion and nothing of that is
implemented... ;-)


Ah, thank you.  I skimmed the thread earlier but didn't catch 
everything.  Let's keep our fingers crossed that your suggestions (or a 
variation thereof) will be implemented; IIRC, Carsten mentioned 
something along these lines.


Thanks
Markus


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-capture: Formatting of entries

2010-06-30 Thread Tassilo Horn
Markus Heller  writes:

Hi Markus,

> No, adding a space between "\n" and ":PROPERTIES:", ":Created", and
> ":END:" does just that, it adds a space, but does NOT yield the proper
> indent.  This becomes more obvious when you refile a capture note to a
> second-level headline.
>
> Any other ideas/suggestions?

I've suggested a more generic approach to specify properties in capture
templates.  Have a look at the thread starting with the message
<877hlqetr8@thinkpad.tsdh.de>.

Of course, that's only a suggestion and nothing of that is
implemented... ;-)

Bye,
Tassilo


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-capture: Formatting of entries

2010-06-30 Thread Markus Heller

On 6/29/2010 8:19 PM, Puneeth wrote:

Hi

On Wed, Jun 30, 2010 at 5:08 AM, Markus Heller  wrote:
Just adding a space before the :PROPERTIES: drawer will work, right?

(setq org-capture-templates
  '(("t" "Task" entry (file "h:/org/refile.org")
 "* TODO %^{Todo} \n:PROPERTIES:\n:Created: %U\n:END:\n\n%?"
 :clock-in :clock-resume)))



(setq org-capture-templates
  '(("t" "Task" entry (file "h:/org/refile.org")
 "* TODO %^{Todo} \n :PROPERTIES:\n :Created: %U\n :END:\n\n%?"
 :clock-in :clock-resume)))



No, adding a space between "\n" and ":PROPERTIES:", ":Created", and 
":END:" does just that, it adds a space, but does NOT yield the proper 
indent.  This becomes more obvious when you refile a capture note to a 
second-level headline.


Any other ideas/suggestions?

Thanks
Markus


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-capture: Formatting of entries

2010-06-30 Thread Markus Heller

On 6/29/2010 10:24 PM, David Maus wrote:

Puneeth wrote:

Hi



On Wed, Jun 30, 2010 at 5:08 AM, Markus Heller  wrote:
Just adding a space before the :PROPERTIES: drawer will work, right?

(setq org-capture-templates
  '(("t" "Task" entry (file "h:/org/refile.org")
 "* TODO %^{Todo} \n:PROPERTIES:\n:Created: %U\n:END:\n\n%?"
 :clock-in :clock-resume)))




(setq org-capture-templates
 '(("t" "Task" entry (file "h:/org/refile.org")
"* TODO %^{Todo} \n :PROPERTIES:\n :Created: %U\n :END:\n\n%?"
:clock-in :clock-resume)))

  ^^^

An there's an error in the template.  It should read

  :clock-in t :clock-resume t


D'uh ...  Of course.  Thanks for pointing this out, David!

Markus


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode