emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* eliminating blocked tasks from printed agenda
@ 2015-01-04 11:24 Mike Ashley
  2015-01-04 15:15 ` Mike Ashley
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Ashley @ 2015-01-04 11:24 UTC (permalink / raw)
  To: emacs-orgmode

I am having a configuration problem I was hoping to get some help
with. I have a simple agenda configuration file that looks like this.

(setq org-agenda-custom-commands
  '(("o" "Office tasks"
      tags-todo "OFFICE"
      nil
      ("~/agenda.pdf"))))

And I have the custom variable org-agenda-dim-blocked-tasks set to the
symbol invisible.

It does what I expect when I build the agenda in buffer.  Blocked
tasks are hidden.  However, when I export the agenda to PDF, blocked
tasks are included in the agenda.  

Is there anything I can configure so that the exported agenda does not
include blocked tasks?

Thank you for the help.

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

* Re: eliminating blocked tasks from printed agenda
  2015-01-04 11:24 eliminating blocked tasks from printed agenda Mike Ashley
@ 2015-01-04 15:15 ` Mike Ashley
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Ashley @ 2015-01-04 15:15 UTC (permalink / raw)
  To: emacs-orgmode

On Sun, Jan 04, 2015 at 06:24:32AM -0500, Mike Ashley wrote:
> I am having a configuration problem I was hoping to get some help
> with. I have a simple agenda configuration file that looks like this.
> 
> (setq org-agenda-custom-commands
>   '(("o" "Office tasks"
>       tags-todo "OFFICE"
>       nil
>       ("~/agenda.pdf"))))
> 
> And I have the custom variable org-agenda-dim-blocked-tasks set to the
> symbol invisible.

I apologize.  I realized I neither anticipated some obvious questions
nor did I include enough information to reproduce.  I am running Emacs
23.4.1 and org 8.2.9.  Here is a complete .emacs file and org file to
demonstrate the problem.

First the .emacs file.

;;; -----------------------------
(add-to-list 'load-path "~mike/projects/org-mode/lisp")
(setq org-agenda-files '("~mike/Documents/notes/gtd.org"))
(global-set-key "\C-ca" 'org-agenda)
(require 'org)

(setq org-agenda-custom-commands
  '(("o" "Agenda and office-related tasks"
      tags-todo "OFFICE"
      nil
      ("~/agenda.pdf"))))

(custom-set-variables
 '(org-agenda-dim-blocked-tasks (quote invisible))
 '(org-enforce-todo-dependencies t))
;;; -----------------------------

Now the gtd.org file.

#+STARTUP: overview indent
#+TAGS: OFFICE(o) HOME(h)
#+SEQ_TODO: TODO DONE

* Miscellaneous
** TODO One                                                         :OFFICE:
** TODO Two                                                           :HOME:
* Project one
:PROPERTIES:
:ORDERED: t
:END:
** TODO First project task                                          :OFFICE:
** TODO This task should be blocked                                 :OFFICE:

If I C-c a, I get the correct agenda.  If I C-x w to agenda.txt or C-c
a e to create agenda.pdf, the created files include the blocked task.
What can I do to make the exported agenda match the agenda in buffer?

Mike

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

end of thread, other threads:[~2015-01-04 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-04 11:24 eliminating blocked tasks from printed agenda Mike Ashley
2015-01-04 15:15 ` Mike Ashley

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