[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [PATCH] Properly indent clock drawer upon creation
From: |
Peter Jones |
Subject: |
[Orgmode] Re: [PATCH] Properly indent clock drawer upon creation |
Date: |
Sun, 01 Mar 2009 17:32:35 -0700 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.3 (darwin) |
Carsten Dominik <address@hidden> writes:
> can you please describe a test case where the code without your patch
> fails?
The code doesn't fail, this is just a "nice to have".
When a clock/logbook drawer is created, the :END: isn't indented
correctly. This causes a problem for my function that automatically
creates a plain list under a heading. My function uses
org-indent-line-function to properly indent the plain list, but because
of the bad :END: indentation, the plain list is indented incorrectly
too.
Example before my patch:
* Foo Bar
:CLOCK:
:END:
- Item One
Example after my patch:
* Foo Bar
:CLOCK:
:END:
- Item One
--
Peter Jones, http://pmade.com
pmade inc. Louisville, CO US