emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Don't block TODO for one heading
@ 2011-05-04 14:11 Nathan Neff
  2011-05-04 15:00 ` Memnon Anon
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Neff @ 2011-05-04 14:11 UTC (permalink / raw)
  To: emacs-orgmode

I'm using org-enforce-todo-checkbox-dependencies and
would like to turn that feature off for a specific headline / TODO.

Is there a property I can set to allow me to change a heading from
TODO to DONE w/o checking any checkboxes?

If this isn't simple, I can continue to just use C-c C-x C-b to check all
the boxen under the headline.

Thanks,
--Nate

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Don't block TODO for one heading
  2011-05-04 14:11 Don't block TODO for one heading Nathan Neff
@ 2011-05-04 15:00 ` Memnon Anon
  0 siblings, 0 replies; 2+ messages in thread
From: Memnon Anon @ 2011-05-04 15:00 UTC (permalink / raw)
  To: emacs-orgmode

Nathan Neff <nathan.neff@gmail.com> writes:

> Is there a property I can set to allow me to change a heading from
> TODO to DONE w/o checking any checkboxes?
>
> If this isn't simple, I can continue to just use C-c C-x C-b to check all
> the boxen under the headline.

I am not aware of such a property ...

From the docstring of org-todo:
> With a triple C-u prefix, circumvent any state blocking.
That seems easier than your current approach. 
(Of course, you can bind it to a key.)

Oh, wait:

,----[ org.el @function org-todo ]
|   (let ((org-blocker-hook org-blocker-hook)
| 	(case-fold-search nil))
|     (when (equal arg '(64))
|       (setq arg nil org-blocker-hook nil))
|     (when (and org-blocker-hook
| 	       (or org-inhibit-blocking
! 		   (org-entry-get nil "NOBLOCKING")))
|       (setq org-blocker-hook nil))
`----

Quick test here works, so yes, there is :)
Use `:NOBLOCKING: t'.

Memnon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-04 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04 14:11 Don't block TODO for one heading Nathan Neff
2011-05-04 15:00 ` Memnon Anon

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).