emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* buffer-local org-agenda-files & embedded agenda-view
@ 2012-04-02 17:50 Mirko Vukovic
  2012-04-03  5:55 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Mirko Vukovic @ 2012-04-02 17:50 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

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

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?

Thank you,

Mirko

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: buffer-local org-agenda-files & embedded agenda-view
  2012-04-02 17:50 buffer-local org-agenda-files & embedded agenda-view Mirko Vukovic
@ 2012-04-03  5:55 ` Bastien
  2012-04-05 13:44   ` Mirko Vukovic
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2012-04-03  5:55 UTC (permalink / raw)
  To: Mirko Vukovic; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: buffer-local org-agenda-files & embedded agenda-view
  2012-04-03  5:55 ` Bastien
@ 2012-04-05 13:44   ` Mirko Vukovic
  2012-04-06  7:44     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Mirko Vukovic @ 2012-04-05 13:44 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

On Tue, Apr 3, 2012 at 1:55 AM, Bastien <bzg@gnu.org> wrote:

> 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
>

Thanks Bastien,

Did you mean `org-agenda-list'?

Mirko

[-- Attachment #2: Type: text/html, Size: 2357 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: buffer-local org-agenda-files & embedded agenda-view
  2012-04-05 13:44   ` Mirko Vukovic
@ 2012-04-06  7:44     ` Bastien
  2012-04-06 14:56       ` Mirko Vukovic
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2012-04-06  7:44 UTC (permalink / raw)
  To: Mirko Vukovic; +Cc: emacs-orgmode

Hi Mirko,

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

> Did you mean `org-agenda-list'?

No, I meant `org-agenda-listing' -- which doesn't exist right now, 
and which purpose would be to store all agendas views interactively
displayed in a session.  Maybe just science fiction right now but
who knows?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: buffer-local org-agenda-files & embedded agenda-view
  2012-04-06  7:44     ` Bastien
@ 2012-04-06 14:56       ` Mirko Vukovic
  0 siblings, 0 replies; 5+ messages in thread
From: Mirko Vukovic @ 2012-04-06 14:56 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

On Fri, Apr 6, 2012 at 3:44 AM, Bastien <bzg@gnu.org> wrote:

> Hi Mirko,
>
> Mirko Vukovic <mirko.vukovic@gmail.com> writes:
>
> > Did you mean `org-agenda-list'?
>
> No, I meant `org-agenda-listing' -- which doesn't exist right now,
> and which purpose would be to store all agendas views interactively
> displayed in a session.  Maybe just science fiction right now but
> who knows?
>
> --
>  Bastien
>
Ah!

:-)

[-- Attachment #2: Type: text/html, Size: 854 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-06 14:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-02 17:50 buffer-local org-agenda-files & embedded agenda-view Mirko Vukovic
2012-04-03  5:55 ` Bastien
2012-04-05 13:44   ` Mirko Vukovic
2012-04-06  7:44     ` Bastien
2012-04-06 14:56       ` Mirko Vukovic

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).