[Orgmode] org-batch-agenda giving "Unknown terminal type" error

2010-12-27 Thread johnt
I am trying to export my agenda from the command line. It works fine using C-c 
ae
Here is the command I am using: 
emacs -batch -l ~/.emacs_batch -eval '(org-batch-agenda "e")'
I made a stripped down .emacs try to help. If I run some simple command like
org-version it works fine.

I am running Ubuntu and the ELPA tar org-20101223.tar.  I assume I have some
kind of configuration problem. Any ideas?



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Using org-agenda-filter-preset with or'd tags

2010-12-20 Thread johnt
I am trying to set a custom command to show my work tasks and critical home
tasks for the day.

I have tried the following.

(setq org-agenda-custom-commands

  '(

("W" "Work Schedule" 

 (

  (agenda "" 

   (

(org-agenda-filter-preset '("@Work|critical"))   ;; this doesn't 
work

(org-agenda-ndays 1)

   )

  )

  (tags-todo "@Work|critical")

 )

)

)

It seems just to ignore the filter. The tags-todo line works fine.

I tried various filters to verify my syntax.  
using (org-agenda-filter-preset '("+...@work")) works fine but is not what I 
want.
using (org-agenda-filter-preset '("@Work" "|" "critical")) also doesn't work.

As a side note when I print the agenda it seems to ignore the filter I set with
[/][-][tab]tag.  The printed version has the items not shown on screen.

using GNU Emacs 23.2.1 - ORG 7.4

Thank-you



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode