From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: copy file from link into agenda Date: Wed, 30 Jan 2013 11:38:10 +0100 Message-ID: <87obg63ouz.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0W0O-0003JS-0l for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 06:39:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0W0M-0001Jw-LG for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 06:39:03 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:39048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0W0M-0001Jp-F8 for emacs-orgmode@gnu.org; Wed, 30 Jan 2013 06:39:02 -0500 Received: by mail-wi0-f181.google.com with SMTP id c10so1487981wiw.2 for ; Wed, 30 Jan 2013 03:39:01 -0800 (PST) In-Reply-To: (Subhan Tindall's message of "Mon, 28 Jan 2013 15:01:53 -0800") 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: Subhan Tindall Cc: Org-Mode Hi Subhan, Subhan Tindall writes: > Hi, I am trying to set up a class notes system using Org (based on my > Nexus 7 w/BT Keyboard, but that's another story) > I mostly have things they way I would like (I think), with each day's > class notes as an org file, and a capture template to insert an entry > into a date tree with some information + a link to the file name. > This is all working great. > What I would like is an agenda view that will pull the date tree > entries matching a certain tag (IE class name) *AND* the linked file, > and combine them into an agenda file > For example, > * 2013 > ** 2013-01 January > *** 2013-01-21 Monday > **** NOTE [2013-01-21 Mon 1410] :class1: > > *** 2013-01-28 Monday > **** NOTE [2013-01-28 Mon 14:51] :class1: > > **** NOTE [2013-01-28 Mon 14:51] :class2: > > *** 2013-01-29 Tuesday > **** NOTE [2013-01-29 Mon 14:51] :class1: > You can do this manually -- in your date-tree file: M-x org-agenda RET < a will produce the agenda view for this file. Then in this first agenda view, / TAB :class1: will filter out entries that don't have the :class1: tag. Then `E' will show the first lines of each entries, displaying the .c files. Of course, you can also build a custom agenda view which does all this -- see the manual and the tutorials on http://orgmode.org/worg/. HTH, -- Bastien