From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: agenda command not working for anything except timeline Date: Sat, 9 Feb 2008 08:13:48 +0100 Message-ID: References: <718b3e910802080337n7373cbb3m1354512d7f9a2c3b@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: multipart/mixed; boundary="===============1983367931==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNjuO-0005cA-SX for emacs-orgmode@gnu.org; Sat, 09 Feb 2008 02:13:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNjuN-0005bC-QO for emacs-orgmode@gnu.org; Sat, 09 Feb 2008 02:13:56 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNjuN-0005b2-Jg for emacs-orgmode@gnu.org; Sat, 09 Feb 2008 02:13:55 -0500 Received: from fg-out-1718.google.com ([72.14.220.152]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNjuN-0007Vy-52 for emacs-orgmode@gnu.org; Sat, 09 Feb 2008 02:13:55 -0500 Received: by fg-out-1718.google.com with SMTP id d23so3426070fga.30 for ; Fri, 08 Feb 2008 23:13:53 -0800 (PST) In-Reply-To: <718b3e910802080337n7373cbb3m1354512d7f9a2c3b@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Amol Gawai Cc: emacs-orgmode@gnu.org --===============1983367931== Content-Type: multipart/alternative; boundary=Apple-Mail-14-895729618 --Apple-Mail-14-895729618 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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 --Apple-Mail-14-895729618 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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" = )
           &nb= sp; (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

= --Apple-Mail-14-895729618-- --===============1983367931== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1983367931==--