Re: [O] Block agendas and filtering

2013-03-25 Thread Samuel Wales
On 3/19/13, Bastien b...@altern.org wrote:
   (org-agenda-tag-filter (+Tag))

org-agenda-filter-preset?

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  ANYBODY
can get it.  There is NO hope without action.  This means YOU.



Re: [O] Block agendas and filtering

2013-03-25 Thread Thomas Moyer
I got this working as I wanted, I had a problem with the custom agenda
commands that I had defined. Below is the agenda command that implements
the desired view.

(c Agenda and Home-related tasks
  ((agenda -chore)
   (tags chore+TIMESTAMP=today)))

I think part of my problem was having a key binding defined twice (c in
this case), and org not warning about it. The two happened to be somewhat
similar, and so there was confusion on my part as to why it wasn't showing
the right thing.

Thanks for all of the help and suggestions.

-Tom


--
Thomas Moyer
tommo...@gmail.com


On Mon, Mar 25, 2013 at 2:11 AM, Bastien b...@altern.org wrote:

 Samuel Wales samolog...@gmail.com writes:

  On 3/19/13, Bastien b...@altern.org wrote:
(org-agenda-tag-filter (+Tag))
 
  org-agenda-filter-preset?

 Both will work.  Note that `org-agenda-filter-preset' has
 been renamed to `org-agenda-tag-filter-preset' a while ago.

 --
  Bastien



Re: [O] Block agendas and filtering

2013-03-19 Thread Bastien
Hi Thomas,

Thomas Moyer tommo...@gmail.com writes:

 What I want is a block agenda, using two agenda blocks. The first will
 *exclude* the entrys tagged as :chores: and the second will *include*
 any entry that is tagged with :chores:.

 Is there a way to accomplish this with tags, or maybe properties?

In your agenda custom command first block:

  ...
  (org-agenda-tag-filter (+Tag))
  ...

In your agenda custom command second block:

  ...
  (org-agenda-tag-filter (-Tag))
  ...

Not tested, but it should work -- not the -/+ before the tag itself,
that's what conditions tag filtering out/in.

HTH,

-- 
 Bastien



[O] Block agendas and filtering

2013-03-05 Thread Thomas Moyer
Is it possible to have a block agenda that contains two daily/weekly
agendas that are opposites of each other, based on something like a
tag? For example I have my normal todo list things that are scheduled,
and then I have other regular things, like cleaning and taking care of
other tasks that occur every week. Below is an example

* Tasks
** File paperwork
SCHEDULED: 2013-05-17 Fri
** Build model airplane
SCHEDULED: 2013-05-18 Sat
* Regular chores:chores:
** Dishes
%%(member (calendar-day-of-week date) '(0 1 2 3 4 5 6))
** Laundry
%%(= 6 (calendar-day-of-week date))

What I want is a block agenda, using two agenda blocks. The first will
*exclude* the entrys tagged as :chores: and the second will *include*
any entry that is tagged with :chores:.

Is there a way to accomplish this with tags, or maybe properties?

Thanks!

-Tom