emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Bastien <bzg@gnu.org>
Cc: org-mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [Bug] marking repeating task done destroys property/logbook drawers
Date: Thu, 13 Mar 2014 12:47:11 -0500	[thread overview]
Message-ID: <87ha72rnxc.fsf@fastmail.fm> (raw)
In-Reply-To: <87iorioyzh.fsf@bzg.ath.cx> (Bastien's message of "Thu, 13 Mar 2014 17:16:34 +0100")

Hi Bastien,

Bastien <bzg@gnu.org> writes:

> Hi Matt,
>
> Matt Lundin <mdl@imapmail.org> writes:
>
>> When I mark a repeating task done (with the settings in the minimal.el
>> file below), org mangles the :LOGBOOK: and :PROPERTY: drawers when
>> trying to insert a :LAST_REPEAT: property.
>
> I can't reproduce this.  Karl can, so there is something weird here.
>
>> I am using...
>>
>>  - Emacs version: 24.3.1
>>  - Org-mode version: 8.2.5h
>
> Can you use M-x org-version RET (or C-u M-x org-version RET to insert
> the output in your mail) ?
>
>> Running edebug suggested that org-entry-put (which is invoked by
>> org-auto-repeat-maybe) places the :LAST_REPEAT: in the wrong place.
>> However, I couldn't discern why, since invocations of org-entry-put
>> otherwise seem to work fine.
>
> Thanks for any further investigation, it's hard to know what can be
> wrong without being to reproduce this.

This was a problem with org-element's cache. It was solved with the
following commit:

a8568372ad8bba841af7f7d1fdf9b64d38426c3a

Here's the original post of the thread containing the solution:

http://permalink.gmane.org/gmane.emacs.orgmode/83015

Matt

  reply	other threads:[~2014-03-13 17:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04  4:23 [Bug] marking repeating task done destroys property/logbook drawers Matt Lundin
2014-03-08  9:27 ` Karl Voit
2014-03-13 16:16 ` Bastien
2014-03-13 17:47   ` Matt Lundin [this message]
2014-03-13 18:05     ` Bastien

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=87ha72rnxc.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=bzg@gnu.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).