emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Mikhanosha <max@openchat.com>
To: emacs-orgmode@gnu.org
Cc: Carsten Dominik <carsten.dominik@gmail.com>
Subject: Multiple agenda buffers at git@github.com:7max/org-mode.git
Date: Wed, 25 Jan 2012 16:45:39 -0500	[thread overview]
Message-ID: <87boprzcak.wl%max@openchat.com> (raw)

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

             reply	other threads:[~2012-01-25 21:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-25 21:45 Max Mikhanosha [this message]
2012-01-26  9:50 ` Carsten Dominik
2012-01-26 11:17   ` Max Mikhanosha
2012-01-26 11:35     ` Carsten Dominik
2012-01-26 11:39     ` Max Mikhanosha
2012-01-26 15:10       ` Max Mikhanosha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87boprzcak.wl%max@openchat.com \
    --to=max@openchat.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Multiple agenda buffers at git@github.com:7max/org-mode.git' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).