[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Regression in `org-todo'
From: |
Michael Strey |
Subject: |
Re: [O] Regression in `org-todo' |
Date: |
Mon, 2 Apr 2012 16:54:04 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi Moritz & Bastien,
This bug fix seems not to be complete. At least switching the todo
state in repeated tasks and in conjunction with org-checklist didn't
work for me as it used to before the last update. PFA a patch that
solved the problem for me.
ATTENTION: Please check this patch very carefully. This is my first
contribution to org-mode and my first patch ever. My lisp knowledge is
rudimentary and I do not really understand the code.
Thanks to all developers for your work!
Best regards
Michael Strey
On Sun, Apr 01, 2012 at 05:01:12PM +0200, Moritz Ulrich wrote:
> Commit 6cbf1f417222321a47848a7368427ba8a22fe3a5 renames variable
> `last-state' to `org-last-state' in org.el. This change isn't
> reflected in function `org-todo'.
>
> That causes the following regression: Toggling a TODO state to DONE on
> a headline via C-c C-t (`org-todo') results in: "Symbol's value as
> variable is void: org-last-state".
> This is reproducible in latest HEAD and even in tag 'release_7.8.07'.
>
> M-x emacs-version: GNU Emacs 24.0.94.1 (i386-apple-darwin11.3.0, NS
> apple-appkit-1138.32) of 2012-03-12 on moritz-macbook.local
>
> The attached patch contains a simple (two line) fix.
0001-s-state-org-state.patch
Description: Text document