emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Jones <mlists@pmade.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Properly indent clock drawer upon creation
Date: Sun, 01 Mar 2009 17:32:35 -0700	[thread overview]
Message-ID: <m2ljrolq70.fsf@pmade.com> (raw)
In-Reply-To: <42ECEBD3-250F-4A2D-AFD3-90E0B559F3C4@uva.nl>

Carsten Dominik <dominik@science.uva.nl> 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

  reply	other threads:[~2009-03-02  0:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-28  0:41 Peter Jones
2009-03-01 16:19 ` Carsten Dominik
2009-03-02  0:32   ` Peter Jones [this message]
2009-03-02  5:44 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ljrolq70.fsf@pmade.com \
    --to=mlists@pmade.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).