* [Bug] element cache problem with repeating timestamps
@ 2014-06-23 4:18 Matt Lundin
2014-06-23 10:32 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Matt Lundin @ 2014-06-23 4:18 UTC (permalink / raw)
To: Orgmode List
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
A recent git pull broke logging with repeating todos.
I'm guessing this has something to do with one of the recent changes to
the org element cache, since setting org-element-use-cache to nil solves
the problem.
Recipe to replicate:
1. /usr/bin/emacs -Q -l ~/minimal.el
Here is minimal.el:
[-- Attachment #2: minimal.el --]
[-- Type: application/emacs-lisp, Size: 76 bytes --]
[-- Attachment #3: Type: text/plain, Size: 1323 bytes --]
2. Open a file containing the following:
--8<---------------cut here---------------start------------->8---
* TODO Repeating task
SCHEDULED: <2014-06-23 Mon 20:00 .+1d>
:LOGBOOK:
- State "DONE" from "TODO" [2014-06-22 Sun 23:01]
:END:
:PROPERTIES:
:LAST_REPEAT: [2014-06-22 Sun 23:01]
:END:
--8<---------------cut here---------------end--------------->8---
3. Hit org-todo on the headline. The buffer then looks like this:
--8<---------------cut here---------------start------------->8---
* TODO Repeating task
<2014-06-23 Mon 20:00 .+1d> SCHEDULED:
:LOGBOOK:
- State "DONE" from "TODO" [2014-06-22 Sun 23:10]
- State "DONE" from "TODO" [2014-06-22 Sun 23:10]
- State "DONE" from "TODO" [2014-06-22 Sun 23:01]
:END:
:PROPERTIES:
:LAST_REPEAT: [2014-06-22 Sun 23:10]
:END:
--8<---------------cut here---------------end--------------->8---
Sometimes (more difficult to replicate) the LAST_REPEAT ends up in the
wrong place (e.g., the beginning of the buffer). Also, emacs sometimes
freezes when calling org-todo.
- Org-mode version beta_8.3 (beta_8.3-16-g8ad206 @
/home/user134/org-mode/lisp/)
- GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of
2014-06-11 on var-lib-archbuild-staging-x86_64-jgc
Thanks,
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug] element cache problem with repeating timestamps
2014-06-23 4:18 [Bug] element cache problem with repeating timestamps Matt Lundin
@ 2014-06-23 10:32 ` Nicolas Goaziou
2014-06-23 14:10 ` Matt Lundin
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2014-06-23 10:32 UTC (permalink / raw)
To: Matt Lundin; +Cc: Orgmode List
Hello,
Matt Lundin <mdl@imapmail.org> writes:
> A recent git pull broke logging with repeating todos.
>
> I'm guessing this has something to do with one of the recent changes to
> the org element cache, since setting org-element-use-cache to nil solves
> the problem.
>
> Recipe to replicate:
>
> 1. /usr/bin/emacs -Q -l ~/minimal.el
>
> Here is minimal.el:
>
> (add-to-list 'load-path "~/org-mode/lisp")
> (setq org-log-into-drawer t)
>
>
> 2. Open a file containing the following:
>
>
> * TODO Repeating task
> SCHEDULED: <2014-06-23 Mon 20:00 .+1d>
> :LOGBOOK:
> - State "DONE" from "TODO" [2014-06-22 Sun 23:01]
> :END:
> :PROPERTIES:
> :LAST_REPEAT: [2014-06-22 Sun 23:01]
> :END:
>
> 3. Hit org-todo on the headline. The buffer then looks like this:
>
> * TODO Repeating task
> <2014-06-23 Mon 20:00 .+1d> SCHEDULED:
> :LOGBOOK:
> - State "DONE" from "TODO" [2014-06-22 Sun 23:10]
> - State "DONE" from "TODO" [2014-06-22 Sun 23:10]
> - State "DONE" from "TODO" [2014-06-22 Sun 23:01]
> :END:
> :PROPERTIES:
> :LAST_REPEAT: [2014-06-22 Sun 23:10]
> :END:
It should be fixed. Thank you for reporting it.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bug] element cache problem with repeating timestamps
2014-06-23 10:32 ` Nicolas Goaziou
@ 2014-06-23 14:10 ` Matt Lundin
0 siblings, 0 replies; 3+ messages in thread
From: Matt Lundin @ 2014-06-23 14:10 UTC (permalink / raw)
To: Orgmode List
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Matt Lundin <mdl@imapmail.org> writes:
>
>> A recent git pull broke logging with repeating todos.
>>
>> I'm guessing this has something to do with one of the recent changes to
>> the org element cache, since setting org-element-use-cache to nil solves
>> the problem.
>
> It should be fixed. Thank you for reporting it.
Thanks! Works fine now.
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-23 14:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-23 4:18 [Bug] element cache problem with repeating timestamps Matt Lundin
2014-06-23 10:32 ` Nicolas Goaziou
2014-06-23 14:10 ` Matt Lundin
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).