emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Mirko Vukovic <mirko.vukovic@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: buffer-local org-agenda-files & embedded agenda-view
Date: Tue, 03 Apr 2012 07:55:23 +0200	[thread overview]
Message-ID: <871uo5s6k4.fsf@gnu.org> (raw)
In-Reply-To: <loom.20120402T193412-968@post.gmane.org> (Mirko Vukovic's message of "Mon, 2 Apr 2012 17:50:44 +0000 (UTC)")

Hi Mirko,

Mirko Vukovic <mirko.vukovic@gmail.com> writes:

> I would like to have a buffer (and the associated file) that contain the agenda
> view for a few select files.  Is that possible?
>
> They way it might work (in pseudo-code & using babel)
>
> ****< begin org file
> #+org-agenda-files: file-1.org file-2.org file-3.org ;; these are full files
>
>
> #+begin local-agenda-view
> TODO: file-1
> IN-PROGRESS: file-2
> COMPLETE: file-3
> #+end local-agenda-view
>
> ****< end org file

Agenda views rely on two things: a list of selected items, a display
mechanism for these items in a dedicated buffer (either one single
buffer, or several buffers when using sticky agenda views.)

What you're asking for would be possible if the list of items were 
stored somewhere else than in a dedicated buffer -- which is not the
case right now (see also my recent reply to Manuel.)

> So, when visiting the above file, or executing C-c C-c, the org-agenda-files
> would be refreshed, as would be the local-agenda-view block.  In this example,
> the agenda-view is non-standard.
>
> So, is the following possible
> - buffer local agenda-files that are set in the declarations
> - embedded agenda view
> - view customized as shown above
>
> If that is not possible, what variables & functions would I need to
> look at?

You can try to digg the idea of `org-agenda-listing' further.

Good luck!

-- 
 Bastien

  reply	other threads:[~2012-04-03  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02 17:50 buffer-local org-agenda-files & embedded agenda-view Mirko Vukovic
2012-04-03  5:55 ` Bastien [this message]
2012-04-05 13:44   ` Mirko Vukovic
2012-04-06  7:44     ` Bastien
2012-04-06 14:56       ` Mirko Vukovic

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=871uo5s6k4.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=mirko.vukovic@gmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).