[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: How you ORGanize yourself? (aka: Why not one file to r
From: |
Matthew Lundin |
Subject: |
Re: [Orgmode] Re: How you ORGanize yourself? (aka: Why not one file to rule'em all?) |
Date: |
Tue, 20 Apr 2010 08:02:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Carsten Dominik <address@hidden> 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
[Orgmode] Re: How you ORGanize yourself? (aka: Why not one file to rule'em all?), Flavio Souza, 2010/04/20