emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Subhan Tindall <subhan.tindall@rentrakmail.com>
To: Bastien <bzg@altern.org>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: copy file from link into agenda
Date: Thu, 31 Jan 2013 23:06:32 -0800	[thread overview]
Message-ID: <CAKKEbDudUv84wu4BmXTyCG3NkJT07vcrKnepnBxrWRfzvfhVKw@mail.gmail.com> (raw)
In-Reply-To: <87obg63ouz.fsf@bzg.ath.cx>

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  <datestamp> /home/stindall/.emacs
<contents of .emacs file>

LOG  <datestamp> <some other file>
<contents of some other file>

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 <bzg@altern.org> wrote:
> Hi Subhan,
>
> Subhan Tindall <subhan.tindall@rentrakmail.com> 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:
>> <filename.c>
>> *** 2013-01-28 Monday
>> **** NOTE  [2013-01-28 Mon 14:51]    :class1:
>> <filename.a>
>> **** NOTE  [2013-01-28 Mon 14:51]    :class2:
>> <filename.9>
>> *** 2013-01-29 Tuesday
>> **** NOTE  [2013-01-29 Mon 14:51]    :class1:
>> <filename.b>
>
> 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

  reply	other threads:[~2013-02-01  8:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28 23:01 copy file from link into agenda Subhan Tindall
2013-01-30 10:38 ` Bastien
2013-02-01  7:06   ` Subhan Tindall [this message]
2013-02-07  8:20     ` Bastien

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=CAKKEbDudUv84wu4BmXTyCG3NkJT07vcrKnepnBxrWRfzvfhVKw@mail.gmail.com \
    --to=subhan.tindall@rentrakmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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).