1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-01 08:17:34 +00:00
org-mode/lisp
Carsten Dominik a547c1048b Fix issue with turning off ORDERED property
* lisp/org-macs.el (org-not-nil): New function.
* lisp/org.el (org-block-todo-from-children-or-siblings-or-parent):
Use `org-not-nil' to interpret a property value of nil.

Robert Goldman writes:

> I have found what I believe to be a bug in handling ordered subtasks.
> Here is the behavior:
>
> I have a top level set of tasks that is ordered.
>
> One of the outline items below the top level set is a grab bag of tasks
> that will be performed in parallel.  So this task is NOT ordered
> (ORDERED: nil).
>
> The problem is that the blocking behavior from ordered tasks seems to be
> inherited from the top level task list into the second level of the
> outline, even though the ORDERED property at the second level is
> explicitly overridden.
>
> I am attaching an org file that displays this issue.  To see the
> problem, put your cursor on the "Bar" task and attempt to change its
> status to DONE.

The problem was here that the value of the property is the string
"nil", which is of course not nil.

This patches introduces a special case to interpret "nil" as nil.
2010-06-25 09:01:40 +02:00
..
babel babel: variables can now accept null literal values 2010-06-23 15:57:38 -07:00
ChangeLog Newer Emacsen changed the API of start-process-shell-command and issue 2010-06-17 17:50:24 -04:00
ChangeLog.01 Fix typo in documentation 2010-06-12 10:46:12 -07:00
org-agenda.el Catch agenda error when there is a tie stamp before the first headline 2010-06-24 08:53:34 +02:00
org-archive.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-ascii.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-attach.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-bbdb.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-beamer.el Fix some customization issues in org-beamer.el patch by Jan Moringen 2010-05-30 22:17:29 +02:00
org-bibtex.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-capture.el Fix the clock target for org-capture 2010-06-25 07:29:13 +02:00
org-clock.el Make sure the clock history only points to base buffers 2010-06-24 07:39:10 +02:00
org-colview-xemacs.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-colview.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-compat.el New capture system org-capture 2010-06-22 14:19:18 +02:00
org-crypt.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-ctags.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-datetree.el New capture system org-capture 2010-06-22 14:19:18 +02:00
org-docbook.el More flexibility for the XSLT command 2010-05-14 13:38:14 +02:00
org-docview.el Fix copyright years 2010-05-16 15:44:55 +02:00
org-entities.el Merge Glen Morris' change from downstream Emacs 2010-06-22 14:42:45 +02:00
org-exp-blocks.el org-exp-blocks: cleanup trailing newline after block 2010-06-16 10:23:39 -07:00
org-exp.el integrating org-babel into org.el 2010-06-23 13:41:20 -07:00
org-faces.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-feed.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-footnote.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-freemind.el Emacs 22 support - use org-string-match-p 2010-06-04 21:01:29 +02:00
org-gnus.el org-gnus.el: Mention also Gmane in org-gnus-prefer-web-links 2010-05-28 15:46:37 -06:00
org-habit.el Add help-echo to habit graph 2010-05-13 07:45:26 +02:00
org-html.el Fix source code example bug with plain list export to HTML 2010-06-18 08:49:25 +02:00
org-icalendar.el Stop iCalendar export from failing with sexp dates 2010-06-04 13:13:54 +02:00
org-id.el PATCH: Fix minor XEmacs compatibility issue 2010-05-26 22:43:43 -06:00
org-indent.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-info.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-inlinetask.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-irc.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-jsinfo.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-latex.el Fix and improve list exporting to latex. 2010-06-16 21:26:49 +02:00
org-list.el Fix and improve list exporting to latex. 2010-06-16 21:26:49 +02:00
org-mac-message.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-macs.el Fix issue with turning off ORDERED property 2010-06-25 09:01:40 +02:00
org-mew.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-mhe.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-mks.el Fix minor bugs in org-capture.el, and keep byte-compiler happy 2010-06-23 07:39:56 +02:00
org-mobile.el Move a function to org.el 2010-05-31 18:57:01 +02:00
org-mouse.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-plot.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-protocol.el Make the link properties from org-protocol work in capture 2010-06-23 16:21:22 +02:00
org-publish.el possible Bug: non-interactive publishing (emacs 22.1) 2010-06-16 02:17:05 -04:00
org-remember.el New capture system org-capture 2010-06-22 14:19:18 +02:00
org-rmail.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-src.el Read-only src buffers 2010-06-05 14:31:35 +02:00
org-table.el Better recognizing of source code snippets 2010-06-06 12:51:27 +02:00
org-taskjuggler.el Newer Emacsen changed the API of start-process-shell-command and issue 2010-06-17 17:50:24 -04:00
org-timer.el * org-timer.el (org-timer-set-timer): Fix typo in the docstring. 2010-06-08 09:35:07 +02:00
org-vm.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org-w3m.el org-w3m.el: Get text property directly, not using macro `w3m-anchor'. 2010-05-26 22:53:36 -06:00
org-wl.el Adjust indentation to meet coding style. 2010-05-12 10:02:43 +02:00
org-xoxo.el Push version number to 6.36trans 2010-05-09 06:24:20 +02:00
org.el Fix issue with turning off ORDERED property 2010-06-25 09:01:40 +02:00