From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuri Niyazov Subject: Bug: agenda interaction with org-agenda-dim-blocked-tasks, org-agenda-max-entries and org-enforce-todo-dependencies [8.3beta (release_8.3beta-785-gb5d9f4 @ /Users/yn/dotfiles/org.emacs.d/org-mode/lisp/)] Date: Mon, 2 Feb 2015 12:55:06 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1132f3c21b7c61050e212de7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIO20-0003Nn-FG for emacs-orgmode@gnu.org; Mon, 02 Feb 2015 15:55:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIO1z-0005sB-3T for emacs-orgmode@gnu.org; Mon, 02 Feb 2015 15:55:40 -0500 Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:34897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIO1y-0005ri-NW for emacs-orgmode@gnu.org; Mon, 02 Feb 2015 15:55:39 -0500 Received: by mail-la0-f42.google.com with SMTP id ms9so45158033lab.1 for ; Mon, 02 Feb 2015 12:55:37 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --001a1132f3c21b7c61050e212de7 Content-Type: text/plain; charset=UTF-8 Consider the following org file: * Tasks ** Ordered Tasks :PROPERTIES: :ORDERED: t :END: *** TODO Module 1 **** TODO Item 1 SCHEDULED: <2015-02-01 Sun> **** TODO Item 2 SCHEDULED: <2015-02-01 Sun> *** TODO Module 2 **** TODO Item 3 SCHEDULED: <2015-02-01 Sun> **** TODO Item 4 SCHEDULED: <2015-02-01 Sun> ** Other Tasks *** TODO Random Task 1 SCHEDULED: <2015-02-01 Sun> *** TODO Random Task 2 SCHEDULED: <2015-02-01 Sun> What I would expect to happen: loading up the agenda shows four items: Item 1, Item 2, Random Task 1, Random Task 2 What actually happens: The agenda shows only two items: Item 1, Item 2. This starts happening when org-agenda-dim-blocked-tasks is set to invisible. What seems to happen is that the blocked tasks, even though they are invisible, are still counted towards org-agenda-max-entries. Emacs : GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2014-10-22 on burry.local Package: Org-mode version 8.3beta (release_8.3beta-785-gb5d9f4 @ /Users/yn/dotfiles/org.emacs.d/org-mode/lisp/) current state: ============== (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-agenda-max-entries 4 org-default-notes-file "Capture.org" org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-agenda-dim-blocked-tasks 'invisible org-mode-hook '(org-clock-load #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes auto-indent-turn-on-org-indent) org-archive-hook '(org-attach-archive-delete-maybe) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-directory "~/dotfiles/org.emacs.d/org-files-debug/" org-enforce-todo-dependencies t org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-agenda-files '("~/dotfiles/org.emacs.d/org-files-debug/") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) --001a1132f3c21b7c61050e212de7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Consider the following org file:
* Tasks
** Ordered Tasks
:PROPERTIES:
:ORDERED: =C2=A0t=
:END:
*** TODO Module 1
**** TODO Item 1
SCHEDULED: <2015-02-01 Sun>
**** TODO Item 2
SCHEDULED: <2015-02-01 Sun>
*** TODO Module 2
= **** TODO Item 3
SCHEDULED: <2015-02-01 Sun>
****= TODO Item 4
SCHEDULED: <2015-02-01 Sun>
** Other= Tasks
*** TODO Random Task 1
SCHEDULED: <2015-02-01= Sun>
*** TODO Random Task 2
SCHEDULED: <2015-02-= 01 Sun>

What I would expect to happen: loading = up the agenda shows four items:
Item 1, Item 2, Random Task 1, Ra= ndom Task 2

What actually happens: The agenda show= s only two items:
Item 1, Item 2.

This s= tarts happening when org-agenda-dim-blocked-tasks is set to
invis= ible. What seems to happen is that the blocked tasks, even though
they are invisible, are still counted towards org-agenda-max-entries.=C2= =A0


Emacs =C2=A0: GNU Emacs 24.4.1 = (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
=C2=A0of 201= 4-10-22 on burry.local
Package: Org-mode version 8.3beta (release= _8.3beta-785-gb5d9f4 @ /Users/yn/dotfiles/org.emacs.d/org-mode/lisp/)
=

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
(setq
=C2=A0org-tab-first-hook '(org-h= ide-block-toggle-maybe org-babel-hide-result-toggle-maybe
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-b= abel-header-arg-expand)
=C2=A0org-speed-command-hook '(org-sp= eed-command-default-hook org-babel-speed-command-hook)
=C2=A0org-= occur-hook '(org-first-headline-recenter)
=C2=A0org-metaup-ho= ok '(org-babel-load-in-session-maybe)
=C2=A0org-confirm-shell= -link-function 'yes-or-no-p
=C2=A0org-agenda-max-entries 4
=C2=A0org-default-notes-file "Capture.org"
=C2= =A0org-after-todo-state-change-hook '(org-clock-out-if-current)
=C2=A0org-src-mode-hook '(org-src-babel-configure-edit-buffer
<= div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0org-src-mode-configure-edit-buffer)
=C2=A0org-agenda-before= -write-hook '(org-agenda-add-entry-text)
=C2=A0org-babel-pre-= tangle-hook '(save-buffer)
=C2=A0org-agenda-dim-blocked-tasks= 'invisible
=C2=A0org-mode-hook '(org-clock-load
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#[nil "= ;\300\301\302\303\304$\207"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[org-add-hook change-major-mode-hook = org-show-block-all append
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 local]
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05]
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#[nil "\300\301\302\303\3= 04$\207"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0[org-add-hook change-major-mode-hook org-babel-show-res= ult-all
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 append local]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0org-babel-result-hide-spec org-babel-hide= -all-hashes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0auto-indent-turn-on-org-indent)
=C2=A0org-archive-hook = '(org-attach-archive-delete-maybe)
=C2=A0org-ctrl-c-ctrl-c-ho= ok '(org-babel-hash-at-point org-babel-execute-safely-maybe)
= =C2=A0org-directory "~/dotfiles/org.emacs.d/org-files-debug/"
=C2=A0org-enforce-todo-dependencies t
=C2=A0org-cycle-hook= '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-cycle-hi= de-inline-tasks org-cycle-show-empty-lines
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-optimize-window-after-visibil= ity-change)
=C2=A0org-confirm-elisp-link-function 'yes-or-no-= p
=C2=A0org-metadown-hook '(org-babel-pop-to-session-maybe)
=C2=A0org-blocker-hook '(org-block-todo-from-children-or-sibli= ngs-or-parent)
=C2=A0org-agenda-files '("~/dotfiles/org.= emacs.d/org-files-debug/")
=C2=A0org-clock-out-hook '(or= g-clock-remove-empty-clock-drawer)
=C2=A0)

--001a1132f3c21b7c61050e212de7--