[Orgmode] Re: minor option conflict
On Feb 11, 2009, at 6:46 PM, Samuel Wales wrote: Hi Carsten, To reiterate (since the thread is long): Bug: blank line inserted after log item even without body. This inserts blank line in collapsed view requiring manual deletion. Carsten and Bernt could not reproduce. I provided test case and .emacs to reproduce. Why don't you simply set the variable `org-cycle-separator-lines' to its default value 2? This would mean that 2 empty lines are needed to get an empty line in the collapsed outline. I guess I could fix the problem you are describing, but there are more cases where Org automatically inserts stuff and maybe (depending on exact context) an empty line. I also like Wanrong's idea of putting state changes in drawers to keep syntax separate from the body. I will look into this. - 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] Re: Feature improvement request: state change logging
Wanrong Lin wanrong@gmail.com wrote: The state change logging is great, but I wonder whether we can further improve it: 1. Can we also include the original state in the log message? i.e.: instead of having - State DEFERRED [2009-02-11 Wed 11:38] we can have - State DEFERRED from HOLD [2009-02-11 Wed 11:38] Nice idea IMHO. 2. Can we put all of those state change history logging messages into a drawer like STATE-HIST (when the drawer is defined in org-drawers), so it is less intrusive in the file? That's even better. I'd strongly second that. Ulf ___ 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 clocking in: the list becomes corrupted by the CLOCK drawer
Carsten Dominik domi...@science.uva.nl writes: While I think it is not too much to ask to set the clock drawer variable I mentioned earlier in order to get reliable behavior for your application, I guess it does not hurt to check for smaller indentation than the clock line itself. OK. Thanks, this makes the default configuration (with that variable unset) work better. ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
On Wed, Feb 11, 2009 at 4:18 AM, Tom Breton (Tehom) wrote: With three choices for choosenness, it works as I expected (only one item in CHOSEN state at a time) but for more choices like: #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) LEANING_TOWARDS(l) CHOSEN(c,+) it allows multiple items to be in CHOSEN state. How do we interpret that? I couldn't reproduce this. Is this on the same test file as before? Sorry for the delay in reply, Tom. I reproduce the situation below: First the test file. --8---cut here---start-8--- #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) LEANING_TOWARDS(l) CHOSEN(c,+) * Which editor to use? *** LEANING_TOWARDS Emacs *** LEANING_TOWARDS Vim *** LEANING_TOWARDS Textmate *** REJECTED Gedit *** REJECTED Textpad --8---cut here---end---8--- 0. I have latest org-choose loaded, org-mode restarted, and local setup refreshed. 1. S-right on the second item to switch it to CHOSEN state. It works. 2. Now S-right on the first item to switch it to CHOSEN state. Also works. Both entries stay at CHOSEN state whereas I expected the second entry to switch to a NON-CHOSEN state (possibly switching just one state backwards not all the way back to REJECTED, but then I do not yet understand it fully.) Is this the right behaviour? If yes, please help me understand this a little. Or could I be doing or have something wrong in my setup? Regards, -- 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
Re: [Orgmode] Re: org-mode and remind integration
Hi Daniel, Actually I have used your proposed _regular expression_ only, and little rearrangement. Since my child was born last month I did not have much time. Therefore, I did not test org2rem. Many congratulations to you on your sweet little bundle of joy!! I did not tested the last suggestion of Carsten but you seem to overcome the problem I encountered. I also wanted to remove these three (defvar org2rem-scheduled-reminders nil) (defvar org2rem-deadline-reminders nil) (defvar org2rem-pure-timestamps-reminders nil) global variables, with next patch by this week end. And finally Thanks you very much Daniel for `org2rem.el' I am regular user of `remind'. On Thu, Feb 12, 2009 at 5:12 AM, Daniel Martins daniel...@gmail.com wrote: Thanks Sharap, Since my child was born last month I did not have much time. Therefore, I did not test org2rem. I did not tested the last suggestion of Carsten but you seem to overcome the problem I encountered. I am also suggest to include this patch to expand Bastien original org2rem.el Whenever I have time (to sleep!) I will test your scripts. Daniel 2009/2/11 Carsten Dominik domi...@science.uva.nl Hi Bastien, you wrote the original org2rem.el Do you agree we should apply this patch? I have not tested it as I do not use remind. - Carsten On Feb 11, 2009, at 4:33 PM, Sharad Pratap wrote: Hi Carsten, Please do apply it, (if you find it is fine.) I have joined this mailing list today only, so not able to include all peoples in thread. On Wed, Feb 11, 2009 at 8:51 PM, Carsten Dominik domi...@science.uva.nlwrote: I have not followed this discussion - should I apply this patch to org2rem.el in the distribution? - Carsten On Feb 11, 2009, at 3:23 PM, Sharad Pratap wrote: Hi Daniel, Your regular expression working fine!!, I have made few change with same regular expression, and it has worked for me. I wish `org2rem' could be as robust as `org-export-icalendar'. Like me you also want orgmode outside editor, So I have added to executable script `org2remind' and `show-agenda'. ___ 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] New :base-extension parameter: :none
Hello, I don't use filename extensions for my org files and I could not publish my files that way because you have to give a string parameter to :base-extension. I modified the org-publish-get-base-files function to support a :none keyword, that means that every file gets exported (except those thats name start with a dot): , |'(test . (:base-directory ~/test/ |:base-extension :none ;; new :none keyword |:publishing-directory /tmp/ |:with-section-numbers nil |:table-of-contents nil |)) ` Here is the modified function, 2 lines changed (look for the -). Carsten, please include this change in the next version of Org if you think it's ok, thank you. , | (defun org-publish-get-base-files (project optional exclude-regexp) | Return a list of all files in PROJECT. | If EXCLUDE-REGEXP is set, this will be used to filter out | matching filenames. | (let* ((project-plist (cdr project)) |(base-dir (file-name-as-directory | (plist-get project-plist :base-directory))) |(include-list (plist-get project-plist :include)) |(recurse (plist-get project-plist :recursive)) |(extension (or (plist-get project-plist :base-extension) org)) |(match (if (eq extension :none) ;; - | ^[^\\.] ;; - | (concat ^[^\\.].*\\.\\( extension \\)$ | (setq org-publish-temp-files nil) | (org-publish-get-base-files-1 base-dir recurse match | ;; FIXME distinguish exclude regexp | ;; for skip-file and skip-dir? | exclude-regexp exclude-regexp) | (mapc (lambda (f) | (pushnew |(expand-file-name (concat base-dir f)) |org-publish-temp-files)) | include-list) | org-publish-temp-files)) ` -- Udv, 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
Re: [Orgmode] Call for documentation of contributed packages
On Tue, Feb 10, 2009 at 1:25 PM, Carsten Dominik wrote: [...] To start up this process, I am looking for a volunteer, with the following task: Go through thefile commentaries of stuff in Org's contrib directory and extract information from the file commentaries to create a page for each of these packages. Making a start in this way would be great, and package authors and users could then improve on this withtime. Anyone??? I have created and uploaded first draft of a document on org-annotation-helper.el to Worg. -- 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] Patch: new org-publish-project-alist property: :body-only
I defined a new org-publish-project-alist property: :body-only, the functionality was already in Org. ,[ example ] |'(test . (:base-directory /tmp/ |:base-extension org |:publishing-directory /tmp/1/ |:body-only t ;; |)) ` Excerpt from the patch: , | When :body-only is set to t, don't produce the file header and footer, | simply publish the content of body.../body, without even the body | tags themselves. ` Carsten, please include this if you think it's ok. --- org-publish.el 2009-02-10 20:23:13.0 +0100 +++ /home/ignotus/.elisp/org/lisp/org-publish.el 2009-02-12 16:24:20.0 +0100 @@ -222,6 +222,10 @@ :completion-functionFunction to be called after publishing this project. +When :body-only is set to t, don't produce the file header and footer, +simply publish the content of body.../body, without even the body +tags themselves. + Some properties control details of the Org publishing process, and are equivalent to the corresponding user variables listed in the right column. See the documentation for those variables to @@ -501,7 +507,8 @@ (setq export-buf-or-file (funcall (intern (concat org-export-as- format)) (plist-get plist :headline-levels) - nil plist nil nil pub-dir)) + nil plist nil (plist-get plist :body-only) + pub-dir)) (when (and (bufferp export-buf-or-file) (buffer-live-p export-buf-or-file)) (set-buffer export-buf-or-file) -- Udv, 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
Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
Tom Breton (Tehom) te...@panix.com wrote: On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: (let* ((x 1)) (eval-after-load 'simple (setq x 2)) x) =3D 2 (let* ((x 1)) (eval-after-load 'simple '(setq x 2)) x) =3D 1 In fact, I am getting 2 in both cases!??? Do you really get 1 for the second??? Yes I do, but it's clear now that I was mistaken about why. On closer inspection, it has to do with emacs not recognizing 'simple because it wants to see simple instead (string instead of symbol). That's not correct: eval-after-load will happily accept a symbol instead of a string, as long as the symbol is a feature provided by the library. simple.el does that - the last form in it is (provide 'simple) Regards, 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
[Orgmode] two new functions: org-move-thing-up org-move-thing-down
Here are two functions for moving things around. Useful to bind them to keys. Carsten, please include these functions in org if you think it's ok. ,[ for me it is ] | (define-key org-mode-map [(alt ?N)] 'org-move-thing-up) | (define-key org-mode-map [(alt ?T)] 'org-move-thing-down) ` , | (defun org-move-thing-up () | Move table row, headline or list item up. | (interactive) | (let ((headline-p (save-excursion | (beginning-of-line) | (when (looking-at (concat ^\\( outline-regexp \\))) | t | (cond ((org-at-table-p) (org-table-move-row-up)) | (headline-p (org-move-subtree-up)) | (t (org-move-item-up 1) | | (defun org-move-thing-down () | Move table row, headline or list item down. | (interactive) | (let ((headline-p (save-excursion | (beginning-of-line) | (when (looking-at (concat ^\\( outline-regexp \\))) | t | (cond ((org-at-table-p) (org-table-move-row-down)) | (headline-p (org-move-subtree-down)) | (t (org-move-item-down) ` -- Udv, 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] Re: two new functions: org-move-thing-up org-move-thing-down
How are these functions different from org-metaup and org-metadown which are bound to M-up arrow and M-down arrow on my system? -Bernt Richard KLINDA rkli...@gmail.com writes: Here are two functions for moving things around. Useful to bind them to keys. Carsten, please include these functions in org if you think it's ok. ,[ for me it is ] | (define-key org-mode-map [(alt ?N)] 'org-move-thing-up) | (define-key org-mode-map [(alt ?T)] 'org-move-thing-down) ` , | (defun org-move-thing-up () | Move table row, headline or list item up. | (interactive) | (let ((headline-p (save-excursion | (beginning-of-line) | (when (looking-at (concat ^\\( outline-regexp \\))) | t | (cond ((org-at-table-p) (org-table-move-row-up)) | (headline-p (org-move-subtree-up)) | (t (org-move-item-up 1) | | (defun org-move-thing-down () | Move table row, headline or list item down. | (interactive) | (let ((headline-p (save-excursion | (beginning-of-line) | (when (looking-at (concat ^\\( outline-regexp \\))) | t | (cond ((org-at-table-p) (org-table-move-row-down)) | (headline-p (org-move-subtree-down)) | (t (org-move-item-down) ` -- Udv, 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 ___ 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: two new functions: org-move-thing-up org-move-thing-down
Regarding 'Re: two new functions: org-move-thing-up org-move-thing-down'; Bernt Hansen adds: How are these functions different from org-metaup and org-metadown which are bound to M-up arrow and M-down arrow on my system? I did not know about them, I was looking for org.*move, now I use org-metadown and -metaup. Thank you. -- Udv, 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
Re: [Orgmode] New :base-extension parameter: :none
Daniel Clemente n142...@gmail.com writes: Shouldn't that be :base-extension 'none with a symbol instead of a keyword? I think : is for KEYwords, symbols that are going to be used as keys in a hash table. Actually... don't we have nil for that? ___ 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] New :base-extension parameter: :none
Richard KLINDA rkli...@gmail.com writes: , |'(test . (:base-directory ~/test/ |:base-extension :none ;; new :none keyword Shouldn't that be :base-extension 'none with a symbol instead of a keyword? I think : is for KEYwords, symbols that are going to be used as keys in a hash table. -- ___ 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] Feature request: save ID locations in org-save-all-org-buffers
Carsten, Thank you for adding org-revert-all-org-buffers. It's very helpful with syncing. I would like to ask for another change to help with syncing: please have org-save-all-org-buffers call org-id-locations-save, and load the locations in org-revert-all-org-buffers. Then ID values will be synced as well. Regards, Peter. ___ 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] New :base-extension parameter: :none
Regarding 'Re: [Orgmode] New :base-extension parameter: :none'; Daniel Clemente adds: Richard KLINDA rkli...@gmail.com writes: , | '(test . (:base-directory ~/test/ :base-extension :none | ;; new :none keyword Shouldn't that be :base-extension 'none with a symbol instead of a keyword? 'none is fine with me too, Carsten please change the symbol to 'none if you think that is more in line with org conventions. I think : is for KEYwords, symbols that are going to be used as keys in a hash table. Actually no, you can use keywords in situations like this, keywords are just symbols that evaluate to themselves, it's simply a stylistic choice. -- Udv, 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
Re: [Orgmode] New :base-extension parameter: :none
Regarding 'Re: [Orgmode] New :base-extension parameter: :none'; Daniel Clemente adds: Daniel Clemente n142...@gmail.com writes: Shouldn't that be :base-extension 'none with a symbol instead of a keyword? I think : is for KEYwords, symbols that are going to be used as keys in a hash table. Actually... don't we have nil for that? ,[ org-publish.el ] |(extension (or (plist-get project-plist :base-extension) org)) ` Nil (default case) gets replaced by org string, so we have to have something else for the none case. -- Udv, 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] Re: Feature improvement request: state change logging
Wanrong Lin wanrong@gmail.com writes: 2. Can we put all of those state change history logging messages into a drawer like STATE-HIST (when the drawer is defined in org-drawers), so it is less intrusive in the file? I also second this. I've been meaning to look into the code and figure out how difficult it would be to add a state change drawer. With recurring events, the state data obfuscates the normal content under the heading. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US ___ 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 and feature request in HTML export
Hello Sebastian, M-x customize-variable RET org-empty-line-terminates-plain-lists will do what you need. Thank you so much. It worked like a charm. Have a nice weekend. Cheers, Rasmus ___ 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: LaTeX Export
Carsten Dominik domi...@science.uva.nl writes: Some time ago I added a new matcher $1 for single charactersbetween dollars like in this case. People who havecustomized this option unfortunately do not get to see it. That was probably the problem. It works a lot better now! Thanks. That said, Giovanni's proposal to use \(\) is excellentadvice, at least in cases where using $..$ causes trouble.- Carsten Acctually, at first I used \(...\) but at that time Org had a harder time picking up \(...\) than $...$ which caused a lot of \($...$\). I have not checked whether it works better now. Thanks, Rasmus ___ 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: minor option conflict
On Thu, Feb 12, 2009 at 01:53, Carsten Dominik domi...@science.uva.nl wrote: Why don't you simply set the variable `org-cycle-separator-lines' to its default value 2? That works OK, and so does 0 (although ISTR for some reason that when I first wrote the bug it didn't, although I don't know why that would be as the code probably didn't change). I think what must have happened is that I wrote the bug as a quick and minor note on consistency when I was able to, then conflated it with consistency with CLOSED minor option conflict report as a minor consistency thing There are various subtleties, like what happens when you move or refile the entry with the trailing blanks, etc., but they are mostly only important for automation that I don't do and perhaps others don't do either. So I guess it was too low a priorirty of a bug report -- there are ... This would mean that 2 empty lines are needed to get an empty line in the collapsed outline. I guess I could fix the problem you are describing, but there are more cases where Org automatically inserts stuff and maybe (depending on exact context) an empty line. I also like Wanrong's idea of putting state changes in drawers to keep syntax separate from the body. I will look into this. - Carsten -- Myalgic encephalomyelitis denialists are causing massive suffering and 25-years-early death by grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: minor option conflict
Please ignore my previous post. Point was, this is not a major issue for me ATM, so I'm OK with 0 or 2 if 1 doesn't bother anybody else. Editing in gmail entry box is hazardous. ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
On Wed, Feb 11, 2009 at 4:18 AM, Tom Breton (Tehom) wrote: [...] I couldn't reproduce this. Is this on the same test file as before? Sorry for the delay in reply, Tom. I reproduce the situation below: First the test file. --8---cut here---start-8--- #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) LEANING_TOWARDS(l) CHOSEN(c,+) * Which editor to use? *** LEANING_TOWARDS Emacs *** LEANING_TOWARDS Vim *** LEANING_TOWARDS Textmate *** REJECTED Gedit *** REJECTED Textpad --8---cut here---end---8--- 0. I have latest org-choose loaded, org-mode restarted, and local setup refreshed. 1. S-right on the second item to switch it to CHOSEN state. It works. 2. Now S-right on the first item to switch it to CHOSEN state. Also works. Both entries stay at CHOSEN state whereas I expected the second entry to switch to a NON-CHOSEN state (possibly switching just one state backwards not all the way back to REJECTED, but then I do not yet understand it fully.) Is this the right behaviour? If yes, please help me understand this a little. Or could I be doing or have something wrong in my setup? That's not right the behavior, but again I can't seem to reproduce this. Using your test file and following your instructions, I get the correct behavior. Specifically, after S-right on second item: [begin] * Which editor to use? *** NOT_CHOSEN Emacs *** CHOSEN Vim *** NOT_CHOSEN Textmate *** REJECTED Gedit *** REJECTED Textpad [end] Then after S-right on the first item, again correctly: [begin] * Which editor to use? *** MAYBE Emacs *** LEANING_TOWARDS Vim *** NOT_CHOSEN Textmate *** REJECTED Gedit *** REJECTED Textpad [end] Now there's clearly something different between my setup and yours that it causing a bug, but it's very difficult to diagnose and fix at a distance. I have a theory that it's caused by an unloaded library whose absence makes `org-map-entries' abort. What I'm going to try is to add a require for org-agenda. Will you try it and tell me whether it fixes the bug? Because I just can't see the bug in my setup. Tom Breton (Tehom) ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
Tom Breton (Tehom) te...@panix.com wrote: On Feb 11, 2009, at 2:08 AM, Tom Breton (Tehom) wrote: (let* ((x 1)) (eval-after-load 'simple (setq x 2)) x) =3D 2 (let* ((x 1)) (eval-after-load 'simple '(setq x 2)) x) =3D 1 In fact, I am getting 2 in both cases!??? Do you really get 1 for the second??? Yes I do, but it's clear now that I was mistaken about why. On closer inspection, it has to do with emacs not recognizing 'simple because it wants to see simple instead (string instead of symbol). That's not correct: eval-after-load will happily accept a symbol instead of a string, as long as the symbol is a feature provided by the library. simple.el does that - the last form in it is (provide 'simple) What version is this? Because that's clearly not what it does on emacs 21.3.1. Here simple.el does not have (provide 'simple) in it. I see no provision for accepting a symbol in eval-after-load. The test it uses is just: (assoc file load-history) The cars of load-history are all strings, so I can't see how it would find a symbol among them. And it continues to stubbornly return a 1 for that example when I use 'simple. Clearly something has changed across versions. Tom Breton (Tehom) ___ 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
Patch Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
Here is a patch that I hope will solve the problems people are having with org-choose.el. It contains two intended fixes: * `eval-after-load' gets a string argument. Apparently some emacsen can accept a symbol, but older ones can't. * org-agenda is required before `org-map-entries' is called. This is admittedly a quick and dirty fix, if it even works. Tom Breton (Tehom) org-choose.el.diff 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
Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
Tom Breton (Tehom) te...@panix.com wrote: What version is this? Because that's clearly not what it does on emacs 21.3.1. Here simple.el does not have (provide 'simple) in it. I see no provision for accepting a symbol in eval-after-load. The test it uses is just: (assoc file load-history) The cars of load-history are all strings, so I can't see how it would find a symbol among them. And it continues to stubbornly return a 1 for that example when I use 'simple. 23.0.60, but I also checked 22.1 and that contains both the feature and the smarter eval-after-load. Clearly something has changed across versions. Clearly, but 21.3.1 is ancient: it was released March 24, 2003 (and the emacs page also indicates that 21.4 was released to fix a security hole, so one way or another, you should upgrade.) Regards, 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
[Orgmode] newbie's one-week report
I've been immersed in org-mode for a week now and I'm deeply impressed. - I *feel* more in charge of my todo list - I'm making better progress on projects and tracking that progress better - org-mode actively helps me organize my thoughts and notes into orderly brain dumps and data piles that are easy to navigate and understand - TODOs go right there among my brain dumps! - my manager likes org-mode's html exports of my project pages (I'm using a slightly modified version of http://orgmode.org/worg/worg.css) - it was ludicrously easy to adapt my work setup for home, where I now keep track of Important Stuff and check my agenda daily Many thanks to Carsten and the org gang, bw -- Bill White . bi...@wolfram.com . http://members.wolfram.com/billw No ma'am, we're musicians. ___ 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] sorting and merging files
I've gotten into a bit of a bind on sorting. A little explanation: I've been working at keeping the ~/org directory of three machines syncronized through a master repo on a USB flash drive. I've made a bit of progress, and for simple updates, it is basically working. I still don't grok merging conflicts. I've finally ended up with a file with duplicates of entries, so I thought of concatenating files, then sorting these entries. Each entry has a date (made from a remember template), so sorting by date makes sense. Ideally, one should be able to do this, and then sort with C-u C-u C-c^. I've tried this several times, and gotten bitten almost every time. I guess the dates can only be sorted as text. And duplicates are not removed. I read the manual, but little help was gotten there. What do I need to know to make sorting work, and what I might be doing wrong? Thanks for previous suggestions. Alan -- Alan Davis It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. Bertrand Russell They are ill discoverers that think there is no land, when they can see nothing but sea. Sir Francis Bacon ___ 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] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
On Fri, Feb 13, 2009 at 1:43 AM, Tom Breton (Tehom) wrote: On Wed, Feb 11, 2009 at 4:18 AM, Tom Breton (Tehom) wrote: [...] I couldn't reproduce this. Is this on the same test file as before? Sorry for the delay in reply, Tom. I reproduce the situation below: First the test file. --8---cut here---start-8--- #+CHOOSE_TODO: REJECTED(r) NOT_CHOSEN(n,-) MAYBE(,0) LEANING_TOWARDS(l) CHOSEN(c,+) * Which editor to use? *** LEANING_TOWARDS Emacs *** LEANING_TOWARDS Vim *** LEANING_TOWARDS Textmate *** REJECTED Gedit *** REJECTED Textpad --8---cut here---end---8--- 0. I have latest org-choose loaded, org-mode restarted, and local setup refreshed. 1. S-right on the second item to switch it to CHOSEN state. It works. 2. Now S-right on the first item to switch it to CHOSEN state. Also works. Both entries stay at CHOSEN state whereas I expected the second entry to switch to a NON-CHOSEN state (possibly switching just one state backwards not all the way back to REJECTED, but then I do not yet understand it fully.) Is this the right behaviour? If yes, please help me understand this a little. Or could I be doing or have something wrong in my setup? That's not right the behavior, but again I can't seem to reproduce this. Using your test file and following your instructions, I get the correct behavior. Specifically, after S-right on second item: [begin] * Which editor to use? *** NOT_CHOSEN Emacs *** CHOSEN Vim *** NOT_CHOSEN Textmate *** REJECTED Gedit *** REJECTED Textpad [end] Then after S-right on the first item, again correctly: [begin] * Which editor to use? *** MAYBE Emacs *** LEANING_TOWARDS Vim *** NOT_CHOSEN Textmate *** REJECTED Gedit *** REJECTED Textpad [end] Now there's clearly something different between my setup and yours that it causing a bug, but it's very difficult to diagnose and fix at a distance. I have a theory that it's caused by an unloaded library whose absence makes `org-map-entries' abort. What I'm going to try is to add a require for org-agenda. Will you try it and tell me whether it fixes the bug? Because I just can't see the bug in my setup. I didn't know if you meant to send me a patch or try something myself. I do not know any elisp but I interpreted your statement to mean something like the following patch and tried but without success. This is with GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON and latest Org-mode compiled from git with uncompiled org-choose.el. --8---cut here---start-8--- diff --git a/contrib/lisp/org-choose.el b/contrib/lisp/org-choose.el index a5e8a19..1f54df6 100644 --- a/contrib/lisp/org-choose.el +++ b/contrib/lisp/org-choose.el @@ -65,6 +65,7 @@ (require 'org) (eval-when-compile (require 'cl)) +(require 'org-agenda) ;;;_. Body ;;;_ , The variables --8---cut here---end---8--- I am sure you meant something more intelligent. :-/ Thanks for looking into it. -- 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
Re: Patch Re: [Orgmode] Docs submitted (Was Re: Advice sought on managing decision alternatives.)
On Fri, Feb 13, 2009 at 2:25 AM, Tom Breton (Tehom) wrote: Here is a patch that I hope will solve the problems people are having with org-choose.el. It contains two intended fixes: * `eval-after-load' gets a string argument. Apparently some emacsen can accept a symbol, but older ones can't. * org-agenda is required before `org-map-entries' is called. This is admittedly a quick and dirty fix, if it even works. I saw this email just a moment after responding to the other thread. No, it did not work. I restarted Emacs and loaded org-choose.el both using load-library and load-file (in case that makes a difference.) Thanks -- 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
Re: [Orgmode] Feature request: save ID locations in org-save-all-org-buffers
On Feb 12, 2009, at 6:31 PM, Peter Westlake wrote: Carsten, Thank you for adding org-revert-all-org-buffers. It's very helpful with syncing. I would like to ask for another change to help with syncing: please have org-save-all-org-buffers call org-id-locations-save, and load the locations in org-revert-all-org-buffers. Then ID values will be synced as well. Hmmm, you know, I think that does make sense. I added this change. Thanks! - 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] Feature improvement request: state change logging
On Feb 11, 2009, at 5:52 PM, Wanrong Lin wrote: Hi, My TODO sequence is set up as following: (setq org-todo-keywords '((sequence TODO(t) STARTED(s!) WAITING(w@/!) MAYBE(m/!) DELEGATED(g@/!) DEFERRED(d!/!) HOLD(h!/!) | DONE(x) CANCELED(c The state change logging is great, but I wonder whether we can further improve it: 1. Can we also include the original state in the log message? i.e.: instead of having - State DEFERRED [2009-02-11 Wed 11:38] we can have - State DEFERRED from HOLD [2009-02-11 Wed 11:38] The message will be clearer, and useful even when somebody edited the TODO keyword in place without using the org-todo command (in that case, simply looking at all the destination states in the log message does not give us the right information). This strikes me like a useful idea, in particular if you are jumping between states, or if only some states record logging info. So I have added this capability. If you are configuring the variable `org-log-note-headings', use the %S (capital S) as a place holder for the old state. 2. Can we put all of those state change history logging messages into a drawer like STATE-HIST (when the drawer is defined in org- drawers), so it is less intrusive in the file? I do like the idea to be able to put state changes into a drawer, but I do not think that making it dependent on what it is org-drawers is good. So lets use a separate variable: If you configure org-log-state-notes-into-drawer, you can get all new state changes into a drawer (sorry, no automatic wrapping of old ones). Note that putting state log into a drawer will remove it from export. If you want to export state changes, try #+OPTIONS: d:(LOGBOOK) Thank you for giving a thought on it. Thank you for contributing very good ideas! - 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] Feature request: HTML export, TODO keyword face
Hi Wanrong, On Feb 11, 2009, at 6:00 PM, Wanrong Lin wrote: Hi, Right now in the HTML export the TODO keywords have either class=todo, or class=done. That loses all the face properties in the original TODO keywords. I think the TODO keywords faces are important visual aids to differentiate different types of TODO items, so I just wonder whether it is possible to keep the faces in the HTML. Thank you for considering the above. Yes, this makes sense. I now add, to each TODO keyword, an additional class named after the keyword. For example: span class=todo kwd-WAITINGWAITING/span So each todo keyword gets class todo or done depending on which general type it is. And in addition it gets itself, prefixed with kdw-, as class. So go to your CSS file and configure like this: .todo { font-weight:bold; } .done { font-weight:bold; } .TODO { color:red; } .WAITING { color:orange; } .DONE { color:green; } Thanks to Sebastian Rose for the multiple-classes trick. - 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