[Orgmode] agenda command not working for anything except timeline

2008-02-08 Thread Amol Gawai
Hi,
I have added custom todo keywords. I am unable to get any agenda view except
for timeline (C-c aL).
All other search for tags (C-c am) todo(C-c at) show empty agenda buffer.
Any solutions.
Here is my configuration.
I am using ntemacs -  23.0.0.1.
Org-mode - 5.21
and my org specific section is as follows.

;
---
;; The following lines are always needed.  Choose your own keys.
(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
(define-key global-map \C-cl 'org-store-link)
(define-key global-map \C-ca 'org-agenda)
(add-hook 'org-mode-hook 'turn-on-font-lock)  ; org-mode buffers only
(require 'org-install)
(setq org-agenda-include-diary t) ;add all diary entries to agenda view
; (setq org-log-done '(done)) - moved to individual file #+STARTUP:
lognotestate
(setq org-todo-keywords
   '((sequence Project Started InProgress NearingCompletion
| Completed )
 (sequence Task Started | Completed)
 (sequence NextAction | Completed)))
(defface org-project-face '((t (:foreground blue :weight bold :bold t)))
  Face for Project todo items.)
(defface org-task-face '((t (:foreground cyan :weight bold :bold t)))
  Face for Task todo items.)
(setq org-todo-keyword-faces
  '((Project . org-project-face)
(Task . org-task-face)
(NextAction . org-warning)))
(setq org-agenda-custom-commands
  '((n todo NextAction)))
;; remember mode for Org
(require 'remember)
;;(org-remember-insinuate)
(setq org-directory e:/Amol/Work/EmacsOrgDir/)
(setq org-default-notes-file (concat org-directory /notes.org))
(define-key global-map \C-cr 'org-remember)
;; templates for Org - remember
(setq org-remember-templates
  '((Todo ?t * TODO %?\n  %i\n  %a (concat org-directory
/TODO.org) Tasks)
   (Journal ?j * %U %?\n\n  %i\n  %a (concat org-directory
/JOURNAL.org))
   (Idea ?i * %^{Title}\n  %i\n  %a (concat org-directory
/JOURNAL.org) New Ideas)))
;
---

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


Re: [Orgmode] agenda command not working for anything except timeline

2008-02-08 Thread Carsten Dominik

Hi Amol,

you need to tell Org-mode which files to use.  Customize org-agenda- 
files, or simply press
C-c [ in each buffer that you want to have searched.  You have to do  
this only once,

Emacs will remember.

- Carsten

On Feb 8, 2008, at 12:37 PM, Amol Gawai wrote:


Hi,
I have added custom todo keywords. I am unable to get any agenda  
view except for timeline (C-c aL).
All other search for tags (C-c am) todo(C-c at) show empty agenda  
buffer.

Any solutions.
Here is my configuration.
I am using ntemacs -  23.0.0.1.
Org-mode - 5.21
and my org specific section is as follows.

;  
---

;; The following lines are always needed.  Choose your own keys.
(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
(define-key global-map \C-cl 'org-store-link)
(define-key global-map \C-ca 'org-agenda)
(add-hook 'org-mode-hook 'turn-on-font-lock)  ; org-mode buffers only
(require 'org-install)
(setq org-agenda-include-diary t) ;add all diary entries to agenda  
view
; (setq org-log-done '(done)) - moved to individual file #+STARTUP:  
lognotestate

(setq org-todo-keywords
   '((sequence Project Started InProgress  
NearingCompletion | Completed )

 (sequence Task Started | Completed)
 (sequence NextAction | Completed)))
(defface org-project-face '((t (:foreground blue :weight  
bold :bold t)))

  Face for Project todo items.)
(defface org-task-face '((t (:foreground cyan :weight bold :bold  
t)))

  Face for Task todo items.)
(setq org-todo-keyword-faces
  '((Project . org-project-face)
(Task . org-task-face)
(NextAction . org-warning)))
(setq org-agenda-custom-commands
  '((n todo NextAction)))
;; remember mode for Org
(require 'remember)
;;(org-remember-insinuate)
(setq org-directory e:/Amol/Work/EmacsOrgDir/)
(setq org-default-notes-file (concat org-directory /notes.org))
(define-key global-map \C-cr 'org-remember)
;; templates for Org - remember
(setq org-remember-templates
  '((Todo ?t * TODO %?\n  %i\n  %a (concat org-directory / 
TODO.org) Tasks)
   (Journal ?j * %U %?\n\n  %i\n  %a (concat org-directory / 
JOURNAL.org))
   (Idea ?i * %^{Title}\n  %i\n  %a (concat org-directory / 
JOURNAL.org) New Ideas)))
;  
---


Thanks a lot.
Amol

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


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