[Orgmode] forward date/time in table by S-return doe only affect first timestamp
Having a table like this | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | | ^ pointer positioned at ^, pressing S-return I get | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | [2009-11-04 Mi 09:25]--[2009-11-03 Di 10:25] | (Di = Tuesday, Mi = Wednesday ...) What I would like to see is this: | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | [2009-11-04 Mi 09:25]--[2009-11-04 Mi 10:25] | that is, both timestamps are forwarded one day automatically. Is there any chance to configure this? If not, do others also think this would make sense? Rainer resolution dtection event log asp.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] forward date/time in table by S-return doe only affect first timestamp
On Nov 3, 2009, at 10:20 AM, Rainer Stengele wrote: Having a table like this | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | | ^ pointer positioned at ^, pressing S-return I get | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | [2009-11-04 Mi 09:25]--[2009-11-03 Di 10:25] | (Di = Tuesday, Mi = Wednesday ...) What I would like to see is this: | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | [2009-11-04 Mi 09:25]--[2009-11-04 Mi 10:25] | that is, both timestamps are forwarded one day automatically. Is there any chance to configure this? If not, do others also think this would make sense? Hi Rainer, why don't you write [2009-11-03 Di 09:25-10:25] ??? - Carsten Rainer resolution dtection event log asp.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 - 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] Making TAB a touch more magical
On Nov 2, 2009, at 2:18 PM, Carsten Dominik wrote: On Oct 17, 2009, at 2:59 AM, John Wiegley wrote: In most power outliners on the Mac, pressing TAB indents the outline level of the current item. This lets you add subnotes very quickly by typing M-RET TAB. (I find M-S-right way too cumbersome to use while typing). Since pressing TAB on a new entry (one with no body) doesn't do anything right now, I think TAB in that case should do what M-S- right does. This little snippet achieves that: (defun org-indent-empty-items (arg) (when (eq arg 'empty) (goto-char (line-end-position)) (cond ((org-at-item-p) (org-indent-item 1)) ((org-on-heading-p) (org-demote-subtree) (add-hook 'org-pre-cycle-hook 'org-indent-empty-items) Hi John, this is not a bad idea, but it is a bit unstable because the definition of empty entry is a bit unstable, it depends on empty lines and how they are treated. An alternative would be to activate this special feature only immediately after starting a new entry, either by looking at last-command, or, maybe better, by doing this in entries which only have the stars and maybe a TODO keyword, but but no text yet. Then, TAB could even walk you through a number of indentations, like child, and then parent, grandparent,..., all the way to top level, and then back to the initial level. This actually does work now, both in empty headlines, and in empty plain list items. I find it *very* convenient. - Carsten This also works for regular lists. John ___ 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 - Carsten - 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] forward date/time in table by S-return doe only affect first timestamp
Carsten, with [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] I can get the time difference between the two stamps vi C-u C-c C-y, which I do need to calculate further numbers in my table. With [2009-11-03 Di 09:25-10:25] I do not seem to get this! Would be great by the way to get it from there also! Mit freundlichen Grüßen / Best Regards Rainer Stengele __|___ | Dipl. Inf. (Univ.) Rainer Stengele | Technical Control - System Administration | | email: rainer.steng...@diplan.de | voice/fax: ++49-9131-7778-85/88 | WWW : http://www.diplan.de | | diplan GmbH | Wetterkreuz 27 | 91058 Erlangen, Germany Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Carsten Dominik schrieb: On Nov 3, 2009, at 10:20 AM, Rainer Stengele wrote: Having a table like this | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | | ^ pointer positioned at ^, pressing S-return I get | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | [2009-11-04 Mi 09:25]--[2009-11-03 Di 10:25] | (Di = Tuesday, Mi = Wednesday ...) What I would like to see is this: | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | [2009-11-04 Mi 09:25]--[2009-11-04 Mi 10:25] | that is, both timestamps are forwarded one day automatically. Is there any chance to configure this? If not, do others also think this would make sense? Hi Rainer, why don't you write [2009-11-03 Di 09:25-10:25] ??? - Carsten Rainer resolution dtection event log asp.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 - 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
[Orgmode] org asks questions about open clocks
Hi! Recently org (from git) has started asking my questions about open clocks in my tasks whenever I try to clock in on a task. While I appreciate it doing maintenance, the question whether I want to (k)eep, (c)ancel, or (s)ubtract comes at a moment where it is hardwired into my brain to press C-x C-s, which cancels the question. (I do C-c i to clock in from buffer, or I to clock in from agenda view. The corresponding entry is then automatically logged into my diary.org file, which I then save.) Maybe it's my hook: , ;;; A small function to insert the currently active task into the ;;; current buffer, ported from planner-log (defun org-log () (interactive) (save-excursion (org-clock-goto) (let ((link-string (org-store-link nil))) (find-file tagebuch) (goto-char (point-max)) (insert - ) (insert link-string) (newline t (defadvice org-clock-in (after org-log-activity) (org-log)) (ad-activate 'org-clock-in) ` The variable `tagebuch' contains the name of the logfile. Can I simply turn off that question and call it manually from time to time? -- Friedrich Delgado Friedrichs frie...@nomaden.org TauPan on Ircnet and Freenode ;) ___ 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] FR: org-agenda-skip-deadline-if-scheduled
Damn :-) In that case, would it be easier to support boolean AND in `org-agenda-skip-if' or in a similarly named function? Or is there another workaround you can think of? Thanks! On Tue, Nov 03, 2009 at 07:21:15AM +0100, Carsten Dominik wrote: This is, unfortunately, hard because it depends on the sequence in which scheduled and deadline are collected. - Carsten On Nov 2, 2009, at 2:40 PM, Adam Spiers wrote: Hi all, Quick feature suggestion: I just discovered `org-agenda-skip-scheduled-if-deadline-is-shown', which is a very nice option, but I actually want the opposite, i.e. `org-agenda-skip-deadline-if-scheduled'. The reason for this is that if I have missed a deadline (sadly all too common), I want to be able to schedule it for tomorrow and not have it show in today's agenda, otherwise when planning today's activities, the total effort estimate for today gets over-inflated by the deadlined task. If `org-agenda-skip-if' supported boolean AND of the conditions then I could have achieved this by customising all my agenda views, but a global setting would be more convenient. Thanks, Adam ___ 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] forward date/time in table by S-return doe only affect first timestamp
On Nov 3, 2009, at 10:44 AM, Rainer Stengele wrote: Carsten, with [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] I can get the time difference between the two stamps vi C-u C-c C-y, which I do need to calculate further numbers in my table. With [2009-11-03 Di 09:25-10:25] I do not seem to get this! Would be great by the way to get it from there also! It is kind of tricky to change this, so i is not going to happen now :-( - Carsten Mit freundlichen Grüßen / Best Regards Rainer Stengele __|___ | Dipl. Inf. (Univ.) Rainer Stengele | Technical Control - System Administration | | email: rainer.steng...@diplan.de | voice/fax: ++49-9131-7778-85/88 | WWW : http://www.diplan.de | | diplan GmbH | Wetterkreuz 27 | 91058 Erlangen, Germany Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e- mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Carsten Dominik schrieb: On Nov 3, 2009, at 10:20 AM, Rainer Stengele wrote: Having a table like this | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | | ^ pointer positioned at ^, pressing S-return I get | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | [2009-11-04 Mi 09:25]--[2009-11-03 Di 10:25] | (Di = Tuesday, Mi = Wednesday ...) What I would like to see is this: | [2009-11-03 Di 09:25]--[2009-11-03 Di 10:25] | | [2009-11-04 Mi 09:25]--[2009-11-04 Mi 10:25] | that is, both timestamps are forwarded one day automatically. Is there any chance to configure this? If not, do others also think this would make sense? Hi Rainer, why don't you write [2009-11-03 Di 09:25-10:25] ??? - Carsten Rainer resolution dtection event log asp.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 - Carsten - 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] org-show-effort ideas
On Tue, Nov 03, 2009 at 07:47:48AM +0100, Carsten Dominik wrote: On Nov 2, 2009, at 2:49 PM, Adam Spiers wrote: I wanted an easy way to see an effort estimate when not in column view, so I wrote this: (defun org-show-effort () Shows the effort of the entry at the current point. (interactive) (let ((effort (org-entry-get (point) org-effort-property))) (message (if effort (format Effort is %s effort) No effort defined However it would be nice to have a keystroke that would do this in agenda view. Another nice touch would be to change 'e' which currently allows you to edit the effort from agenda view, so that the prompt for the new value shows the existing effort estimate if there is one. Admit it: you did not try this :- The prompt of e already does to this, and when you reply with RET, the same value stays. I guess this might be good enough for showing the effort as well? Otherwise: Propose a key! I definitely did try it, and I just did another 'git pull' and tried again, and I still don't see it, so I guess we're talking about different things ;-) To clarify, I'm referring to showing effort via a single keystroke when on a todo line in the *Org Agenda* buffer. Currently, when I hit e on a todo which has an existing Effort property value set, my minibuffer prompt shows Value: . The same applies with C-c C-x e in a normal .org file buffer. The only free single keystroke I could find is ' which actually has a reasonable mnemonic: imagine a contractor providing you with a quote estimating the effort for a task. ___ 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] shortcut key for switching between custom agenda viewss
Agreed, and so I will change my global binding for `org-agenda'. Nevertheless it will end up requiring multiple keystrokes, so it would be nice if there was also a single keystroke bound to this. My preference would be 'r' since 'g' already covers `org-agenda-redo' and is the conventional emacs choice for refreshing the display, but I suspect that several users might already be accustomed to using 'r' rather than 'g'. On Tue, Nov 03, 2009 at 07:30:08AM +0100, Carsten Dominik wrote: Hi Adam, I think it does make a lot of sense to have a *global* key to run a new agenda command. Keys like `C-c C-a' belong to the major mode, keys like `C-c a' belong to you and therefore are yours to set to global commands. If you choose `C-c C-a', you will have to overwrite this key in all major modes where it gets in your way. On Nov 2, 2009, at 3:05 PM, Adam Spiers wrote: Within a custom agenda view, the key 'e' used to allow returning to the *Agenda Commands* buffer to choose another agenda view, but this no longer works. I know that executing `org-agenda' produces the same view, but I have it bound to C-c C-a which in the agenda view is overloaded to `org-attach'. I can rethink my key binding strategy (IIRC most people bind `org-agenda' to C-c a?), but it would be nice if there was a single keystroke to achieve the same by default. ___ 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] suggestion: automatically recording entry creation date
2009/11/3 Adam Spiers orgm...@adamspiers.org: Ilya Shlyakhter (ilya_...@alum.mit.edu) wrote: A frequently-needed task is to find recently created entries. Right now I do this by manually pasting a date into each entry, and using the timeline agenda. Maybe, there are better ways? E.g. have the option to automatically record a property, Creation-date, when an entry is created. There would be much clutter if every entry had a :PROPERTIES: line. But maybe there could be an option to hide the :PROPERTIES: lines completely, unless it contained some user-defined properties. Or, creation date could be stored as a text property, to avoid clutter, for long-running emacs sessions. But it would be lost when the file is closed. Maybe at file-closing time it could be converted to a normal property in the :PROPERTIES: drawer. Or maybe there are other options? This would be useful to me too. It would be valuable not just for finding recently created ones, but for sorting any generated list of entries by creation date. This would for example make it easier to ensure that entries don't get stale with age. Bernt's approach is nice, but I agree that a completely clutter-free solution (i.e. :PROPERTIES: drawers completely hidden by default) would be extremely nice. I have a :CREATED: LOGBOOK property set up in all of my remember templates: (Task ?t * TODO %?\n:LOGBOOK:\n:CREATED:%U:\n:END:\n ~/org/0_inbox.org TASKS) Tim. ___ 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] Problem with sparse tree not displaying results
Hi Carsten I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows XP Pro SP3. I've just noticed that creating a sparse tree with `C-c / r' is not displaying matches in my org file. It hasn't always been this way, I *think* things were working OK around 6.29, but it's hard to be sure. I've managed to pare my org file down to a few lines that demonstrate the problem === * Customers ** Customer A *** Billing Support during September :ARCHIVE: ** Customer B 07964-xx *** Problem with Laptop ** Customer C *** Current Details *** Test of 07968 showing up ** Customer D 01673-xx 07968-xx *** Laptop slowdown fix spoolsv.exe at 99% === Setting a sparse tree by regexp 0796[48] returns 3 match(es) for regexp 0796[48], but the tree doesn't expand at the hit locations. If I manually expand the tree at the locations of the hits, the results are highlighted. It makes no difference if the hits are in a headline or in notes beneath a headline. Remove the ARCHIVE tag from the Support during September headline with `C-c C-x a' and redo the sparse tree. Everything now appears expanded as I'd expect. The values of my org-show variables are org-show-hierarchy-above is a variable defined in `org.el'. Its value is ((default . t)) org-show-following-heading is a variable defined in `org.el'. Its value is ((default)) org-show-siblings is a variable defined in `org.el'. Its value is ((default) (isearch t)) org-show-entry-below is a variable defined in `org.el'. Its value is ((default)) -- Chris Randle ___ 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] key bindings for quickly setting effort estimates
Would it be possible to add something like this to the org-fast-tag-selection-include-todo interface? possibly with a list of properties to select from: org-fast-tag-selection-include-properties '((EFFORT_All ?e) (FOCUS_All ?f)) So to select effort of 0:20 i'd type e 2 or similar? Tim. 2009/11/3 Carsten Dominik carsten.domi...@gmail.com: We do have `org-set-effort', bound to `C-c C-x e'. You can use a prefix arg to get to a value directly. But your approach is faster, if you have to do this a lot. - Carsten On Nov 2, 2009, at 2:52 PM, Adam Spiers wrote: I found myself needing a quick way of setting effort estimates outside column view, and came up with the following: ;; Zero effort is last (10th) element of global Effort_ALL property ;; so that we get zero effort when pressing '0' in the Effort column ;; in Column view, since this invokes `org-set-effort' with arg 0, ;; which stands for the 10th allowed value. (let ((effort-values (org-property-get-allowed-values nil org-effort-property))) (dotimes (effort-index 10) (let* ((effort (nth effort-index effort-values)) (key-suffix (number-to-string (if (= effort-index 9) 0 (1+ effort-index (fn-name (concat org-set-effort- (number-to-string effort-index))) (fn (intern fn-name))) ;; (message Binding M-o %s to %s which sets effort to %s ;; key-suffix fn-name effort) (fset fn `(lambda () ,(format Sets effort to %s. effort) (interactive) (org-set-effort ,(1+ effort-index (global-set-key (concat \eo key-suffix) fn This assumes that Effort_ALL has 9 non-zero effort values, which in my case is conveniently true: (0:10 0:20 0:30 1:00 2:00 3:00 4:00 8:00 16:00 0) Hope this is of interest. Adam ___ 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 - 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 ___ 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] Problem with sparse tree not displaying results
--- Mar 3/11/09, Chris Randle ch...@amlog.co.uk ha scritto: I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows XP Pro SP3. I've just noticed that creating a sparse tree with `C-c / r' is not displaying matches in my org file. Org-mode version 6.32trans (2009-11-03 0:45) GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Windows XP Pro SP3 I confirm this. If the :ARCHIVE: is removed the tree is displayed. cheers, Giovanni ___ 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: org-show-effort ideas
Hey org-mode, Adam Spiers orgm...@adamspiers.org writes: I definitely did try it, and I just did another 'git pull' and tried again, and I still don't see it, so I guess we're talking about different things ;-) To clarify, I'm referring to showing effort via a single keystroke when on a todo line in the *Org Agenda* buffer. Currently, when I hit e on a todo which has an existing Effort property value set, my minibuffer prompt shows Value: . The same applies with C-c C-x e in a normal .org file buffer. When I press 'e' in an agenda on an item that has the Effort property value set, I get a minibuffer prompt that shows Value [5]: when the Effort value is 5. This is with a git version from Sunday morning. Check the source of the function org-set-effort, it will show you that it concats [ cur ], where cur is the current Effort prop value. br, benny ___ 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] [babel] options to the example directive
I am finding org-babel incredibly useful in the preparation of documentation for didactic purposes. Kudos to the developers! I have two queries that I cannot seem to find an answer to in the documentation: 1. is there any way to specify arguments that should be generated for the #+begin_example line for the results of a babel invocation? Specifically, I would like to append automatically, for instance, arguments such as -t -w 100 -h 20 so that the export to HTML output is presented in a text box that has scroll bars etc. 2. even if I manually put the options on the begin_example line, the export to HTML creates a 'pre class=example' directive instead of what I would expect: 'textarea cols=40 rows=10' or something similar. I don't understand why exporting a file without babel constructs should behave differently from exporting with babel. Should a begin_example section not export the same in both cases? I am using org-mode and babel up to date as of this morning. Any pointers highly welcome! Thanks, eric ___ 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: Problem with sparse tree not displaying results
[cc list culled] Bernt Hansen be...@norang.ca writes: git bisect identifies the following commit as causing the problem: 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc is the first bad commit commit 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc Author: Carsten Dominik carsten.domi...@gmail.com Date: Fri Sep 18 13:53:23 2009 +0100 Make testing for headline independent of visibility :04 04 ba0fd654b88682f598ad22ec2bc1a092e7bbc6cc d3abe9044257023f6000a88dc697ebdf7f650fa8 Mlisp In case anyone is interested I used the following setup to find it: In my org-mode git repository I checked out master and ran $ make clean # to remove compiled files $ minimal-emacs /tmp/foo.org -l /tmp/exec.el -f foo # this is my test case and verified that it beeped (showing failure) $ git checkout release_6.29 $ minimal-emacs /tmp/foo.org -l /tmp/exec.el -f foo This works (no beep) Then $ git bisect start master release_6.29 and for each checked out version $ minimal-emacs /tmp/foo.org -l /tmp/exec.el -f foo If it fails do $ git bisect bad otherwise do $ git bisect good rinse and repeat until the bad commit is identified. There are 671 commits between release_6.29 and master and this finds the bad commit by looking at only 10 commits (12 if you count the initial test of master and release_6.29) ,[ git bisect log ] | $ git bisect log | # bad: [5a24f6c9d2f0b479f0c7970607ccbddf00feb861] Keep compiler happy | # good: [d67a9be8a20c270aaa8ac3bbd562fa458567c452] Release 6.29 | git bisect start 'master' 'release_6.29' | # good: [8ba39da7e9debf3862c80f8066cc9c15d5e47d3c] [BUG FIX] DONE non-orgtbl formatted lists | git bisect good 8ba39da7e9debf3862c80f8066cc9c15d5e47d3c | # bad: [d5f8d47192d9b5a67a6eb687517a41413d005dc9] Improve documentation for MobileOrg | git bisect bad d5f8d47192d9b5a67a6eb687517a41413d005dc9 | # good: [3f640c191a4789b24a7589e04c4f63ec16444abb] outline-end-of-subtree: Bugfix. | git bisect good 3f640c191a4789b24a7589e04c4f63ec16444abb | # good: [0ad03e87b81bd92e78c8ba6bc8febc2e772021dd] Merge commit 'origin/master' | git bisect good 0ad03e87b81bd92e78c8ba6bc8febc2e772021dd | # good: [6f9644682bfc53fc11229a3c5747a424feb28b8a] org-babel now explicitly requires org-table | git bisect good 6f9644682bfc53fc11229a3c5747a424feb28b8a | # good: [8c2a918fd97716a21a7e1fd8e7e258ec048f3979] Merge branch 'MobileOrg' | git bisect good 8c2a918fd97716a21a7e1fd8e7e258ec048f3979 | # good: [2e8ece9219f0164b5f9c1abff1b65119089bef42] New STARTUP keyword `showeverything' | git bisect good 2e8ece9219f0164b5f9c1abff1b65119089bef42 | # bad: [3492407250f4c2b9a65be7603c46dcc2e68132e5] Rename the Mobileorg capture file | git bisect bad 3492407250f4c2b9a65be7603c46dcc2e68132e5 | # bad: [525b0148c5d53280c46b3ecfb2d2adcfcbf999bc] Make testing for headline independent of visibility | git bisect bad 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc | # good: [762136b25c5ba363ea210742aab85ae34b9ecb93] Fix problem with insertion of statistics cookies at visibility boundaries | git bisect good 762136b25c5ba363ea210742aab85ae34b9ecb93 ` -Bernt ,[ /tmp/foo.org ] | | * Customers | ** Customer A | *** Billing | Support during September :ARCHIVE: | ** Customer B |07964-xx | | *** Problem with Laptop | ** Customer C | *** Current Details | | *** Test of 07968 showing up | ** Customer D |01673-xx |07968-xx | | *** Laptop slowdown fix | spoolsv.exe at 99% | ` ,[ /tmp/exec.el ] | (defun foo () | (interactive) | (org-occur 0796[48]) | (next-line)) ` ,[ ~/bin/minimal-emacs ] | #!/bin/sh | emacs -q -l ~/minimal.emacs $* ` ,[ ~/minimal.emacs ] | (add-to-list 'load-path (expand-file-name ~/git/org-mode/lisp)) | (add-to-list 'auto-mode-alist '(\\.\\(org\\|org_archive\\|txt\\)$ . org-mode)) | (require 'org-install) | | (global-set-key \C-cl 'org-store-link) | (global-set-key \C-ca 'org-agenda) | (global-set-key \C-cb 'org-iswitchb) ` ___ 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-babel-tangle xml text
Hi all, I am quite new to the wonderful world of org-mode and org-babel. Right now I am using org-mode to make exercises for a semantic web programming course. org-mode and its friends give me a efficient writing tool, a presentation tool, export for web, export for print and a literate programming tool. That's nice! But I have a question. I would like to include many code snippets written in RDF (XML/RDF, N3), which are languages not supported by org-babel [1], in my document, and I would like to use the Edit the source code example at point in its native mode-feature of org-mode and the tangle-feature of org-babel. Now I'm specifying the language as css (see below) since it is supported by org-babel and does not add any comments to output. This works for tangling, but not for native editing. Is there a way I can add xml and n3 to the list of supported languages? These languages does not need interpretation, so I'm thinking it should be quite easy to add. I have fumblingly tried (add-to-list 'org-babel-tangle-langs '(xml)) and (add-to-list 'org-babel-tangle-langs '(css xml)) but it as no effect. Below is a sample of what I am currently using. Running org-babel-tangle gives me the correct foaf.rdf file. I would like to swap 'css' with 'xml' so that the code can be edited and understood as xml. #+SRCNAME: foaf-main #+BEGIN_SRC css :tangle foaf.rdf rdf:RDF foaf-rel /rdf:RDF #+END_SRC #+SRCNAME: foaf-rel #+BEGIN_SRC css :tangle no foaf:knows foaf:Person rdf:ID=timbl /foaf:knows #+END_SRC I hope this was clear -- and that someone can help. Thanks! Martin [1] http://orgmode.org/worg/org-contrib/babel/org-babel.php#reference-and-documentation ___ 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: Problem with sparse tree not displaying results
Giovanni Ridolfi giovanni.rido...@yahoo.it writes: --- Mar 3/11/09, Chris Randle ch...@amlog.co.uk ha scritto: I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows XP Pro SP3. I've just noticed that creating a sparse tree with `C-c / r' is not displaying matches in my org file. Org-mode version 6.32trans (2009-11-03 0:45) GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Windows XP Pro SP3 I confirm this. If the :ARCHIVE: is removed the tree is displayed. git bisect identifies the following commit as causing the problem: 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc is the first bad commit commit 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc Author: Carsten Dominik carsten.domi...@gmail.com Date: Fri Sep 18 13:53:23 2009 +0100 Make testing for headline independent of visibility :04 04 ba0fd654b88682f598ad22ec2bc1a092e7bbc6cc d3abe9044257023f6000a88dc697ebdf7f650fa8 M lisp -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] Logging rescheduled tasks
Hi all, I'm wondering if anyone logs rescheduled tasks with org-mode... As I find myself sometimes scheduling tasks for a future date, but then on the day not having the capacity to do them. In these situations I just reschedule them, but it'd be nice to record the dates for which an item was originally scheduled in the LOGBOOK. Has anyone configured org-mode to do this? lognotedone only appears to log state changes (rather than schedule/deadline changes). R. ___ 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-babel-tangle xml text
Martin G. Skjæveland mart...@ifi.uio.no writes: Is there a way I can add xml and n3 to the list of supported languages? These languages does not need interpretation, so I'm thinking it should be quite easy to add. I have fumblingly tried (add-to-list 'org-babel-tangle-langs '(xml)) and (add-to-list 'org-babel-tangle-langs '(css xml)) but it as no effect. Hi Martin, The attached org-mode file contains instructions for adding xml and n3 to org-babel and org-babel-tangle. Note that there may be another step if the major mode for n3 is not n3-mode. Best -- Eric * xml and n3 introduce org-babel to =xml= and =n3= #+begin_src emacs-lisp :results silent (org-babel-add-interpreter xml) (org-babel-add-interpreter n3) #+end_src if say =n3= should be edited using =xml-mode=, then evaluate the following adding this pair to =org-src-lang-modes= #+begin_src emacs-lisp :results silent (add-to-list 'org-src-lang-modes '(n3 . xml)) #+end_src inform org-babel-tangle of their existence and file extensions #+begin_src emacs-lisp :results silent (add-to-list 'org-babel-tangle-langs '(xml xml nil t)) (add-to-list 'org-babel-tangle-langs '(n3 n3 nil t)) #+end_src #+begin_src xml :tangle example first /first #+end_src #+begin_src n3 :tangle example n3 stuff #+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] Visual representation of clocked time
Hi Gennady, thanks for sharing! - Carsten On Nov 2, 2009, at 10:16 PM, Gennady Trafimenkov wrote: Hello everyone, I was thinking that it would be nice to have a visual representation of clocked time. It could give you a quick overview of when and how long you had been working on a particular task. For example, you have a subtree like this: ** very important task CLOCK: [2009-10-03 Sat 22:02]--[2009-10-03 Sat 23:21] = 1:19 CLOCK: [2009-10-04 Sun 23:53]--[2009-10-05 Mon 02:10] = 2:17 CLOCK: [2009-10-06 Tue 14:10]--[2009-10-06 Tue 14:50] = 0:40 CLOCK: [2009-10-07 Wed 21:25]--[2009-10-08 Thu 00:21] = 2:56 CLOCK: [2009-10-13 Tue 01:52]--[2009-10-13 Tue 02:52] = 1:00 CLOCK: [2009-10-13 Tue 20:58]--[2009-10-13 Tue 23:32] = 2:34 CLOCK: [2009-10-14 Wed 23:20]--[2009-10-15 Thu 00:55] = 1:35 CLOCK: [2009-10-16 Fri 14:14]--[2009-10-16 Fri 14:53] = 0:39 some text here You press a combination of keys and get a table like this: |---+-+-+-+-+-+-+-+--| | Week Starting | Mon | Tue | Wed | Thu | Fri | Sat | Sun | tt,h | |---+-+-+-+-+-+-+-+--| |2009-09-28 | | | | | | 79 | 137 | 3.6 | |2009-10-05 | | 40 | 176 | | | | | 3.6 | |2009-10-12 | | 214 | 95 | | 39 | | | 5.8 | |---+-+-+-+-+-+-+-+--| The table contains total number of clocked minutes for every day and total number of hours for every week. If I could write such a thing in Emacs lisp, I would do that. But unfortunately I can't. So, I wrote a python script and small function in lisp to call it. I am posting them here in hope that it might be useful for someone. Org-mode is an excellent thing. Thank you! Best regards, Gennady Trafimenkov === === (defun gt/org-get-clocked-time-stat-on-subtree () Calculate nice table with statistics of clocked time. It puts results into buffer '*clocked-time-stat*'. When called with C-u, it copies results into the kill ring. GNU General Public License version 3 or later. (interactive) (let ((outputbuffer *clocked-time-stat*)) (save-excursion (outline-mark-subtree) (shell-command-on-region (region-beginning) (region-end) python ~/bin/create-clock-table.py outputbuffer) (if (equal current-prefix-arg '(4)) (if (get-buffer outputbuffer) (progn (with-current-buffer outputbuffer (mark-whole-buffer) (kill-new (filter-buffer-substring (region-beginning) (region-end)) === create-clock-table.py == #/usr/bin/env python # # GNU General Public License version 3 or later # # This script extracts all record of this kind from the standart input: # #CLOCK: [2009-10-17 Sat 21:47]--[2009-10-17 Sat 23:10] = 1:23 # # then aggregates data and build table with statistics like this: # |---+-+-+-+-+-+-+-+--| # | Week Starting | Mon | Tue | Wed | Thu | Fri | Sat | Sun | Tot. | # |---+-+-+-+-+-+-+-+--| # |2009-08-03 | | | | | | | |0 | # |2009-08-10 | | | | | | | |0 | # |2009-08-17 | | | | 75 | 60 | 60 | 15 | 210 | # |2009-08-24 | 75 | 60 | 60 | 70 | | | | 265 | # |2009-08-31 | | 10 | | | | | | 10 | # |---+-+-+-+-+-+-+-+--| import sys import re import datetime if __name__ == '__main__': dailyStat = {} # we are going to extract records like: # CLOCK: [2009-10-17 Sat 21:47]--[2009-10-17 Sat 23:10] = 1:23 timeExtractor = re.compile('^\s*CLOCK: \[(\d{4})-(\d\d)-(\d\d).*\]--\[.*\] =\s+(\d+):(\d\d)') for line in sys.stdin.readlines(): match = timeExtractor.match(line) if match: year, month, day = int(match.group(1)), int(match.group(2)), int(match.group(3)) hours, minutes = int(match.group(4)), int(match.group(5)) date = datetime.date(year, month, day) minutes += hours * 60 # print date, minutes dailyStat.setdefault(date, 0) dailyStat[date] += minutes if len(dailyStat) == 0: sys.exit(0) minDate = min(dailyStat.keys()) maxDate = max(dailyStat.keys()) firstWeek = minDate - datetime.timedelta(minDate.weekday()) lastWeek = maxDate - datetime.timedelta(maxDate.weekday()) # calculate weekly stat
Re: [Orgmode] possible patch: org-edit-src-code breaking window configuration
Dan Davison davi...@stats.ox.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: Hi, I've noticed that org-edit-src breaks my window configuration. The patch below fixes this, but introduces a new global variable, and might not have sensible behavior if multiple source-code blocks are edited at once. Even so I personally prefer it's behavior to the current default behavior of removing all windows from the current frame. thoughts? -- Eric Nice. I think it's a desirable improvement to my changes. I've had a quick test (with all 4 possible values of org-src-window-setup) and it seemed to work as hoped. I guess the new variable should be defvar'd as nil in org-edit-src? There are already a number of other not-for-users ^^^ org-src.el Sorry, typo. I was just too slow with C-g... global variables used in a similar way in org-src, so it won't be out-of-place. Dan diff --git a/lisp/org-src.el b/lisp/org-src.el index eba8ef3..2f578b9 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -193,6 +193,7 @@ to the correct language mode. When done, exit with \\[org-edit-src-exit]. This will remove the original code in the Org buffer, and replace it with the edited version. (interactive) + (setq org-edit-src-saved-temp-window-config (current-window-configuration)) (let ((line (org-current-line)) (col (current-column)) (case-fold-search t) @@ -574,7 +575,10 @@ the language, a switch telling if the content should be in a single line. (org-goto-line (1- (+ (org-current-line) line))) (org-move-to-column (if preserve-indentation col (+ col total-nindent delta))) (move-marker beg nil) -(move-marker end nil))) +(move-marker end nil)) + (when org-edit-src-saved-temp-window-config +(set-window-configuration org-edit-src-saved-temp-window-config) +(setq org-edit-src-saved-temp-window-config nil))) (defun org-edit-src-save () Save parent buffer with current state source-code buffer. ___ 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] Re: org-show-effort ideas
Benjamin Andresen (be...@in-ulm.de) wrote: Adam Spiers orgm...@adamspiers.org writes: I definitely did try it, and I just did another 'git pull' and tried again, and I still don't see it, so I guess we're talking about different things ;-) To clarify, I'm referring to showing effort via a single keystroke when on a todo line in the *Org Agenda* buffer. Currently, when I hit e on a todo which has an existing Effort property value set, my minibuffer prompt shows Value: . The same applies with C-c C-x e in a normal .org file buffer. When I press 'e' in an agenda on an item that has the Effort property value set, I get a minibuffer prompt that shows Value [5]: when the Effort value is 5. This is with a git version from Sunday morning. Check the source of the function org-set-effort, it will show you that it concats [ cur ], where cur is the current Effort prop value. Thanks for the pointer - it seems that the [ cur ] is only included when (org-property-get-allowed-values nil prop 'table) is nil - and in my case I have a global Effort_ALL property set which means that this is never the case. So I think this is a bug which can be trivially fixed by assigning the prompt string in the let* variable list, and then using it in both invocations of org-completing-read. ___ 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] Patch to fix bug where remember template dies w/ non-filename buffer name
Hi, So I ran into an annoying bug where if you have an orgmode remember template like: (Test ?e * foo \n %^{Bar}p ~/org/test.org Test) Currently, if either test.org is not open, or test.org is open but the buffer is named something else (say, test.org2), orgmode will die when asking for the property (in this case, Bar). The issue was that in the org-remember-apply-template function, it would attempt to get the buffer like so: (get-buffer (file-name-nondirectory file)) in other words, it would try to get the buffer with the name of test.org... no matter what that buffer was, if exists, or if it was even called that. I've attached a patch that fixes the problem. Thanks, - Christopher Allan Webber diff --git a/lisp/org-remember.el b/lisp/org-remember.el index ae83bec..193eaec 100644 --- a/lisp/org-remember.el +++ b/lisp/org-remember.el @@ -586,6 +586,8 @@ to be run from that hook to function properly. (let* ((prop (org-substring-no-properties prompt)) (pall (concat prop _ALL)) + (file-buffer (or (find-buffer-visiting file) +(find-file-noselect file))) (allowed (with-current-buffer (or (find-buffer-visiting file) (current-buffer)) @@ -593,7 +595,7 @@ to be run from that hook to function properly. (cdr (assoc pall org-global-properties)) (cdr (assoc pall org-global-properties-fixed) (existing (with-current-buffer - (get-buffer (file-name-nondirectory file)) + file-buffer (mapcar 'list (org-property-values prop (propprompt (concat Value for prop : )) (val (if allowed ___ 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] FR: org-agenda-skip-deadline-if-scheduled
On Nov 3, 2009, at 11:49 AM, Adam Spiers wrote: Damn :-) In that case, would it be easier to support boolean AND in `org-agenda-skip-if' or in a similarly named function? Or is there another workaround you can think of? Well, the easiest work-round is to accept that a deadline visible in your agenda is, in a way, equivalent to having it scheduled for that day. There is no Boolean END in the skipper, but you can write your own function that calls various instances of the skipper and combine the results with AND. HTH - Carsten Thanks! On Tue, Nov 03, 2009 at 07:21:15AM +0100, Carsten Dominik wrote: This is, unfortunately, hard because it depends on the sequence in which scheduled and deadline are collected. - Carsten On Nov 2, 2009, at 2:40 PM, Adam Spiers wrote: Hi all, Quick feature suggestion: I just discovered `org-agenda-skip-scheduled-if-deadline-is-shown', which is a very nice option, but I actually want the opposite, i.e. `org-agenda-skip-deadline-if-scheduled'. The reason for this is that if I have missed a deadline (sadly all too common), I want to be able to schedule it for tomorrow and not have it show in today's agenda, otherwise when planning today's activities, the total effort estimate for today gets over-inflated by the deadlined task. If `org-agenda-skip-if' supported boolean AND of the conditions then I could have achieved this by customising all my agenda views, but a global setting would be more convenient. Thanks, Adam ___ 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 - 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] shortcut key for switching between custom agenda viewss
On Nov 3, 2009, at 1:15 PM, Adam Spiers wrote: Agreed, and so I will change my global binding for `org-agenda'. Nevertheless it will end up requiring multiple keystrokes, so it would be nice if there was also a single keystroke bound to this. My preference would be 'r' since 'g' already covers `org-agenda-redo' and is the conventional emacs choice for refreshing the display, but I suspect that several users might already be accustomed to using 'r' rather than 'g'. Yes, we don't really have a single key stroke left, in particular as this command is quite reachable using the normal global key. Please, just go ahead and bind it for your own use to any key that you find convenient. - Carsten On Tue, Nov 03, 2009 at 07:30:08AM +0100, Carsten Dominik wrote: Hi Adam, I think it does make a lot of sense to have a *global* key to run a new agenda command. Keys like `C-c C-a' belong to the major mode, keys like `C-c a' belong to you and therefore are yours to set to global commands. If you choose `C-c C-a', you will have to overwrite this key in all major modes where it gets in your way. On Nov 2, 2009, at 3:05 PM, Adam Spiers wrote: Within a custom agenda view, the key 'e' used to allow returning to the *Agenda Commands* buffer to choose another agenda view, but this no longer works. I know that executing `org-agenda' produces the same view, but I have it bound to C-c C-a which in the agenda view is overloaded to `org-attach'. I can rethink my key binding strategy (IIRC most people bind `org-agenda' to C-c a?), but it would be nice if there was a single keystroke to achieve the same by default. ___ 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 - 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] [babel] options to the example directive
Eric S Fraga ucec...@ucl.ac.uk writes: I am finding org-babel incredibly useful in the preparation of documentation for didactic purposes. Kudos to the developers! I have two queries that I cannot seem to find an answer to in the documentation: 1. is there any way to specify arguments that should be generated for the #+begin_example line for the results of a babel invocation? Not currently. When exporting the *code* contained in a block, then any switches placed after begin_src are reinstated in the output code block. I.e. begin_src XXX switches :exports code ... becomes begin_src XXX switches ... However when a begin_example block is created as *results*, it is created without any switches. I'm tending to think that it would be inappropriate to simply reinstate the src block switches in the results block. How do you suggest this option should be made available? Perhaps a new header arg, or as a variable org-babel-results-block-switches, or both? Note that you will need to set org-babel-min-lines-for-block-output to zero in order to guarantee that output is enclosed in a begin_example block. Otherwise small chunks of output will be made verbatim by prepending lines with ': ', in which case (I believe) the -t switch is unavailable. Specifically, I would like to append automatically, for instance, arguments such as -t -w 100 -h 20 so that the export to HTML output is presented in a text box that has scroll bars etc. 2. even if I manually put the options on the begin_example line, the export to HTML creates a 'pre class=example' directive instead of what I would expect: 'textarea cols=40 rows=10' or something similar. I don't understand why exporting a file without babel constructs should behave differently from exporting with This is a consequence of the same issue: org-exp-blocks preprocesses your src block in a pre-export buffer (a copy of the original), hands it to org-babel, which creates the results block (overwriting the version where you had manually inserted switches), and that results block lacks any switches. Dan babel. Should a begin_example section not export the same in both cases? I am using org-mode and babel up to date as of this morning. Any pointers highly welcome! Thanks, eric ___ 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] MobileOrg 1.0 for iPhone/iPod Touch now available
2009/11/3 Richard Moreland r...@ncogni.to: Hi all, MobileOrg 1.0 is now available in the iTunes AppStore: http://bit.ly/1kpHqg Documentation (including a screencast demonstrating the app) is available on the website at http://mobileorg.ncogni.to. Many thanks to Carsten and all the beta testers who helped get it ready for release. Feel free to contact me with any questions or support requests. If there is a question related to Org-mode integration, CC: Carsten too, he's the expert on that side of things. Be sure to use Org-mode 6.32 or later. Hope you all enjoy. Thanks, Richard Very, very nice! And a well presented screencast to boot! Almost makes me want an iphone :-) R. ___ 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] MobileOrg 1.0 for iPhone/iPod Touch now available
Richard Moreland (r...@ncogni.to) wrote: Hi all, MobileOrg 1.0 is now available in the iTunes AppStore: http://bit.ly/1kpHqg Documentation (including a screencast demonstrating the app) is available on the website at http://mobileorg.ncogni.to. Many thanks to Carsten and all the beta testers who helped get it ready for release. Feel free to contact me with any questions or support requests. If there is a question related to Org-mode integration, CC: Carsten too, he's the expert on that side of things. Be sure to use Org-mode 6.32 or later. Looks like fantastic work, congratulations! Thank heavens I finally got Ubuntu/emacs/orgmode/git running natively on my Android phone, otherwise I'd be green with envy ;-) ___ 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] Logging rescheduled tasks
Rick Moynihan (rick.moyni...@gmail.com) wrote: Hi all, I'm wondering if anyone logs rescheduled tasks with org-mode... As I find myself sometimes scheduling tasks for a future date, but then on the day not having the capacity to do them. In these situations I just reschedule them, but it'd be nice to record the dates for which an item was originally scheduled in the LOGBOOK. Agreed - that would be nice. I reschedule very frequently (alas...) ___ 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: Problem with sparse tree not displaying results
Hi Bernt, this is an interesting piece of information, thanks. That commit did fix bug, but apparently exposed a sleeping bug. Everything should be working now. - Carsten On Nov 3, 2009, at 3:47 PM, Bernt Hansen wrote: Giovanni Ridolfi giovanni.rido...@yahoo.it writes: --- Mar 3/11/09, Chris Randle ch...@amlog.co.uk ha scritto: I'm using Org-mode 6.32b under GNU Emacs 22.1.1 and Windows XP Pro SP3. I've just noticed that creating a sparse tree with `C-c / r' is not displaying matches in my org file. Org-mode version 6.32trans (2009-11-03 0:45) GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Windows XP Pro SP3 I confirm this. If the :ARCHIVE: is removed the tree is displayed. git bisect identifies the following commit as causing the problem: 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc is the first bad commit commit 525b0148c5d53280c46b3ecfb2d2adcfcbf999bc Author: Carsten Dominik carsten.domi...@gmail.com Date: Fri Sep 18 13:53:23 2009 +0100 Make testing for headline independent of visibility :04 04 ba0fd654b88682f598ad22ec2bc1a092e7bbc6cc d3abe9044257023f6000a88dc697ebdf7f650fa8 M lisp -Bernt - 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] org asks questions about open clocks
On Nov 3, 2009, at 11:12 AM, Friedrich Delgado Friedrichs wrote: Hi! Recently org (from git) has started asking my questions about open clocks in my tasks whenever I try to clock in on a task. While I appreciate it doing maintenance, the question whether I want to (k)eep, (c)ancel, or (s)ubtract comes at a moment where it is hardwired into my brain to press C-x C-s, which cancels the question. (I do C-c i to clock in from buffer, or I to clock in from agenda view. The corresponding entry is then automatically logged into my diary.org file, which I then save.) Maybe it's my hook: , ;;; A small function to insert the currently active task into the ;;; current buffer, ported from planner-log (defun org-log () (interactive) (save-excursion (org-clock-goto) (let ((link-string (org-store-link nil))) (find-file tagebuch) (goto-char (point-max)) (insert - ) (insert link-string) (newline t (defadvice org-clock-in (after org-log-activity) (org-log)) (ad-activate 'org-clock-in) ` The variable `tagebuch' contains the name of the logfile. Can I simply turn off that question and call it manually from time to time? (setq org-clock-auto-clock-resolution nil) M-x org-resolve-clocks RET - 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] key bindings for quickly setting effort estimates
On Nov 3, 2009, at 1:33 PM, Tim O'Callaghan wrote: Would it be possible to add something like this to the org-fast-tag-selection-include-todo interface? possibly with a list of properties to select from: org-fast-tag-selection-include-properties '((EFFORT_All ?e) (FOCUS_All ?f)) So to select effort of 0:20 i'd type e 2 or similar? No, I don't think to the tags interface, this would get messy. For he agenda you can already do 2 e anod now I have changed it that you can also do `e 2' from the agenda, or `C-c C-x e 2' from the Org buffer. - Carsten Tim. 2009/11/3 Carsten Dominik carsten.domi...@gmail.com: We do have `org-set-effort', bound to `C-c C-x e'. You can use a prefix arg to get to a value directly. But your approach is faster, if you have to do this a lot. - Carsten On Nov 2, 2009, at 2:52 PM, Adam Spiers wrote: I found myself needing a quick way of setting effort estimates outside column view, and came up with the following: ;; Zero effort is last (10th) element of global Effort_ALL property ;; so that we get zero effort when pressing '0' in the Effort column ;; in Column view, since this invokes `org-set-effort' with arg 0, ;; which stands for the 10th allowed value. (let ((effort-values (org-property-get-allowed-values nil org-effort-property))) (dotimes (effort-index 10) (let* ((effort (nth effort-index effort-values)) (key-suffix (number-to-string (if (= effort-index 9) 0 (1+ effort-index (fn-name (concat org-set-effort- (number-to-string effort-index))) (fn (intern fn-name))) ;; (message Binding M-o %s to %s which sets effort to %s ;; key-suffix fn-name effort) (fset fn `(lambda () ,(format Sets effort to %s. effort) (interactive) (org-set-effort ,(1+ effort-index (global-set-key (concat \eo key-suffix) fn This assumes that Effort_ALL has 9 non-zero effort values, which in my case is conveniently true: (0:10 0:20 0:30 1:00 2:00 3:00 4:00 8:00 16:00 0) Hope this is of interest. Adam ___ 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 - 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 - 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] possible patch: org-edit-src-code breaking window configuration
Eric Schulte schulte.e...@gmail.com writes: Hi, I've noticed that org-edit-src breaks my window configuration. The patch below fixes this, but introduces a new global variable, and might not have sensible behavior if multiple source-code blocks are edited at once. Even so I personally prefer it's behavior to the current default behavior of removing all windows from the current frame. thoughts? -- Eric Nice. I think it's a desirable improvement to my changes. I've had a quick test (with all 4 possible values of org-src-window-setup) and it seemed to work as hoped. I guess the new variable should be defvar'd as nil in org-edit-src? There are already a number of other not-for-users global variables used in a similar way in org-src, so it won't be out-of-place. Dan diff --git a/lisp/org-src.el b/lisp/org-src.el index eba8ef3..2f578b9 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -193,6 +193,7 @@ to the correct language mode. When done, exit with \\[org-edit-src-exit]. This will remove the original code in the Org buffer, and replace it with the edited version. (interactive) + (setq org-edit-src-saved-temp-window-config (current-window-configuration)) (let ((line (org-current-line)) (col (current-column)) (case-fold-search t) @@ -574,7 +575,10 @@ the language, a switch telling if the content should be in a single line. (org-goto-line (1- (+ (org-current-line) line))) (org-move-to-column (if preserve-indentation col (+ col total-nindent delta))) (move-marker beg nil) -(move-marker end nil))) +(move-marker end nil)) + (when org-edit-src-saved-temp-window-config +(set-window-configuration org-edit-src-saved-temp-window-config) +(setq org-edit-src-saved-temp-window-config nil))) (defun org-edit-src-save () Save parent buffer with current state source-code buffer. ___ 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] How to disable folding entirely
On Nov 3, 2009, at 10:46 PM, Jeff Kowalczyk wrote: In certain editing scenarios, I would like to temporarily disable all folding including subtrees, property drawers, logbook entries, etc. i.e. the same initial unfolded state achieved with #+STARTUP showeverything (M-x showall), but unfolded state continues as new items are created, clocking in and out, etc. Is there a general mechanism to toggle folding in Org, or in Emacs proper? M-x visible-mode RET - Carsten I searched many variations of 'fold'-related strings in the Org source, and didn't see anything directly applicable [1]. Thanks, Jeff [1] ~/.emacs.d/vendor/org-mode/lisp $ ack defcustom.*fold org.el 291:(defcustom org-startup-folded t 851:(defcustom org-yank-folded-subtrees t org-mhe.el 39:(defcustom org-mhe-search-all-folders nil [master]~/.emacs.d/vendor/org-mode/lisp $ ___ 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 - 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] [babel] options to the example directive
Dan Davison davi...@stats.ox.ac.uk writes: This is a consequence of the same issue: org-exp-blocks preprocesses your src block in a pre-export buffer (a copy of the original), hands it to org-babel, which creates the results block (overwriting the version where you had manually inserted switches), and that results block lacks any switches. Would it be worthwhile to add a :results_switches header argument for passing switches through to a results block? If that would solve the problem it should be easy to implement. Best -- Eric ___ 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] How to disable folding entirely
In certain editing scenarios, I would like to temporarily disable all folding including subtrees, property drawers, logbook entries, etc. i.e. the same initial unfolded state achieved with #+STARTUP showeverything (M-x showall), but unfolded state continues as new items are created, clocking in and out, etc. Is there a general mechanism to toggle folding in Org, or in Emacs proper? I searched many variations of 'fold'-related strings in the Org source, and didn't see anything directly applicable [1]. Thanks, Jeff [1] ~/.emacs.d/vendor/org-mode/lisp $ ack defcustom.*fold org.el 291:(defcustom org-startup-folded t 851:(defcustom org-yank-folded-subtrees t org-mhe.el 39:(defcustom org-mhe-search-all-folders nil [master]~/.emacs.d/vendor/org-mode/lisp $ ___ 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] MobileOrg 1.0 for iPhone/iPod Touch now available
Hi all, MobileOrg 1.0 is now available in the iTunes AppStore: http://bit.ly/1kpHqg Documentation (including a screencast demonstrating the app) is available on the website at http://mobileorg.ncogni.to. Many thanks to Carsten and all the beta testers who helped get it ready for release. Feel free to contact me with any questions or support requests. If there is a question related to Org-mode integration, CC: Carsten too, he's the expert on that side of things. Be sure to use Org-mode 6.32 or later. Hope you all enjoy. Thanks, Richard ___ 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] possible patch: org-edit-src-code breaking window configuration
Hi, I've noticed that org-edit-src breaks my window configuration. The patch below fixes this, but introduces a new global variable, and might not have sensible behavior if multiple source-code blocks are edited at once. Even so I personally prefer it's behavior to the current default behavior of removing all windows from the current frame. thoughts? -- Eric --8---cut here---start-8--- diff --git a/lisp/org-src.el b/lisp/org-src.el index eba8ef3..2f578b9 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -193,6 +193,7 @@ to the correct language mode. When done, exit with \\[org-edit-src-exit]. This will remove the original code in the Org buffer, and replace it with the edited version. (interactive) + (setq org-edit-src-saved-temp-window-config (current-window-configuration)) (let ((line (org-current-line)) (col (current-column)) (case-fold-search t) @@ -574,7 +575,10 @@ the language, a switch telling if the content should be in a single line. (org-goto-line (1- (+ (org-current-line) line))) (org-move-to-column (if preserve-indentation col (+ col total-nindent delta))) (move-marker beg nil) -(move-marker end nil))) +(move-marker end nil)) + (when org-edit-src-saved-temp-window-config +(set-window-configuration org-edit-src-saved-temp-window-config) +(setq org-edit-src-saved-temp-window-config nil))) (defun org-edit-src-save () Save parent buffer with current state source-code buffer. --8---cut here---end---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
Re: [Orgmode] MobileOrg 1.0 for iPhone/iPod Touch now available
Hi everyone, this is really amazing and a dream come true - All my Org files with me on the go. The application is much better than what I originally had envisioned it could be, congratulations Richard. Since the app is Open Source, and since the Emacs/Org-mode side of the synchronization is implemented and working quite well, maybe someone will be interested to port the app to Android? I am sure Richard would help. - Carsten On Nov 3, 2009, at 11:19 PM, Richard Moreland wrote: Hi all, MobileOrg 1.0 is now available in the iTunes AppStore: http://bit.ly/1kpHqg Documentation (including a screencast demonstrating the app) is available on the website at http://mobileorg.ncogni.to. Many thanks to Carsten and all the beta testers who helped get it ready for release. Feel free to contact me with any questions or support requests. If there is a question related to Org-mode integration, CC: Carsten too, he's the expert on that side of things. Be sure to use Org-mode 6.32 or later. Hope you all enjoy. Thanks, Richard ___ 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 - 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
[Orgmode] [babel] demonstration mode-switching between code blocks
Hi everybody, Abstract: This is a very quick (and I assume very dirty) hack, how to switch between org-mode and any other mode which you like to use in the source code blocks. It is far from being addable to org-babel yet but might be a good starting point. Problem: If I use source code blocks together with org-mode and org-babel, I miss sometimes the nice features of the original language mode in emacs. E.g. In python-mode there is syntax-highlighting for python (obviously). In org-mode the python syntax is simply unicolor which results (for me) in error prone usage same for proper line indentation (which is critical in python). Furthermore, switching frequently between org-mode and python code, key- bindings which got used by both modes (e.g. the famous C-c C-c) are typed very quickly within the wrong mode... which might lead to funny results on both sites. Try to think in python (including python-mode) and use org-mode keybindings or vice versa... ;) I know I could (and I do) open an explicit buffer with the right mode by C-c `. However, esp. for debugging and tweaking of the code blocks I like to have at least syntax-highlighting and proper indention and don't want to switch forth and back between buffers continuously. Solution: I found on emacs-wiki the minor-mode two-mode-mode.el [1] from David N. Welton. I was able to modify it with a minimum to allow switching between org-mode and python-mode. However, other (multiple) modes should be possible as well. I had to change the configuration into the following: (defvar default-mode (list org-mode 'org-mode)) (defvar second-modes (list (list python #+begin_src python #+end_src 'python-mode)) Making two-mode-mode.el required in emacs init or even hook it to any automatic load method, after I load an org-file in emacs I can start two-mode- mode.el (if not loaded automatically). Moving the pointer to within a python block will switch from org-mode to python-mode. Leaving the python source code block will allow to switch back to org-mode automatically. Placing the pointer on the #+srcname: line still allow C-c C-c and C-` to evaluate the source code block within org-mode. Issues: Org-mode file *need* to use the startup variable 'showeverything' otherwise the switching between the modes results in a permanent folding between into the overview. Resulting that if you tab on a header it opens up and close directly. e.g. add #+STARTUP: showeverything to the head of the org-file. If you set the pointer with the mouse the mode-switch does not work. You have to move the pointer once inside the code block It seems that sometimes there is a very long freeze state... don't know whether this is due to my recent system changes or due to the new minor-mode Result: It seems to work so fare not to bad for a quick hack. The code-base of the two-mode-mode.el is very minimalistic and I believe it would be very quickly integrated resp. reimplemented within org-babel. I believe it is a worth idea even just for the proper syntax-highlighting and the correct indentation for the particular programming language. Best regards, Torsten [1] http://www.welton.it/freesoftware/files/two-mode-mode.el ___ 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] MobileOrg 1.0 for iPhone/iPod Touch now available
Hi Looks like fantastic work, congratulations! Thank heavens I finally got Ubuntu/emacs/orgmode/git running natively on my Android phone, otherwise I'd be green with envy ;-) That means you run a full emacs23 together with org-mode on your phone :o oh thanks now I'm be green with envy :P Any docs, how-tos, screencasts, screenshots, notes, tips and tricks ? Regards, Torsten To be not OT: Where should someone start to learn about the interaction between org-mode and the mobile app... ___ 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