emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Goerzen <jgoerzen@complete.org>
To: Richard Lawrence <richard.lawrence@berkeley.edu>, emacs-orgmode@gnu.org
Subject: Re: Properties lost when closing, scheduling, etc.
Date: Tue, 10 Oct 2017 22:01:58 -0500	[thread overview]
Message-ID: <a85a6a2e-c14f-3006-57a5-97eda6271882@complete.org> (raw)
In-Reply-To: <871smajw8w.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me>


On 10/10/2017 08:42 PM, Richard Lawrence wrote:
> Hi John,
>
> John Goerzen <jgoerzen@complete.org> writes:
>
>> Unfortunately, org-mode only recognizes the PROPERTIES when they
>> occur immediately after the headline.  So whenever I take an action
>> on an item like this, the properties become invisible to org-mode.   
>
> What version of Org are you running?  This sounds like old behavior
> (or maybe a problematic mix of new and old behavior). PROPERTIES
> drawer syntax changed (incompatibly) in 8.3; see
> http://orgmode.org/Changes_old.html.
Hi Richard,

Thanks for the reply!  I have 9.0.3.  (Bit embarrassed I omitted that
detail, sigh.)

So the documentation says PROPERTIES can be after a "planning line",
shich seems to be DEADLINE: or SCHEDULED: but not necessarily CLOSED:.

I attempted to validate this, both by evaulating (org-id-get) on the
spot and by using C-c l (which was what caused the problem to begin
with; it added a second PROPERTIES block, as I have
org-id-link-to-org-use-id set to 'create-if-interactive).  Now somehow I
cannot duplicate the problem.  So I don't know what the heck happened --
I know it DID happen -- but it's possible this is a PEBKAC issue anyhow.

I cannot make it misbehave with either SCHEDULED or CLOSED in my testing
now.

- John

>
> If you are running an older version, may want to try upgrading and
> then running the org-repair-property-drawers function defined on that
> page.
> Hope that helps!
>
> Best,
> Richard

  reply	other threads:[~2017-10-11  3:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-10 14:28 Properties lost when closing, scheduling, etc John Goerzen
2017-10-11  1:42 ` Richard Lawrence
2017-10-11  3:01   ` John Goerzen [this message]
2017-10-11  6:55     ` Eric S Fraga
2017-10-11 12:46       ` John Goerzen
2017-10-11 15:19         ` John Goerzen

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=a85a6a2e-c14f-3006-57a5-97eda6271882@complete.org \
    --to=jgoerzen@complete.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=richard.lawrence@berkeley.edu \
    /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).