From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Re: How you ORGanize yourself? (aka: Why not one file to rule'em all?) Date: Tue, 20 Apr 2010 08:02:38 -0400 Message-ID: <87k4s2z601.fsf@fastmail.fm> References: <87k4s6ur0i.fsf@fastmail.fm> <87r5mbpjkl.fsf@fastmail.fm> <56459EC5-E302-472B-BFEF-A8FFA1CB6FD4@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4C4o-0004x4-R1 for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 07:57:14 -0400 Received: from [140.186.70.92] (port=53359 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4C4n-0004vv-3t for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 07:57:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4C4k-0007dZ-Sw for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 07:57:12 -0400 Received: from out2.smtp.messagingengine.com ([66.111.4.26]:49569) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4C4k-0007dP-FU for emacs-orgmode@gnu.org; Tue, 20 Apr 2010 07:57:10 -0400 In-Reply-To: <56459EC5-E302-472B-BFEF-A8FFA1CB6FD4@gmail.com> (Carsten Dominik's message of "Mon, 19 Apr 2010 18:08:52 +0200") 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: Carsten Dominik Cc: Org Mode Carsten Dominik writes: > On Apr 19, 2010, at 5:07 PM, Matthew Lundin wrote: > >> I find that (org-agenda-restriction-lock) makes subsequent calls to >> my-org-agenda-files-by-filetag slow, since it refreshes the current >> agenda. >> >> >> Are there any potential pitfalls if I use (setq org-agenda-restrict >> nil) >> instead? > > I think you might mean org-agenda-remove-restriction-lock? Yes, sorry for the typo. > That function does some cleanup which I think you should keep, > so maybe just call it like this: > > (org-agenda-remove-restriction-lock 'noupdate) Thanks! This was exactly what I was looking for. > Otherwise, while you are inside your system, (setq org-agenda-restrict > nil) is enough - only when you mix the normal subtree/file restriction > with you system, you may get funny effects. I've put updated versions of the functions on Worg: http://orgmode.org/worg/org-hacks.php#set-agenda-files-by-filetag Best, Matt