emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mike Ashley <mike@ashleyfamily.org>
To: emacs-orgmode@gnu.org
Subject: Re: eliminating blocked tasks from printed agenda
Date: Sun, 4 Jan 2015 10:15:07 -0500	[thread overview]
Message-ID: <20150104151503.GA30952@mordor> (raw)
In-Reply-To: <20150104112431.GB24132@mordor>

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

      reply	other threads:[~2015-01-04 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-04 11:24 eliminating blocked tasks from printed agenda Mike Ashley
2015-01-04 15:15 ` Mike Ashley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150104151503.GA30952@mordor \
    --to=mike@ashleyfamily.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).