From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subhan Tindall Subject: Re: copy file from link into agenda Date: Thu, 31 Jan 2013 23:06:32 -0800 Message-ID: References: <87obg63ouz.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1Bi8-0000nb-Km for emacs-orgmode@gnu.org; Fri, 01 Feb 2013 03:11:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1Bi5-0003Z4-CM for emacs-orgmode@gnu.org; Fri, 01 Feb 2013 03:11:00 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:64078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1Bi5-0003Yl-6A for emacs-orgmode@gnu.org; Fri, 01 Feb 2013 03:10:57 -0500 Received: by mail-wi0-f171.google.com with SMTP id hn14so259094wib.16 for ; Fri, 01 Feb 2013 00:10:55 -0800 (PST) In-Reply-To: <87obg63ouz.fsf@bzg.ath.cx> 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: Org-Mode Sorry, that , while cool, is not what I am looking for. Following the instructions you game will show org-agenda-entry-text-maxlines (default 5) lines of the entry itself in the note file: So, if this is then entry in the date tree in the Daily-work-log.org file: **** LOG <2013-01-31 Thu> /home/stindall/.emacs Lots of time helping tom w/test plan for xtn_invgen_BE.pl some lines some more lines Running the agenda command initially shows this: Daily-work-log.org: LOG /home/stindall/.emacs Hitting E expands it to: Daily-work-log.org: LOG /home/stindall/.emacs Lots of time helping tom w/test plan for xtn_invgen_BE.pl some lines some more lines What I'm looking for is a way to load the contents of /home/stindall/.emacs into the agenda, ideally producing something similar to this: LOG /home/stindall/.emacs LOG my elisp-fu is not strong, so I'm hoping that a workable approximation of what I need already exists. Subhan On Wed, Jan 30, 2013 at 2:38 AM, Bastien wrote: > 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 -- Subhan Michael Tindall | Software Developer | smt@rentrakmail.com RENTRAK | www.rentrak.com | NASDAQ: RENT