emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Manish <mailtomanish.sharma@gmail.com>
To: Adam Spiers <orgmode@adamspiers.org>, emacs-orgmode@gnu.org
Subject: Re: Re: agenda files separation
Date: Tue, 15 Jul 2008 23:46:06 +0530	[thread overview]
Message-ID: <e7cdbe30807151116l468fec65la1caad5b09e895d2@mail.gmail.com> (raw)
In-Reply-To: <20080715145409.GC23952@atlantic.linksys.moosehall>

  On Tue, Jul 15, 2008 at 8:24 PM, Adam Spiers wrote:
  > Bernt Hansen wrote:
  >> "D. Kapetanakis" writes:
  >>
  >> > Since like most of us I live a double or triple life I would like to
  >> > have a separation of the agenda files. I mean that I have one org-file
  >> > for work with all the todo items, projects etc, one for my personal
  >> > study, books I want to read, songs I want to learn to play etc, for
  >> > home, for my kids and the list goes on...
  >> >
  >> > But I would like them to appear in different agenda views, i.e. at work
  >> > only the work file, or if I want to see how my other projects are going
  >> > to see that only. If I use all of them together, they look very messy
  >> > and cluttered.
  >> >
  >> > Any ideas?
  >>
  >> If you have your projects split into groups by file you can limit the
  >> agenda view to that single file with C-a a 1 a
  >
  > Or if you have multiple files for work, multiple for personal use
  > etc., you can use categories for this, e.g. put this in all personal
  > files:
  >
  > #+CATEGORY: personal
  >
  > Then your agenda custom commands etc. can filter via
  > CATEGORY="personal". It's a bit of a pain configuring each custom
  > command with this, but it works fine.

Another option is to use "< buffer, subtree/region restriction"
option while creating agenda using "C-c a".  Please also see
section 10.1 of Org manual
http://orgmode.org/manual/Agenda-files.html#Agenda-files

Briefly, if you hit "<" after "C-c a", then the agenda will be
restricted to displaying only the items from current buffer.  If
you press "<" twice, then the agenda view will be limited to only
the current subtree.  Sec. 10.1 talks about setting and removing
permanent restriction on agenda.  This way you can focus on only
the work items at work, home items at home (it does seem you have
split at least work items in a separate file) and even on a
specific area/project (subtree really) if you so wish.

HTH,
-- Manish

      reply	other threads:[~2008-07-15 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15 13:30 agenda files separation D. Kapetanakis
2008-07-15 14:38 ` Bernt Hansen
2008-07-15 14:54   ` Adam Spiers
2008-07-15 18:16     ` Manish [this message]

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=e7cdbe30807151116l468fec65la1caad5b09e895d2@mail.gmail.com \
    --to=mailtomanish.sharma@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode@adamspiers.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).