From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wanrong Lin Subject: Re: Re: Custom agenda views Date: Fri, 26 Oct 2007 11:10:21 -0400 Message-ID: <4722035D.8080309@gmail.com> References: <87hcke6izs.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlQpf-000634-GS for emacs-orgmode@gnu.org; Fri, 26 Oct 2007 11:10:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlQpd-00062s-Vh for emacs-orgmode@gnu.org; Fri, 26 Oct 2007 11:10:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlQpd-00062p-PI for emacs-orgmode@gnu.org; Fri, 26 Oct 2007 11:10:41 -0400 Received: from py-out-1112.google.com ([64.233.166.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IlQpd-0007Qb-DO for emacs-orgmode@gnu.org; Fri, 26 Oct 2007 11:10:41 -0400 Received: by py-out-1112.google.com with SMTP id a73so1583374pye for ; Fri, 26 Oct 2007 08:10:40 -0700 (PDT) In-Reply-To: <87hcke6izs.fsf@gollum.intra.norang.ca> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Or, maybe you can put your work related and personal org files in different directories, and write a small function to switch the "org-agenda-files" between them (I believe with org-mode 5.13g, the org-agenda-files is dynamically built if it is set to a directory). Actually, I think it would be nice if this feature can be included into org-mode i.e. something like "org-agenda-file-set-switch" or "org-context-switch". It would be great if we can build agenda view from either a single agenda file set, or all agenda file sets. For me, I like to break down both my personal stuff and work stuff into multiple files, so file restriction does not work that well. Wanrong Bernt Hansen wrote: > "Dave C. Nelson" writes: > > >> >> I'm playing around with org mode and while it works mostly the way I >> want, I have something I'm trying to do and so far I've failed. I should >> mention that I'm not much of a lisp programmer, so it might be my lack >> of knowledge here. >> >> What I want is to have an agenda view like the default agenda view one >> gets with c-a a, but "narrowed" so that only a subset of todo items >> show. For example, when I'm at work, I want to narrow the agenda view so >> that it only shows todo items related to work. >> >> I've read through the manual, the past list postings, etc. and I just >> can't seem to come up with an org-agenda-custom-command that does this >> (I assume this is the way to accomplilsh this). Is it possible? Would >> someone please give me a hint? >> > > I put my work todo items in a separate org file from other things. Then > when you are in that org file you can limit your agenda view to just > that file with > > C-a a 1 a > > Hope that helps. > > Bernt > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >