[Orgmode] Bug in #+CATEGORY
Hi there, With this file in agenda file list: , | * A | #+CATEGORY: A | *** Do something | SCHEDULED: <2007-03-29 Thu> | *** Read something | | * B | #+CATEGORY: B | *** Call someone | SCHEDULED: <2007-03-29 Thu> | *** Invite someone ` Now go to "* A" and type "C-x n s" and then bring up the agenda by "C-c a a" and you can see "Call someone" is in Category A although it should be in Category B. Best, -- Leo (GPG Key: 9283AA3F) ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug in #+CATEGORY
Fixed, thanks. - Carsten On Mar 29, 2007, at 12:27, Leo wrote: | * A | #+CATEGORY: A | *** Do something | SCHEDULED: <2007-03-29 Thu> | *** Read something | | * B | #+CATEGORY: B | *** Call someone | SCHEDULED: <2007-03-29 Thu> | *** Invite someone -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Not archiving incompletes TODOs by accident with org-archive-subtree
Hi! I have sometimes archives some headings with incompleted TODOs by accident. I find that calling C-u C-c C-x C-s (org-archive-subtree with finde-done = t) is a lot of typing that C-c $ . So, to avoid this, i have introduced a new variable, org-archive-subtree-always-call-find-done, so that when it's set to 't , org-archive-subtree will always behave as if called with find-done set to 't. (By default is set to nil, so org-archive-subtree will behave as always for the rest of the world) Maybe it's interesting to somebody, and it's a really small patch: (Against 4.69 version) === modified file 'org.el' --- org.el 2007-03-29 10:29:19 + +++ org.el 2007-03-29 10:48:40 + @@ -618,6 +618,12 @@ :group 'org-archive :type 'boolean) +(defcustom org-archive-subtree-always-call-find-done nil + "Non-nil will make that calling org-archive-subtree behaves as if called with param find-done=t." + :group 'org-archive + :type 'boolean) + + (defgroup org-table nil "Options concerning tables in Org-mode." :tag "Org Table" @@ -5566,7 +5572,7 @@ 1 trees. If the cursor is on a headline, only try the direct children of this heading. " (interactive "P") - (if find-done + (if (or find-done org-archive-subtree-always-call-find-done) (org-archive-all-done) ;; Save all relevant TODO keyword-relatex variables Thanks a lot for org-mode, it's great!! -- M ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug in #+CATEGORY
Leo <[EMAIL PROTECTED]> writes: > Now go to "* A" and type "C-x n s" and then bring up the agenda by > "C-c a a" and you can see "Call someone" is in Category A although it > should be in Category B. Yes, i can reproduce that. And I guess it might be related to a bug i was about to submit. In the global TODO list buffer, instead of archiving (C-c $) the current headline the cursor is on, Org will archive the whole tree the task is a subtree of. Which might lead to a "Doh! Where is my project?"-bug. For example : , | * Blorg | #+CATEGORY: blorg | #+ARCHIVE: archives/blorg_archive:: | | ** DONE publish blorg examples ` Archiving the task marked DONE will put the whole "* Blorg" tree in archives/blorg_archives.org. Does anyone encounter such a problem ? Regards, -- Bastien ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug in #+CATEGORY
On 2007-03-29, Bastien said: > In the global TODO list buffer, instead of archiving (C-c $) the current > headline the cursor is on, Org will archive the whole tree the task is a > subtree of. Which might lead to a "Doh! Where is my project?"-bug. > > For example : > > , > | * Blorg > | #+CATEGORY: blorg > | #+ARCHIVE: archives/blorg_archive:: > | > | ** DONE publish blorg examples > ` > > Archiving the task marked DONE will put the whole "* Blorg" tree in > archives/blorg_archives.org. Does anyone encounter such a problem ? Yes I have seen this before but haven't got around to report it. -- Leo (GPG Key: 9283AA3F) ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug in #+CATEGORY
So far I have not been able to reproduce this. Could you please send more detailed instrictions? With the example file you sent, things are working just right for me. - Carsten On Mar 29, 2007, at 13:43, Leo wrote: On 2007-03-29, Bastien said: In the global TODO list buffer, instead of archiving (C-c $) the current headline the cursor is on, Org will archive the whole tree the task is a subtree of. Which might lead to a "Doh! Where is my project?"-bug. For example : , | * Blorg | #+CATEGORY: blorg | #+ARCHIVE: archives/blorg_archive:: | | ** DONE publish blorg examples ` Archiving the task marked DONE will put the whole "* Blorg" tree in archives/blorg_archives.org. Does anyone encounter such a problem ? Yes I have seen this before but haven't got around to report it. -- Leo (GPG Key: 9283AA3F) ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Not archiving incompletes TODOs by accident with org-archive-subtree
On Mar 29, 2007, at 12:59, matiyam wrote: Hi! I have sometimes archives some headings with incompleted TODOs by accident. I find that calling C-u C-c C-x C-s (org-archive-subtree with finde-done = t) is a lot of typing that C-c $ . Not sure if I understand this. The problem you describe is, as far as I can see, that you accidently archive trees that still contain unfinished subtrees. The solution it seems would be a warning that the tree contains unfinished entries. The prefix argument to the archiving function serves a completely different purpose. It finds *subtrees* of the current tree that are completely done, and archives those subtrees. So while I can see that someone would want to do what you propose, I cannot see how that is the solution to the problem you describe. - Carsten So, to avoid this, i have introduced a new variable, org-archive-subtree-always-call-find-done, so that when it's set to 't , org-archive-subtree will always behave as if called with find-done set to 't. (By default is set to nil, so org-archive-subtree will behave as always for the rest of the world) Maybe it's interesting to somebody, and it's a really small patch: (Against 4.69 version) === modified file 'org.el' --- org.el 2007-03-29 10:29:19 + +++ org.el 2007-03-29 10:48:40 + @@ -618,6 +618,12 @@ :group 'org-archive :type 'boolean) +(defcustom org-archive-subtree-always-call-find-done nil + "Non-nil will make that calling org-archive-subtree behaves as if called with param find-done=t." + :group 'org-archive + :type 'boolean) + + (defgroup org-table nil "Options concerning tables in Org-mode." :tag "Org Table" @@ -5566,7 +5572,7 @@ 1 trees. If the cursor is on a headline, only try the direct children of this heading. " (interactive "P") - (if find-done + (if (or find-done org-archive-subtree-always-call-find-done) (org-archive-all-done) ;; Save all relevant TODO keyword-relatex variables Thanks a lot for org-mode, it's great!! -- M ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug in #+CATEGORY
Hello, Carsten! On 2007-03-29, Carsten Dominik said: > So far I have not been able to reproduce this. Could you please > send more detailed instrictions? With the example file you sent, > things are working just right for me. > > - Carsten Bastien, can you give a specific reproducible case? Damn, I have seen this bug before but was not able to reproduce it. regards, -- Leo (GPG Key: 9283AA3F) ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] How do I change font for DONE tasks?
Hi, I switched from Planner to Org-Mode at the beginning of the year. Org-Mode fits the way I work so much better. The one thing I miss is having finished tasks show in a gray font with a line through it. Unfinished tasks are much easier to see in a long list of tasks that way. How can I duplicate this in Org-Mode? Thanks, Mark ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] How do I change font for DONE tasks?
On Date: Thu, 29 Mar 2007 20:43:04 -0500, Mark Ochocki <[EMAIL PROTECTED]> wrote: > The one thing I miss is having finished tasks show in a gray font with a line > through it. Unfinished tasks are much easier to see in a long list of tasks > that way. How can I duplicate this in Org-Mode? You can customize most of the org-mode faces. For the DONE lines, M-x org-customize then browse your way to Org Font Lock->Org Faces->Org Done Regards, [EMAIL PROTECTED] ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Bug in #+CATEGORY
Leo <[EMAIL PROTECTED]> writes: > Bastien, can you give a specific reproducible case? Damn, I have seen > this bug before but was not able to reproduce it. I've been testing around this morning and i cannot reproduce it neither. I will report it in details as soon as i stumble upon it again, since it is a *very* confusing issue -- when it happened to me, i first thought i'd lost a big part of my (single) org-mode file ... 'Hope my next mail on this list will be more helpful ... -- Bastien ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode