Re: [Orgmode] Patch for growl notifications without uncommenting hacks
On 7 Apr 2009, at 01:16, David Abrahams wrote: On Apr 6, 2009, at 6:27 PM, Christopher Suckling wrote: On 6 Apr 2009, at 01:49, David Abrahams wrote: This patch to org-mac-message.el should make it show growl notifications when searching for flagged messages and growl is running, and work silently otherwise. Thanks, works nicely. Below patch adapts for general case, cleans up commentary and fixes one tiny formatting bug I noticed. Best, Christopher org-mac-message.patch Nice tweak to the code, but I'm not sure it was a good idea to strip out lisp comments from around the AppleScript. There are some oddball idioms in there whose rationale will have to be guessed by the next person who comes along and wants to improve things. Also, I think the indentation I applied to the applescript strings do a great deal to enhance comprehensibility at little or no cost. And done. Carsten, ignore yesterday's patch. BTW, is there a way of automatically doing the AppleScript indentation (I lost it all when I ran indent-region on the buffer and was too tired last night to put it back in...)? Best, Christopher org-mac-message.patch Description: Binary data ___ 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] feed.el missing in Makefile
Hello! Just updated with git and noticed, that feed.el is missing in the Makefile, thus does not get compiled nor installed. Harri K. ___ 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] Patch for growl notifications without uncommenting hacks
On Apr 6, 2009, at 6:27 PM, Christopher Suckling wrote: On 6 Apr 2009, at 01:49, David Abrahams wrote: This patch to org-mac-message.el should make it show growl notifications when searching for flagged messages and growl is running, and work silently otherwise. Thanks, works nicely. Below patch adapts for general case, cleans up commentary and fixes one tiny formatting bug I noticed. Best, Christopher org-mac-message.patch Nice tweak to the code, but I'm not sure it was a good idea to strip out lisp comments from around the AppleScript. There are some oddball idioms in there whose rationale will have to be guessed by the next person who comes along and wants to improve things. Also, I think the indentation I applied to the applescript strings do a great deal to enhance comprehensibility at little or no cost. -- David Abrahams BoostPro Computing http://boostpro.com ___ 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] Record extra info for each time block
Hi Matthew, First of all, thanks for your quick answer. But sometimes, you also need to record some other information related to that time block, for example, the distance you had to drive to go to the meeting or some costs (like parking costs) that you had to pay for it. Example: * Project1 ** Meetings :LOGBOOK: CLOCK: [2009-03-02 mon. 10:00]--[2009-03-02 mon. 12:30] = 2:30 15 kilometers CLOCK: [2009-03-03 tue. 09:30]--[2009-03-03 tue. 12:30] = 3:00 15 kilometers + 12,00 EUR :END: Is there a way to record this information? If not, what is your advice? You could also record this information as properties. E.g., , | * Meetings | :PROPERTIES: | :COLUMNS: %30ITEM %CLOCKSUM %10distance{+} %10expenses{$} | :END: | ** Meeting One |:LOGBOOK: |CLOCK: [2009-04-06 Mon 13:25]--[2009-04-06 Mon 14:37] = 1:12 |:END: |:PROPERTIES: |:distance: 15 |:expenses: 13.45 |:END: | | ** Meeting Two |:LOGBOOK: |CLOCK: [2009-04-06 Mon 16:41]--[2009-04-06 Mon 18:41] = 2:00 |:END: |:PROPERTIES: |:distance: 28 |:expenses: 22.31 |:END: | ` Of course, it would be nice to get a final table with everything summed up: total work, total kilometers, total fees. If you add a column line (as in the example above) you can use column view (C-c C-x C-c) to get a nice overview with everything summed up in the top heading. Or you could capture the data in a table (C-x C-c i). E.g., , | ** Summary | #+BEGIN: columnview :hlines 1 :id local | | ITEM | CLOCKSUM | distance | expenses | | |+--+--+--| | | * Meetings | 3:12 | 43 |35.76 | | | ** Meeting One | 1:12 | 15 |13.45 | | | ** Meeting Two | 2:00 | 28 |22.31 | | #+END: ` Your solution is nice and works but it doesn't fit all my needs: the distance and expense information are recorded for a headline but it is not related to a specific time block. When I think a little further, I realize that it would be great to attach information to time blocks. Here's, in more details, what I'd like to have. The idea is to generate 2 views from the same set of information: the first view would be a per project view and a second one, a per day view. Let's take an example. Let's assume that we have the following headline view (with new attributes associated to each time block, in an imaginary syntax): --8---cut here---start-8--- * Work for April 2009 *** Project 1 This is project 1. * Task 11 This is task 11. :LOGBOOK: CLOCK: [2009-04-06 mon. 10:00]--[2009-04-06 mon. 12:30] = 2:30 + expense 10.00 CLOCK: [2009-04-06 mon. 13:00]--[2009-04-06 mon. 14:00] = 1:00 + distance 15 :END: * Task 12 This is task 12. :LOGBOOK: CLOCK: [2009-04-06 mon. 08:00]--[2009-04-06 mon. 10:00] = 2:00 + distance 5 :END: *** Project 2 This is project 2. * Task 21 This is task 21. :LOGBOOK: CLOCK: [2009-04-06 mon. 15:00]--[2009-04-06 mon. 17:00] = 2:00 :END: * Task 22 This is task 22. :LOGBOOK: CLOCK: [2009-04-06 mon. 14:00]--[2009-04-06 mon. 15:00] = 1:00 :END: *** Project3 This is project 3. * Task 31 This is task 31. :LOGBOOK: CLOCK: [2009-04-07 tue. 08:00]--[2009-04-07 tue. 11:30] = 3:30 + expense 10.00 + distance 5 :END: --8---cut here---end---8--- This project view is very important as it is the main view for time clocking on a per project basis. From this single view, I would like to be able to generate 2 kinds of exportable tables (in LaTex or other documents -- not an overlay solution like column view). The first one would be a summary per project for April 2009 and would be mainly used by project managers. --8---cut here---start-8--- |---+---+--+--| | Description | Work | Distance | Expenses | |---+---+--+--| | * Work for April 2009 | 12:00 | 25 |20.00 | |---+---+--+--| | *** Project 1 | 5:30 | 20 |10.00 | | * Task 11 | 3:30 | 15 |10.00 | | * Task 12 | 2:00 |5 | | | *** Project 2 | 3:00 | | | | * Task 21 | 2:00 | | | | * Task 22 | 1:00 | | | | *** Project 3 | 3:30 |5 |10.00 | | * Task 31 | 3:30 |5 |10.00 | | | | | | |---+---+--+--| --8---cut here---end---8--- The second one would be a
[Orgmode] How you guys implement orgmode into cell phone?
orgmode is great, but for my job, I can't touch PC much of my work time, but I have cell phone, which I think is quite suitable for gtd, but manage two gtd system is pain, could anyone give me some hints about how to simplify my gtd system? Maybe a little off topic, but it's still a little relative to orgmode :) -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ 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] Adding time to deadline and schedule timestamps
Hi folks, I'm trying to get a little more control over my DEADLINE and SCHEDULED timestamps. Specifically, I'd like to be able to add the time (not just the date) when I hit C-c C-d or C-c C-s. I tried adding the prefix, which is how you would do it when putting in a plain timestamp (C-u C-c .) However, this combo deletes any schedule or deadline property the note might have. If I use C-c C-d/s and try to type the time in at the prompt it is ignored. However, I can manually add it to the timestamp afterwards and everything works as expected. Is there a way to automatically add the time? This would seem to be a very natural thing to be able to do, especially for deadlines. -- Cameron Horsburgh Blog: http://spiritcry.wordpress.com/ ___ 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-protocol and encoding
Sebastian Rose sebastian_r...@gmx.de writes: This seems to be a emacs/remember problem though. If I open a file `xy.txt' and select this text: lkäüüäüpüpjüpjsf and then 'C-x r' to remember it, I get this in my remember buffer: [[file:~/xy.txt::lk%20p%20pj%20pjsf][file:~/xy.txt::lk p pj pjsf]] While this is true, incomming text looks corrupted in org-protocol.el too. ___ 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] Moving headlines and content.
Is there a way to MOVE multiple headlines, along with their content, that match a search to a new file. C-c a m +orgmode+howto moved to file ~/notes/org/howto-090704.org C-c a m +orgmode+diary moved to file~/notes/org/diary-090704.org ___ 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] Adding time to deadline and schedule timestamps
On Tue, Apr 07, 2009 at 12:24:33PM +, Giovanni Ridolfi wrote: --- Mar 7/4/09, Cameron Horsburgh ca...@netcall.com.au ha scritto: I'm trying to get a little more control over my DEADLINE and SCHEDULED timestamps. The manual (8.3 Deadlines and scheduling) states: [...] special keywords to facilitate *planning* DEADLINE Meaning: the task (most likely a TODO item, though not necessarily) is supposed to be finished on that *date*. SCHEDULED Meaning: you are planning to start working on that task on the given *date*. I think you should use a timestamp * Submit :Project_A_ DEADLINE 2008-10-11 ** last minute for submission 2008-10-11 16:59 Yes, that's true. However, being able to do this in one timestamp would seem to make a lot of sense. After all, this will show up in my agenda as two apparently unrelated things. Besides, I should only have to put the information in once, not twice. -- Cameron Horsburgh Blog: http://spiritcry.wordpress.com/ ___ 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: Adding time to deadline and schedule timestamps
On Tue, Apr 07, 2009 at 08:32:36AM -0400, Bernt Hansen wrote: To add a time I just enter the time when you get the SCHEDULED or DEADLINE date prompt. eg. Date+time [2009-04-07]: mon 7pm Lots of formats are supported. Entering the time at the prompt works for me. ,[ Example org file entering '7pm' and 'fri 11:30-13:30' ] | * One | DEADLINE: 2009-04-07 Tue 19:00 | * TODO Something | SCHEDULED: 2009-04-10 Fri 11:30-13:30 ` -Bernt Huh. Once again I increase the noise to signal ratio on this list. As I said in my first message I tried that and it didn't work. I was left with a datestamp with no time attached. I've since rebooted my machine (and consequently Emacs) and now it works. Weird. Again, sorry for the noise. -- Cameron Horsburgh Blog: http://spiritcry.wordpress.com/ ___ 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] Adding time to deadline and schedule timestamps
Hi Cameron, Cameron Horsburgh ca...@netcall.com.au writes: Hi folks, I'm trying to get a little more control over my DEADLINE and SCHEDULED timestamps. Specifically, I'd like to be able to add the time (not just the date) when I hit C-c C-d or C-c C-s. When I type something like C-c C-d wed 13:30 RET, the time is added to the deadline. E.g., , | * TODO Todo | DEADLINE: 2009-04-08 Wed 13:30 ` I could also type +1d 1:30pm or one of the other alternatives. If I type C-c C-d on an item that already has a deadline and no time, I can simply type in a time and it will be added to the existing deadline. E.g., if I have the following todo: , | * TODO Todo | DEADLINE: 2009-04-14 Tue ` I can type C-c C-d 7:00pm RET on the headline and I get: , | * TODO Todo | DEADLINE: 2009-04-14 Tue 19:00 ` Hope this helps. Matt ___ 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] Time computation errors
Hi, Going on in discovering org-mode, I found 2 problems when trying to make computations on times. Consider the following example: --8---cut here---start-8--- * Test #+COLUMNS: %25ITEM(Description) %Time1{:} %Time2{:} %Time3{:} #+BEGIN: columnview :hlines 1 :id local | Description | Time1 | Time2 | Time3 | |-+---+---+| | * Test | 3:30 | 3:00 | #ERROR | | *** Item 1 | -1:30 | 1:00 | #ERROR | | *** Item 2 | 4:00 | 2:00 | #ERROR | #+TBLFM: $4=$2+$3 #+END: *** Item 1 :PROPERTIES: :Time1:-1:30 :Time2:1:00 :END: *** Item 2 :PROPERTIES: :Time1:4:00 :Time2:2:00 :END: --8---cut here---end---8--- Problems: 1) The sum of Time1 for Test headline is wrong: 3:30 instead of 2:30; 2) I'm unable to sum times through a formula (see Time3 column). The same formula works perfectly when you replace times with integers. Any feedback is welcome. Thanks, Francesco ___ 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] table of contents--html export
Hi, When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). Thanks, Jörg ___ 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] table of contents--html export
Hi Jörg, Jörg Hagmann joerg.hagm...@unibas.ch writes: When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). Try customizing the variable org-export-language-setup. This will enable you to change the title of the Table of Contents for your particular locale. Another approach: I get rid of the table of contents heading on my website by using css: --8---cut here---start-8--- #table-of-contents h2 { display: none; } --8---cut here---end---8--- Best, Matt ___ 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: Time computation errors
Hi Bernt, Thanks for your answer. Consider the following example: --8---cut here---start-8--- * Test #+COLUMNS: %25ITEM(Description) %Time1{:} %Time2{:} %Time3{:} #+BEGIN: columnview :hlines 1 :id local | Description | Time1 | Time2 | Time3 | |-+---+---+| | * Test | 3:30 | 3:00 | #ERROR | | *** Item 1 | -1:30 | 1:00 | #ERROR | | *** Item 2 | 4:00 | 2:00 | #ERROR | #+TBLFM: $4=$2+$3 #+END: *** Item 1 :PROPERTIES: :Time1:-1:30 :Time2:1:00 :END: *** Item 2 :PROPERTIES: :Time1:4:00 :Time2:2:00 :END: --8---cut here---end---8--- Problems: 1) The sum of Time1 for Test headline is wrong: 3:30 instead of 2:30; 2) I'm unable to sum times through a formula (see Time3 column). The same formula works perfectly when you replace times with integers. Any feedback is welcome. I don't believe negative times are supported currently. You are probably right. The fact is that: 1) when you clock in and out, you can get negative durations (I know, it seems weird...) and then your clock table is wrong (negative duration are not taken into account when calculating the sums). Anyway, I think it should be good to support negative durations in order, for example, to compute differences between durations (which can lead to positive or negative times); 2) I'm still unable to sum positive times value in my table (see my problem 2) in my previous email). Is there a specific operator in order to sum times? Thanks, F. ___ 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] table of contents--html export
Hi Matthew, Thanks. I presently have table of contents turned off, and I dont want the same in a different language. What I want is something like On this page, because otherwise users think they are dealing with links to other pages and, depending on where exactly the table of contents link points to, nothing may happen (when the page is short, the pointed to link is already visible etc.). Then they think it didn't work. I tried to change Table of contents in the language section of the file org-exp.el, but that didn't do it. But from your answer I guess that there is no customization for what I want? Regards, Jörg Matthew Lundin wrote: Hi Jörg, Jörg Hagmann joerg.hagm...@unibas.ch writes: When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). Try customizing the variable org-export-language-setup. This will enable you to change the title of the Table of Contents for your particular locale. Another approach: I get rid of the table of contents heading on my website by using css: --8---cut here---start-8--- #table-of-contents h2 { display: none; } --8---cut here---end---8--- Best, Matt -- Prof. Jörg Hagmann-Zanolari MD University of Basel Department of Biomedicine Institute of Biochemistry and Genetics Mattenstrasse 28 CH-4058 Basel Switzerland Phone +41 (0)61 267 3565 ___ 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] table of contents--html export
Jörg Hagmann joerg.hagm...@unibas.ch writes: Hi, When exporting to html, is it possible to change Table of Contents in the exported file to something of one's own choice? (I don't mean a different language). I can't find another way than what you probably found already: M-x customize-variable RET org-export-default-language RET is the only possibility I can think of now. This will change the name of the TOC for all of your files and projects. ___ 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-protocol: firefox issues
Hi Rustom, Please add: javascript:location.href='org-protocol://store-link://'+encodeURIComponent(location.href) ^^^ Sorry for the inconvenience, thanks for finding the failure in the docs. Regards, Sebastian (who's going to fix the docs now) Rustom Mody rustompm...@gmail.com writes: When I try to make a new bookmark in firefox containing location.href='org-protocol://store-link://'+encodeURIComponent(location.href) as the location, the save changes button in firefox becomes inactive! Fiddling around with the =' etc changin it to : makes it active but then of course the linkage from firefox to emacs goes [This is WIN XP and firefox 3.0.8] ___ 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] table of contents--html export
Jörg, Jörg Hagmann joerg.hagm...@unibas.ch writes: Thanks. I presently have table of contents turned off, and I dont want the same in a different language. Did you try to customize the variable org-export-language-setup, as I suggested? The variable allows you to change the name of the Table of Contents header *for* any given language (see full instructions below). What I want is something like On this page, because otherwise users think they are dealing with links to other pages and, depending on where exactly the table of contents link points to, nothing may happen (when the page is short, the pointed to link is already visible etc.). Then they think it didn't work. I tried to change Table of contents in the language section of the file org-exp.el, but that didn't do it. But from your answer I guess that there is no customization for what I want? On the contrary, org-export-language-setup is exactly what enables you to customize the table of contents line. Simply type: M-x customize-variable RET org-export-language-setup Then, if you are publishing your websites in English, change the line that reads Table of Contents to On this page. (Or, change the table of contents line for the language you are using.) I just did this and got the following table of contents header in my html export: , | div id=table-of-contents | h2On this page/h2 ` - Matt ___ 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 a million for optimizing and including this blocking-behavior into org-mode! :) It seems to work like a charm. Best regards, Daniel Carsten Dominik wrote: Hi Daniel, thanks for your continuing efforts. I have now implemented this change, with some speed optimizations. I was worried that this could get slow, and the main occasion would be if you have an entry in a very long chain of siblings that have to be done ordered. I believe that I have made this a lot faster now. Thanks! - Carsten On Apr 1, 2009, at 10:02 PM, Daniel wrote: Hello Carsten, you're right. I've changed the code suitable (at least I hope I have ;). Do you think it's possible to replace the original hook with my altered one, or do you think the additional checks are to expensive? As far as I see there's no noticeable difference. Nevertheless, here's the code in case someone is interested: (altered lines are marked with semicolons) (defun org-block-todo-from-children-or-siblings (change-plist) Block turning an entry into a TODO, using the hierarchy. This checks whether the current task should be blocked from state changes. Such blocking occurs when: 1. The task has children which are not all in a completed state. 2. A task has a parent with the property :ORDERED:, and there are siblings prior to the current task with incomplete status. (catch 'dont-block ;; If this is not a todo state change, or if this entry is already DONE, ;; do not block (when (or (not (eq (plist-get change-plist :type) 'todo-state-change)) (member (plist-get change-plist :from) (cons 'done org-done-keywords)) (member (plist-get change-plist :to) (cons 'todo org-not-done-keywords))) (throw 'dont-block t)) ;; If this task has children, and any are undone, it's blocked (save-excursion (org-back-to-heading t) (let ((this-level (funcall outline-level))) (outline-next-heading) (let ((child-level (funcall outline-level))) (while (and (not (eobp)) ( child-level this-level)) ;; this todo has children, check whether they are all ;; completed (if (and (not (org-entry-is-done-p)) (org-entry-is-todo-p)) (throw 'dont-block nil)) (outline-next-heading) (setq child-level (funcall outline-level)) ;; Otherwise, if the task's parent has the :ORDERED: property, and ;; any previous siblings are undone, it's blocked ;; (setq while_cond t);;; ;; (save-excursion (save-match-data ;;; (ignore-errors (while while_cond;;; ;;; (save-excursion (org-back-to-heading t) (when (save-excursion (ignore-errors (org-up-heading-all 1) (org-entry-get (point) ORDERED))) (let* ((this-level (funcall outline-level)) (current-level this-level)) (while (and (not (bobp)) (= current-level this-level)) (outline-previous-heading) (setq current-level (funcall outline-level)) (if (= current-level this-level) ;; This is a younger sibling, check if it is completed (if (and (not (org-entry-is-done-p)) (org-entry-is-todo-p)) (throw 'dont-block nil))) (org-back-to-heading t) (org-up-heading-all 1) ; (when (not (org-entry-is-todo-p)) (setq while_cond nil)) ; t)) Best regards, Daniel Carsten Dominik wrote: Hi Daniel, looks that your modification do the right thing - almost. It does not check if the parent itself is a TODO, and I think this would be necessary as well. Because it would allow to have do-able subtasks in the list without too much blocking. So write hopping list would not be blocked in this case: * organize party :PROPERTIES: :ORDERED: t :END: ** TODO send invitations *** TODO send invitation to Paul *** TODO send invitation to Nicole *** ect. ** 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 Would you agree? - Carsten On Mar 28, 2009, at 3:52 AM, Daniel wrote: Oh my god! I think I've found a good solution :) Can you please tell me, whether it's crap or not? Only 4 lines differ from the original org-block-todo-from-children-or-siblings hook. I've marked the lines with comment lines, they are before and after the ORDERED-property check, at the end of the function. (defun org-block-todo-from-children-or-siblings-or-parent (change-plist) Block turning an entry into a TODO, using the hierarchy. This checks whether the current task should be blocked from state changes. Such blocking occurs when: 1. The task has children which are not all in a completed state. 2. A task has a parent with the property :ORDERED:, and there are siblings prior to the current task with incomplete status. (catch 'dont-block
Re: [Orgmode] reloading causes visibility bug requiring restart
I have fixed org-reload, it will now only reload files that actually have been loaded before. Also, the reloading will now also cover any files from the contrib/lisp directory. - Carsten On Apr 6, 2009, at 12:57 PM, Carsten Dominik wrote: I believe I know what s causing this. Reloading Org actually does load *all* of org, including, for example, org-inlinetask. I think that this is what is causing the problems. That will mean that org-reload needs fixing, and maybe that there is something wrong with the inline tasks. If more people could test the inline tasks, maybe some bug will be identified. I don't use org-cycle-include-plain-lists, so it ma be that the interaction of inline tasks with plain list cycling causes some of the problems. - Carsten On Apr 6, 2009, at 7:56 AM, Manish wrote: On Apr 5, 2009, at 8:18 PM, Samuel Wales wrote: I can't do the typing to formally document this, so I will just ask if others experience it. If not, it will take a while. Repeatably, with the latest git, emacs 22 cocoa, reloading org causes folding/visibility/cycling problems that are not fixable by reverting. Only restarting emacs fixes it. The problems are weird enough that it should be obvious if you try it. Seemingly random plain list items being the only visible part, etc. There is no cycling state in which all is shown, either from bob or from headline. On Mon, Apr 6, 2009 at 12:57 AM, Carsten Dominik wrote: Hi Samuel, is this something that started recently, or that you have observed over a longer period of time? I also experienced those cycling issues in past two days (with no change in Org config, only git updates) but I have since Emacs a couple of times (for unrelated reasons.) I will try gather more details if I see it again. -- Manish ___ 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] Important
Hi, with the current git release, I have again moved some code to new files. The exporters for HTML, XOXO, ASCII, and iCalendar now all have their own files. I hope that this will make things more transparent. However, such a splitting operation is complex, and it is possible that in some environments, some operations will not work normally. Please be extra alert, in particular watch out for bugs where a command fails because a certain function is not defined. Report such cases here, so that we can fix this quickly. For consistency, I would also like to rename the file org-export-latex.el to org-latex.el, but since there is more LaTeX-related stuff in Org than just the exporter, I have not done this yet. Thanks for your help. - 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] Moving headlines and content.
Not that I know of. It might be possible, however, to (1) make a command that tags each entry with :MARK: (similar to marking in dired -- you don't need this, but would add completeness) (2) make a command that tags /matching/ items (you need this) and (3) make a command that moves all marked entries (using org-refile). Thus, it could be a generic marking mechanism like dired, and it could work for the outline in addition to the agenda. Not that that helps you :). -- Myalgic encephalomyelitis denialism is causing death and severe suffering, worse than multiple sclerosis. It is corrupting science in the most foul way possible. Anybody can get the disease at any time -- permanently. How much do science and justice matter to you? 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] Important
Hi Carsten, updated my test data to match current Org-mode. Pulled and exported to HTML without a problem. Validation: * [X] Horizontal line not in p * [X] Encodings (iso-8859-1, iso-8859-15, utf-8) * [X] Named Section Anchors in Headlines * [X] Footnotes * [X] #+SETUPFILE * [X] text before first headline Looks very good to me. Best, Sebastian Carsten Dominik domi...@science.uva.nl writes: Hi, with the current git release, I have again moved some code to new files. The exporters for HTML, XOXO, ASCII, and iCalendar now all have their own files. I hope that this will make things more transparent. However, such a splitting operation is complex, and it is possible that in some environments, some operations will not work normally. Please be extra alert, in particular watch out for bugs where a command fails because a certain function is not defined. Report such cases here, so that we can fix this quickly. For consistency, I would also like to rename the file org-export-latex.el to org-latex.el, but since there is more LaTeX-related stuff in Org than just the exporter, I have not done this yet. Thanks for your help. - 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 -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.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
Re: [Orgmode] Patch for growl notifications without uncommenting hacks
Hi Carsten, Hopefully this is the last of the org-mac-message.el patches and it supersedes everything from yesterday morning onwards... It adds Growl detection AppleScript, fixes the commentary, tidies the indentation and fixes two bugs (message:// regex and some formatting) Best, Christopher On 7 Apr 2009, at 14:15, David Abrahams wrote: On Apr 7, 2009, at 4:12 AM, Christopher Suckling wrote: And done. Thanks. s/GrowlaHelperApp/GrowlHelperApp/ and there are two lines of comment (where the link is) that seem to be indented slightly differently from the rest. Carsten, ignore yesterday's patch. BTW, is there a way of automatically doing the AppleScript indentation (I lost it all when I ran indent-region on the buffer and was too tired last night to put it back in...)? That level of emacs-fu is beyond me :-) I just did it manually. -- David Abrahams BoostPro Computing http://boostpro.com org-mac-message.patch Description: Binary data ___ 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] Org dependencies request
I have started using dependencies in org-mode to make sure that I have completed all todos in a project before marking it done. There are, however, some projects that I would like to exclude from dependency tracking. For example, I have a multi-step project for paying the rent every month: , | * PROJECT Pay Rent | DEADLINE: 2009-05-01 Fri +1m -10d | :PROPERTIES: | :LOGGING: lognoterepeat | :END: | ** TODO Check bank account to make sure there's enough money for rent :computer: |SCHEDULED: 2009-04-20 Mon +1m | ** TODO Write rent check :home: |SCHEDULED: 2009-04-30 Thu +1m | ** Drop off rent :errands: |SCHEDULED: 2009-04-30 Thu +1m ` I would like to be able to switch the Pay Rent project to done in order to add a note and timestamp to mark its completion. But my global dependency setting blocks this, since the todos below are repeating and thus immediately get turned back to todos when they are done. Hence my request: Would it be possible to add a property that would prevent dependency checking on certain headlines? E.g., :DEPENDENCIES: t or :DEPENDENCIES: nil Since we already have an ORDERED switch, I think this would be a nice addition. Thanks in advance for considering the request. - Matt ___ 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] how to express relative path for grandparent folder?
goodh...@gmail.com goodh...@gmail.com wrote: no, it is not working. Since my grandparent folder is out of home folder(~) Any one know it? Thanks Manish wrote: On Mon, Apr 6, 2009 at 10:55 PM, goodh...@gmail.com wrote: I tried ../.., does not work. ../ works for parents folder. ../.. does not work, because emacs or setq org-agenda-files (list? how to correct it. (setq org-agenda-files (list ../../Plans/PhD.org ../../Plans/Others.org )) Does variable org-directory help? What exactly is not working? The main problem with ../../Plans/etc is that it's a relative pathname: *it depends on your current working directory (CWD)*, so whether the agenda files can be found will depend on what your CWD is - a rather undesirable state of affairs. If you want to *initialize* the agenda files list, you can do something like this in your .emacs: (setq org-agenda-files (mapcar (function expand-file-name) (list ../../Plans/PhD.org etc))) expand-file-name will convert the relative path names to absolute path names, so they can be found later on no matter what your CWD is. Does this help? Nick ___ 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] Time computation errors
El mar, abr 07 2009, Francesco Pizzolante va escriure: Consider the following example: | Description | Time1 | Time2 | Time3 | |-+---+---+| | * Test | 3:30 | 3:00 | #ERROR | | *** Item 1 | -1:30 | 1:00 | #ERROR | | *** Item 2 | 4:00 | 2:00 | #ERROR | #+TBLFM: $4=$2+$3 The problem is that calc (the package used by org-mode to do math calculations) sees 3:30 as a fraction: three thirtieths = 3/30 = 1/10 = 0.1 1) The sum of Time1 for Test headline is wrong: 3:30 instead of 2:30; (-1/30) + (4/30) = (-1+4)/30 = -3/30 → -3:30 2) I'm unable to sum times through a formula (see Time3 column). The same formula works perfectly when you replace times with integers. 3:00 is 3/0 and gives an error (as a fraction it is „bad format“ to calc, not infinite…). You can do more tests with: M-x calc RET According to the Calc manual: The default format for HMS values is `hours@ mins' secs'. So this makes calc happy: | Description | Time1 | Time2 | Time3 | |-+-++-| | * Test | 3@ 30' | 3@ 00' | 6@ 30' 0 | | *** Item 1 | -1@ 30' | 1@ 00' | -1@ -30' 0 | | *** Item 2 | 4@ 00' | 2@ 00' | 6@ 0' 0| #+TBLFM: $4=$2+$3 (The negative time is however incorrect). I think it will be easier to use directly forms like 00:30 or the 2009-04-08 mié 00:33 from org-mode, and make your own functions from there. Anyway, org tracks more times and dates than fractions, so 00:30 could be also understood by org as a time. -- Daniel ___ 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] how to express relative path for grandparent folder?
I solved it. but do not ask me why. (setq org-agenda-files (list ~/../../Plans/PhD.org ~/../../Plans/Others.org I add ~/ and restart emacs, which make it work, although ../ works for parent folder without ~/ Jack Manish wrote: On Mon, Apr 6, 2009 at 10:55 PM, goodh...@gmail.com wrote: I tried ../.., does not work. ../ works for parents folder. ../.. does not work, because emacs or setq org-agenda-files (list? how to correct it. (setq org-agenda-files (list ../../Plans/PhD.org ../../Plans/Others.org )) Does variable org-directory help? ___ 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] how to express relative path for grandparent folder?
Nick Dokos nicholas.do...@hp.com wrote: goodh...@gmail.com goodh...@gmail.com wrote: no, it is not working. Since my grandparent folder is out of home folder(~) Any one know it? Thanks Manish wrote: On Mon, Apr 6, 2009 at 10:55 PM, goodh...@gmail.com wrote: I tried ../.., does not work. ../ works for parents folder. ../.. does not work, because emacs or setq org-agenda-files (list? how to correct it. (setq org-agenda-files (list ../../Plans/PhD.org ../../Plans/Others.org )) Does variable org-directory help? What exactly is not working? The main problem with ../../Plans/etc is that it's a relative pathname: *it depends on your current working directory (CWD)*, so whether the agenda files can be found will depend on what your CWD is - a rather undesirable state of affairs. If you want to *initialize* the agenda files list, you can do something like this in your .emacs: (setq org-agenda-files (mapcar (function expand-file-name) (list ../../Plans/PhD.org etc))) expand-file-name will convert the relative path names to absolute path names, so they can be found later on no matter what your CWD is. Does this help? It doesn't - although the diagnosis is correct, the cure is not: the pathnames are expanded relative to the directory where emacs is started. So the only way is to use absolute path names (which is what you did by prefixing them with ~ - they are now relative to a fixed place, rather than to a floating one). Sorry about that. Nick ___ 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] Important
Matthew Lundin wrote: Hi Carsten, Carsten Dominik domi...@science.uva.nl writes: Hi, with the current git release, I have again moved some code to new files. The exporters for HTML, XOXO, ASCII, and iCalendar now all have their own files. I hope that this will make things more transparent. However, such a splitting operation is complex, and it is possible that in some environments, some operations will not work normally. Please be extra alert, in particular watch out for bugs where a command fails because a certain function is not defined. Report such cases here, so that we can fix this quickly. Just pulled the new commits from the git repo. When I type make, I get the following error message: , | In toplevel form: | lisp/org-export-latex.el:53:1:Error: Symbol's function definition is void: org-create-multibrace-regexp | make: *** [lisp/org-export-latex.elc] Error 1 ` I ran into this also. However, a make clean then make solved the problem. Mark ___ 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: BUG: Task tag inheritance is broken
Hi Bernt, this changes continues to make trouble. I hope I have squashed the bug now. - Carsten On Apr 6, 2009, at 3:50 PM, Bernt Hansen wrote: Hi Carsten :) The following commit commit 8cc49120fa669f9ae1335b58b2e5f31a20827209 Author: Carsten Dominik carsten.domi...@gmail.com Date: Fri Apr 3 20:41:36 2009 +0200 Tags scan: Also find the first line in a buffer. 2nd attempt. breaks tag inheritance for me. I use org-remember predominately to save tasks in an org-file under the * Tasks :NEWTASK: headline. I then refile from there to a more appropriate place during my weekly review. My tag search for NEWTASK after this commit returns no matching tasks which I know is wrong. -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