[Orgmode] org-reqall Was: iPhone ---- org-mode
Finally got round to uploading this to git hub. The url is http://github.com/geekinthesticks/org-reqall/tree/master Some new things: guids are now stored in a dotfile, so should persist if you refile tasks. Items from the rss feed can now be stored in different org files according to their rss Category (eg. Task, Note, etc). I plan to write a script for dial2do.com, which offers a similar, but more limited service. For me the important part is the ability to leave voice messages and get them transcribed into something that I can automagically import into org. When I am not hacking I have a side job as a farmer. I spend a part of my day outside away from the computer. So, getting stuff from speech to text directly is very attractive. Ian. ___ 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
Re: [Orgmode] org-reqall Was: iPhone ---- org-mode
On Mar 26, 2009, at 11:09 AM, Ian Barton wrote: Finally got round to uploading this to git hub. The url is http://github.com/geekinthesticks/org-reqall/tree/master Some new things: guids are now stored in a dotfile, so should persist if you refile tasks. Items from the rss feed can now be stored in different org files according to their rss Category (eg. Task, Note, etc). I plan to write a script for dial2do.com, which offers a similar, but more limited service. For me the important part is the ability to leave voice messages and get them transcribed into something that I can automagically import into org. When I am not hacking I have a side job as a farmer. A farmer? Cool. I see the headlines: Org-mode helps feeding the world :-) I spend a part of my day outside away from the computer. So, getting stuff from speech to text directly is very attractive. Ian. ___ 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 ___ 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
Re: [Orgmode] add a list item and automatically insert an incative timestamp without being asked to confirm now
On Mar 25, 2009, at 2:30 PM, Rainer Stengele wrote: Hi all, I want to write a function to create a new item in an item list and immediately insert an inactive timestamp. How could I possibly do this? I can write a keyboard macro, yes. But can somebody show me how to write a function which I can global- set-key to? Must be something like ... (org-meta-return) (org-time-stamp-inactive t) ... Problem is I then get asked to confirm the current timestamp. In this case I always want to use the current timestamp without being asked. (defun xxx () (interactive) (org-insert-item) (org-insert-time-stamp (current-time) 'with-hm 'inactive)) This assumes that you are in a plain list already. Funnily enough, there is no command to insert an item at any location, except pressing - SPC of course :-) So you could do (defun xxx () (interactive) (if (not (org-in-item-p)) (insert - ) (org-insert-item)) (org-insert-time-stamp (current-time) 'with-hm 'inactive)) HTH - Carsten - Carsten Thanks, Rainer ___ 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 ___ 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
[Orgmode] Release 6.24c?
I have been wondering quite a while now why the pdf version of the manual (http://orgmode.org/org.pdf) claims to be for Org version 6.24c while the current version is said to be 6.24b. Is there a good reason for this discrepance or is it just a typo? -- Prof. Dr. Rainer Thiel Dekan Philosophische Fakultät 07737 Jena, Germany (EU) r.th...@uni-jena.de ___ 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
[Orgmode] Re: Release 6.24c?
Rainer Thiel r.th...@uni-jena.de writes: I have been wondering quite a while now why the pdf version of the manual (http://orgmode.org/org.pdf) claims to be for Org version 6.24c while the current version is said to be 6.24b. Is there a good reason for this discrepance or is it just a typo? My org.pdf version says 6.24trans. I don't see any commits with 6.24c. My guess is that was just an oops. -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
[Orgmode] Re: add a list item and automatically insert an incative timestamp without being asked to confirm now
Carsten Dominik schrieb: On Mar 25, 2009, at 2:30 PM, Rainer Stengele wrote: Hi all, I want to write a function to create a new item in an item list and immediately insert an inactive timestamp. How could I possibly do this? I can write a keyboard macro, yes. But can somebody show me how to write a function which I can global-set-key to? Must be something like ... (org-meta-return) (org-time-stamp-inactive t) ... Problem is I then get asked to confirm the current timestamp. In this case I always want to use the current timestamp without being asked. (defun xxx () (interactive) (org-insert-item) (org-insert-time-stamp (current-time) 'with-hm 'inactive)) This assumes that you are in a plain list already. Funnily enough, there is no command to insert an item at any location, except pressing - SPC of course :-) So you could do (defun xxx () (interactive) (if (not (org-in-item-p)) (insert - ) (org-insert-item)) (org-insert-time-stamp (current-time) 'with-hm 'inactive)) HTH - Carsten - Carsten Hi Carsten, thanks a lot! Why didn't I find that myself? I simply tried C-h k C-c ! and found (org-time-stamp-inactive optional arg). If I only had found a hint to (org-insert-time-stamp time optional with-hm inactive pre post extra) ... Thanks again! Rainer ___ 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
Re: [Orgmode] iPhone ---- org-mode
On Mar 25, 2009, at 11:57 AM, William Henney wrote: On Wed, Mar 25, 2009 at 10:35 AM, Ian Barton li...@manor-farm.org wrote: I do hope that this will not stop python hackers from exploring this further, because I thought that the python solution was really good and innovative, and it shows what can be done with modules like the ones Charles has put out. - Carsten Don't worry it wont:) I have set up a repo for my Python version at git://github.com/geekinthesticks/org-reqall.git . It doesn't have anything in it at the moment, because I stupidly put my own reqall rss url in one of the versions for testing purposes, so its in the version history. I also have been hacking on Ian's python script - I hope you don't mind! I changed it to support Ta-da lists (tadalist.com) rather than reqall. In my opinion, ta-da list is a much simpler and has a nice clean interface. It has the disadvantage that it doesn't have an accompanying iPhone/Touch app that works offline, although it does have a beautiful ipod-optimized web interface. And it doesn't support bling such as voice memos, but then reqall doesn't support voice memos on the Touch either, even if you have an external mic :( Anyway, I am attaching it (sync-tadalist.py) in case anyone finds it useful. In particular, it has a few changes that Ian might want to fold back into his version. For instance, it solves the private URL problem by reading it from an external dot file. Also, the original was repeatedly parsing the org file inside the loop over feed entries. This is unnecessary, so I have moved it outside. I guess that ideally we want a webservice that 1. Allows adding tasks etc via a mobile device, preferably with offline capabilities and syncing 2. Exports RSS feeds of tasks so that org-mode can grab them 3. Exports an API that would let org-mode write information back to the service, e.g., marking a task as done Does anyone know of a service that supports all 3? I don't know any, but the number of apps is always growing. I am still looking for a dedicated iPhone developer who will write and Org-mode app :-) Cheers - Carsten ___ 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
Re: [Orgmode] bug in simple dependencies handling (?)
Hi Daniel, yes, this could be seen as a bug. However, the implementation does not work by scanning the entire buffer and marking tasks that should be blocked. Rather, it goes to each task and then scans around to see locally what the dependencies are. In this case it looks only at the parent, not at the grand parent. I don't expect to change this because it would make the mechanism a lot more complex and slower. However, the todo dependencies are simple hook functions, and an interested programmer could relatively easily extend them, I believe. - Carsten On Mar 24, 2009, at 8:13 PM, Daniel Hochheimer wrote: Hello, first of all, please excuse my poorly english. It seems there is a bug in the handling of simple dependencies. I think an example tree is the best solution, to show you the bug: * Projects #+CATEGORY: Projects *** TODO foo bar project :PROPERTIES: :ORDERED: t :END: * TODO foo subproject:FooSubproject: *** TODO Task 1 * TODO bar subproject:BarSubproject: *** TODO Task 1 This is in my .emacs file: (setq org-enforce-todo-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible) (setq org-odd-levels-only t) the expected global todo agenda view imho is: Projects:Task 1 :FooSubproject: but actual it is unfortunately: Projects:Task 1 :FooSubproject: Projects:Task 1 :BarSubproject: Imho Task 1 from bar subproject should not be visible, because bar subproject is blocked because of the ORDERED property (therefore it's childs should be blocked, too) Is it easy / possible to fix this bug? My whole GTD system is heavily based on such project / subproject-Constructs. But with this bug my global todo agenda view is unfortunately polluted a little bit with tasks from projects that shouldn't be active. Best regards, Daniel PS: many thanks to the developer of this great emacs mode, I really enjoy org-mode. I started using emacs only because of the great abilities of org-mode. ___ 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 ___ 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
[Orgmode] Small patch for org-ido-switchb
For some semi-short time, org-ido-switchb has been broken, complaining about wrong type arguments. The attached one-line patch corrects this. --- org.el.orig 2009-03-26 11:38:36.0 -0400 +++ org.el 2009-03-26 11:39:09.0 -0400 @@ -12624,7 +12624,7 @@ (t (org-buffer-list) (switch-to-buffer (org-ido-completing-read Org buffer: - (mapcar 'buffer-name blist) + (mapcar 'list (mapcar 'buffer-name blist)) nil t (defun org-buffer-list (optional predicate exclude-tmp) ___ 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
[Orgmode] Re: add a list item and automatically insert an incative timestamp without being asked to confirm now
Carsten, I tried to find the function where one can take notes with a relative timer with M-RET. I gave up ... I would like to try to add the functionality of adding an item with an inactive timestamp with M-RET (add the item with timestamp if a timestamp occurs in the previous item). Where can I start to search? Rainer Rainer Stengele schrieb: Carsten Dominik schrieb: On Mar 25, 2009, at 2:30 PM, Rainer Stengele wrote: Hi all, I want to write a function to create a new item in an item list and immediately insert an inactive timestamp. How could I possibly do this? I can write a keyboard macro, yes. But can somebody show me how to write a function which I can global-set-key to? Must be something like ... (org-meta-return) (org-time-stamp-inactive t) ... Problem is I then get asked to confirm the current timestamp. In this case I always want to use the current timestamp without being asked. (defun xxx () (interactive) (org-insert-item) (org-insert-time-stamp (current-time) 'with-hm 'inactive)) This assumes that you are in a plain list already. Funnily enough, there is no command to insert an item at any location, except pressing - SPC of course :-) So you could do (defun xxx () (interactive) (if (not (org-in-item-p)) (insert - ) (org-insert-item)) (org-insert-time-stamp (current-time) 'with-hm 'inactive)) HTH - Carsten - Carsten Hi Carsten, thanks a lot! Why didn't I find that myself? I simply tried C-h k C-c ! and found (org-time-stamp-inactive optional arg). If I only had found a hint to (org-insert-time-stamp time optional with-hm inactive pre post extra) ... Thanks again! Rainer ___ 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 ___ 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
Re: [Orgmode] Small patch for org-ido-switchb
Applied, thanks. - Carsten On Mar 26, 2009, at 4:48 PM, Chris Leyon wrote: For some semi-short time, org-ido-switchb has been broken, complaining about wrong type arguments. The attached one-line patch corrects this. ido-switchb.patch___ 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 ___ 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
Re: [Orgmode] local TAGS and org-tags-view (or org-sparse-tree)
On Mar 24, 2009, at 11:37 AM, Dieter Faulbaum wrote: I use org-mode version 6.21b (from emacs.orebokech.com). I have some org files with local TAGS set in this form: #+TAGS: mail(m) math management monitor This work fine for org-ctrl-c-ctrl-c. But if I use org-tags-view, these local TAGS will not be shown for the possible match completions (pressing TAB). I don't understand this behaviour; do I something wrong? As org-tags-view compiles entries from all agenda files, the completion reflects all tags in agenda files, rather than the current file. If you add this file to the agenda files with `C-c [', I think you should start seeing these tags as well. HTH - Carsten -- Dieter Faulbaum Elektronenspeicherring BESSY II Albert-Einstein-Str. 15, 12489 Berlin phone +49 30 6392-4652 fax +49 30 6392-2939 mail dieter.faulb...@bessy.de Helmholtz-Zentrum Berlin für Materialien und Energie GmbH Glienicker Straße 100, 14109 Berlin Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph Stellvertretende Vorsitzende: Dr. Jutta Koch-Unterseher Geschäftsführer: Prof. Dr. Anke Rita Pyzalla, Prof. Dr. Dr. h.c. Wolfgang Eberhardt, Dr. Ulrich Breuer Sitz der Gesellschaft: Berlin Handelsregister: AG Charlottenburg, 89 HRB 5583 Information: Durch die Fusion mit dem ehemaligen Hahn-Meitner-Institut (HMI) ist BESSY nun Teil des neuen Helmholtz-Zentrum Berlin für Materialien und Energie (HZB). By the merger with the former Hahn-Meitner-Institut (HMI), BESSY became part of the new Helmholtz-Zentrum Berlin für Materialien und Energie (HZB). Disclaimer automatically attached by the E-Mail Security Appliance mail0.bessy.de 03/24/09 at Helmholtz-Zentrum Berlin GmbH. ___ 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 ___ 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
[Orgmode] Re: feature request
Hello Carsten, Carsten Dominik carsten.domi...@gmail.com writes: if you pull a new git version, the page title will now correctly appear in links created in w3-mode buffers. Thanks to all who contributed to this discussion. Thank you. I just tested it and works well. Exactly what I needed. rdc -- Robert D. Crawford rd...@comcast.net ___ 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
Re: [Orgmode] iPhone ---- org-mode
On Thu, Mar 26, 2009 at 4:39 PM, Carsten Dominik carsten.domi...@gmail.com wrote: I am still looking for a dedicated iPhone developer who will write and Org-mode app :-) I would love to see that! But I have neither the skills, time, nor funding to help (though I would pay good money for the app). offtopic So, I searched for emacs at the ITunes store and I found a couple of useless-looking cheat sheets[1] for the iPhone/Touch, plus a track called Emacs by a trance/techno band called BandX. And their album (11R6) seems to be named after a release of X windows... /offtopic Cheers Will [1] If you are in emacs, you have C-h b, M-x apropos, etc. If you are not in emacs, why would you need to know the keybindings? -- Dr William Henney, Centro de Radioastronomía y Astrofísica, Universidad Nacional Autónoma de México, Campus Morelia ___ 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
Re: [Orgmode] iPhone ---- org-mode
William Henney when...@gmail.com writes: On Thu, Mar 26, 2009 at 4:39 PM, Carsten Dominik carsten.domi...@gmail.com wrote: I am still looking for a dedicated iPhone developer who will write and Org-mode app :-) I would love to see that! But I have neither the skills, time, nor funding to help (though I would pay good money for the app). offtopic So, I searched for emacs at the ITunes store and I found a couple of useless-looking cheat sheets[1] for the iPhone/Touch, plus a track called Emacs by a trance/techno band called BandX. And their album (11R6) seems to be named after a release of X windows... /offtopic Cheers Will [1] If you are in emacs, you have C-h b, M-x apropos, etc. If you are not in emacs, why would you need to know the keybindings? because you don't know the name of the elisp command? ___ 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
[Orgmode] font-lock form BEGIN_SRC
Hi I would like the text in BEGIN_SRC to display the colour and tab-indentation of the appropriate emacs-mode whilst viewing the org file. I would also like to be able to hide the markup tag BEGIN_SRC. #+BEGIN_SRC emacs-lisp (defun org-xor (a b) Exclusive or. (if a (not b) b)) #+END_SRC ___ 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
Re: [Orgmode] font-lock form BEGIN_SRC
Hi Deric, This is possible with MuMAMo, see the following link for Details. Unfortunately it is not very stable, and in my experience leads to problems with folding/unfolding of outline levels. http://www.mail-archive.com/emacs-orgmode@gnu.org/msg08069.html The Author/Maintainer of MuMaMo is reworking some of the core buffer subdivision stuff, so it is possible that this could improve in the near future. As an interim solution you can also try \C-c' from inside the src block. Best -- Eric Deric Bytes dericby...@gmail.com writes: Hi I would like the text in BEGIN_SRC to display the colour and tab-indentation of the appropriate emacs-mode whilst viewing the org file. I would also like to be able to hide the markup tag BEGIN_SRC. #+BEGIN_SRC emacs-lisp (defun org-xor (a b) Exclusive or. (if a (not b) b)) #+END_SRC ___ 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 ___ 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
Re: [Orgmode] Does this happen to you? Aquamacs messes with you! (but I still like my Mac)
Hi Kevin, I'm sorry I didn't see this until just now, and it doesn't appear that anyone else has answered you. (I've moved to Romania, so I've been busy. No, really! Craiova!) The short answer is I don't remember. But upon looking at my customization file in Aquamacs, I find the following line in my custom-set-faces code block: '(org-column-title class color) (min-colors 16) (background light)) (:inherit fixed-pitch :background grey90 :underline t :weight bold which makes me think it that you need to customize the org-column- title face (Options - Customize Emacs - Specific Face - then type with completion org-column-title). I think I left everything alone, but added an entry to the 'Inherit' list. I have the word 'fixed-pitch' without the quotes as my sole entry. I hope that helps you out, Ben Alexander On 2009-Mar-16, at 12:09, Kevin Brubeck Unhammer wrote: Ben Alexander [EMAIL PROTECTED] writes: (I have FINALLY got a fixed width font for the tab bar, so my column mode headings line up with the text in the buffer!!! How did you do this? I think I had them lined up in an earlier Aquamacs version, but I see now they don't line up any longer. I don't use column mode much, but if it's like this I'll never even start using it... (I tried setting the fonts via Options-Appearance-Font for org-mode, but I notice it doesn't change the headline font, see http://bayimg.com/gaOHeAAbF for when I chose a huge font.) best regards, Kevin ___ 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
[Orgmode] agenda speed
The agenda is wonderful for other stuff, but for me it is not an editing mode per se. I have never been able to use the agenda for full control over the org file, as some people are able to do. For me (at least on my computer) it is slow. What is slow. Maybe we can improve things? The agenda could use cached values for agenda files whose last update time is earlier than the last agenda scan. That could lead to significant speedups for people who have several agenda files. -- Myalgic encephalomyelitis denialism is causing death (decades early; Jason et al. 2006) and severe suffering (worse than nearly all other diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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
[Orgmode] footnote bug
The following source produces the following output. * sorting speed The agenda is wonderful for other stuff, but for me it is not an editing mode per se. I have never been able to use the agenda for full control over the org file, as some people are able to do. For me (at least on my computer) it is slow. What is slow. Maybe we can improve things? You could use cached values for agenda files whose last update time is earlier than the last agenda scan. That could lead to significant speedups for people who have several agenda files.[fn:15] [fn:15] It wouldn't help with people who have a single agenda file, and it wouldn't help with people who very frequently use all of their agenda files. For those use cases, something much more complicated and brittle would probably be necessary Output: You could use cached values for agenda files whose last update time is earlier than the last agenda scan. That could lead to significant speedups for people who have several agenda files.[1] [fn:15] It wouldn't help with people who have a single agenda file, and it wouldn't help with people who very frequently use all of their agenda files. For those use cases, something much more complicated and brittle would probably be necessary [1] [fn:15] -- Myalgic encephalomyelitis denialism is causing death (decades early; Jason et al. 2006) and severe suffering (worse than nearly all other diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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
[Orgmode] outline-agenda sorting consistency part 2
A couple of sorting-related issues, under a different subject header so as not to get confused with the issues in the previous one. 1. It looks like priority means both priority /letter/ and priority /as calculated/. I got confused by this at first when I wanted to sort using priority-down to mean sorting by letter. Is there a way to sort by priority-letter-down in the agenda? This might create an order that is more stable over time, thus allowing you to know where to look for an item. 2. Is it possible to allow a user-definable sorting strategy member for the agenda? i.e. user-definable-down. -- Myalgic encephalomyelitis denialism is causing death (decades early; Jason et al. 2006) and severe suffering (worse than nearly all other diseases studied; e.g. Schweitzer et al. 1995) and grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ 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
Re: [Orgmode] bug in simple dependencies handling (?)
Hello Carsten, thanks for your reply. Hi Daniel, yes, this could be seen as a bug. However, the implementation does not work by scanning the entire buffer and marking tasks that should be blocked. Rather, it goes to each task and then scans around to see locally what the dependencies are. In this case it looks only at the parent, not at the grand parent. Wouldn't it be enough to check whether the parent is blocked. Wouldn't that generate a blocking-chain? However, the todo dependencies are simple hook functions, and an interested programmer could relatively easily extend them, I believe. I've tried to write a custom org-blocker-hook but it doesn't work, unfortunately. Can you (or someone else) tell me please what's wrong with my code? (defun org-block-todo-with-blocked-parent (change-plist) ;; check whether we are in a endless loop: (if (plist-get change-plist :org-block-todo-with-blocked-parent) ;; We are in a endless loop: don't block (return t) t ;; We are not in a endless loop: go to the parent heading (save-excursion (org-back-to-heading t) (ignore-errors (org-up-heading-all 1)) ;; generate a fake change-plist with a flag to indicate a endless loop (setq fake-change-plist (list :type 'todo-state-change :from DONE :to TODO :position 0 :org-block-todo-with-blocked-parent t)) ;; check whether the parent heading should be blocked and return the result (save-match-data (run-hook-with-args-until-failure 'org-blocker-hook fake-change-plist) (add-hook 'org-blocker-hook 'org-block-todo-with-blocked-parent) I don't expect to change this because it would make the mechanism a lot more complex and slower. I think it's essential to provide this eventuality. For example this tree: * organize party :PROPERTIES: :ORDERED: t :END: ** TODO send invitations *** TODO send invitation to Paul *** TODO send invitation to Nicole *** ect. ** TODO buy meals and drinks :PROPERTIES: :ORDERED: t :END: *** TODO write shopping list *** TODO get money from my bank account *** TODO buy food *** TODO buy drinks with this tree, only send invitation to Paul and send invitation to Nicole should be on my agenda. But write shopping list is also an my agenda list (although it shouldn't: I can't write a shopping list if I don't know how many people will come to my party). best regards, Daniel - Carsten On Mar 24, 2009, at 8:13 PM, Daniel Hochheimer wrote: Hello, first of all, please excuse my poorly english. It seems there is a bug in the handling of simple dependencies. I think an example tree is the best solution, to show you the bug: * Projects #+CATEGORY: Projects *** TODO foo bar project :PROPERTIES: :ORDERED: t :END: * TODO foo subproject:FooSubproject: *** TODO Task 1 * TODO bar subproject:BarSubproject: *** TODO Task 1 This is in my .emacs file: (setq org-enforce-todo-dependencies t) (setq org-agenda-dim-blocked-tasks 'invisible) (setq org-odd-levels-only t) the expected global todo agenda view imho is: Projects:Task 1 :FooSubproject: but actual it is unfortunately: Projects:Task 1 :FooSubproject: Projects:Task 1 :BarSubproject: Imho Task 1 from bar subproject should not be visible, because bar subproject is blocked because of the ORDERED property (therefore it's childs should be blocked, too) Is it easy / possible to fix this bug? My whole GTD system is heavily based on such project / subproject-Constructs. But with this bug my global todo agenda view is unfortunately polluted a little bit with tasks from projects that shouldn't be active. Best regards, Daniel PS: many thanks to the developer of this great emacs mode, I really enjoy org-mode. I started using emacs only because of the great abilities of org-mode. ___ 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 ___ 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
[Orgmode] Handling org-file agenda dependenncies?
I have projects with non-text files. Many of them having sub-,subsub-projects etc. (nested) Therefore I made directories for them using the project name. /project name/subproject name/etc Each having it's own (sub-)project name.org file in it. My question: How can I add|remove a whole project from the agenda? e.g. If I remove project1.org file from the agenda... /project1/subprojectX.org would still be in there! Or is there a way to assign and then set a group of org.files to inactive(=remove from agenda)? Any other suggestions|methods for solving this problem? ___ 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