From mboxrd@z Thu Jan 1 00:00:00 1970 From: Max Mikhanosha Subject: Multiple agenda buffers at git@github.com:7max/org-mode.git Date: Wed, 25 Jan 2012 16:45:39 -0500 Message-ID: <87boprzcak.wl%max@openchat.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqAf3-0001pd-KN for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 16:45:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqAf2-0007CB-Jc for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 16:45:45 -0500 Received: from p84-72.acedsl.com ([66.114.84.72]:40073 helo=momoland.openchat.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqAf2-0007Bt-Ay for emacs-orgmode@gnu.org; Wed, 25 Jan 2012 16:45:44 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Carsten Dominik I had put my initial implementation of multiple agenda buffers and sticky agenda support on git@github.com:7max/org-mode.git branch multiple-agenda-buffers. To enable, use M-x org-toggle-sticky-agenda In order to take full advantage of the sticky agenda, you need to give your various agendas different buffer names, you can do it by including `org-agenda-buffer-name' into the list of bound variables in `org-agenda-custom-commands' For example: (setq org-agenda-custom-commands '(("a" "Agenda and NEXT (priority)" ((agenda "" ((org-agenda-span 'day))) (tags-todo "/!NEXT" ((org-agenda-overriding-header "Next Tasks") (org-agenda-tags-todo-honor-ignore-options t) (org-agenda-todo-ignore-scheduled t) (org-agenda-todo-ignore-deadlines t) (org-tags-match-list-sublevels t) (org-agenda-sorting-strategy '(priority-down category-keep))))) ((org-agenda-buffer-name "*Agenda*"))) ("t" "TODO entries" todo "" ((org-agenda-buffer-name "*Todo List*"))))) When sticky agenda is enabled, most of org-agenda Emacs variables become buffer local, and org-agenda-quit is changed to bury the buffer instead of killing it. Correspondingly org-agenda will show previously buried buffer if it exists, instead of re-generating it. This allows user to have many "mini-agendas" and switch between them rapidly I would appreciate any bug-reports about things not working, and of course patches or fixes for them. The most likely cause of any breakage is that `org-agenda-local-vars' list needs adjusting and/or fixing. Regards Max