From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mirko Vukovic Subject: Re: buffer-local org-agenda-files & embedded agenda-view Date: Thu, 5 Apr 2012 09:44:26 -0400 Message-ID: References: <871uo5s6k4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf303f652204b5e004bceebd8d Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFmzX-0002Tb-Ch for emacs-orgmode@gnu.org; Thu, 05 Apr 2012 09:44:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFmzJ-0001Xw-Em for emacs-orgmode@gnu.org; Thu, 05 Apr 2012 09:44:44 -0400 In-Reply-To: <871uo5s6k4.fsf@gnu.org> 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: Bastien Cc: emacs-orgmode@gnu.org --20cf303f652204b5e004bceebd8d Content-Type: text/plain; charset=ISO-8859-1 On Tue, Apr 3, 2012 at 1:55 AM, Bastien wrote: > Hi Mirko, > > Mirko Vukovic 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 --20cf303f652204b5e004bceebd8d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

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 t= he agenda
> view for a few select files. =A0Is that possible?
>
> They way it might work (in pseudo-code & using babel)
>
> ****< begin org file
> #+org-agenda-files: fi= le-1.org file-2.org= file-3.org ;; these ar= e 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. =A0In thi= s 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 t= o
> look at?

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

Good luck!

--
=A0Bastien

Thanks Bastien,

Did you mean `o= rg-agenda-list'?

Mirko
--20cf303f652204b5e004bceebd8d--