emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Bradley M. Kuhn" <bkuhn@ebb.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: addt'l multiple property drawers situations when org-log-done set to 'note [8.3beta (release_8.3beta-621-gf212f7) @ /path/to/org-mode/lisp/]
Date: Mon, 08 Dec 2014 13:50:25 +0100	[thread overview]
Message-ID: <87lhmicnla.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20141208003022.GB30217@ebb.org> (Bradley M. Kuhn's message of "Sun, 7 Dec 2014 19:30:22 -0500")

Hello,

"Bradley M. Kuhn" <bkuhn@ebb.org> writes:

> I however still have a related bug:  I have many entries where the PROPERTIES
> drawer is at the bottom of a long set of TODO notes.  Mine look like this:
>
> ** TODO Monthly Accounting: Reconcile Payment report.
>    SCHEDULED: <2014-10-07 Tue 08:00 ++1m>
>    - State "DONE"       from "TODO"       [2014-09-05 Fri 19:12] \\
>      Finished through <2014-09-02 Tue>
>    - State "DONE"       from "TODO"       [2014-06-16 Mon 09:28] \\
>      Did this through <2014-05-30 Fri>.
>    - State "TODO"       from ""           [2014-06-12 Thu 22:40] \\
>      The monthly payment report can be downloaded.
>    :PROPERTIES:
>    :LAST_REPEAT: [2014-09-05 Fri 19:12]
>    :END:
>
> I still get a second property drawer when I cycle these repeating TODOs, if I
> have:
>
> (setq org-log-done 'note)
>
> Same happens with ones like this, BTW::
>
> * TODO Testing.
>   SCHEDULED: <2014-12-28 Sun ++1w>
>   - CLOSING NOTE [2014-12-07 Sun 19:25]
>   - CLOSING NOTE [2014-12-07 Sun 19:25]
>   :PROPERTIES:
>   :LAST_REPEAT: [2014-12-07 Sun 19:25]
>   :END:
>
> It seems the new code intends to keep properties draw at the top of an entry,
> but shouldn't it respect the positioning of the PROPRIETIES draw regardless
> of where it is in the entry?

This is a recent change in master. PROPERTIES drawer is only recognized
as such when at the top of the section, possibly after a planning info
line.

You may want to look into ORG-NEWS file, there's a function to help you
fix old documents.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2014-12-08 12:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87iohof9o4.fsf@ebb.org>
2014-12-07 23:35 ` Bug: multiple property drawers generated for repeated tasks with org-log-done set to 'note [8.3beta (release_8.3beta-621-gf212f7) @ /path/to/org-mode/lisp/] Nicolas Goaziou
2014-12-08  0:30   ` Bug: addt'l multiple property drawers situations when " Bradley M. Kuhn
2014-12-08 12:50     ` Nicolas Goaziou [this message]
2014-12-09  0:03       ` Bradley M. Kuhn

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=87lhmicnla.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=bkuhn@ebb.org \
    --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).