Re: [Orgmode] Announcing my Python module to read org-mode files
Over the last couple of months I have developed a Python module to read an org-mode file and return the nodes as a list of objects. The module is the basis of a Python/TK GUI program to display a Word of the Day (another article will be published about this program soon). I hope the module is of interest to Python programmers! Charles, That looks very interesting. Amongst other uses it opens the way to produce customized Web pages via mod_python, which in some circumstances would be easier than tweaking the current org export function. I have been experimenting with producing html exported pages optimized for my Nokia N95. At the moment I detect the browser string and then apply a different style sheet for the mobile version. However, this does have limitations, apart from those arising from my lack of css skills. Using mod_python I can produce completely different output depending on the detected browser. Ian. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] visiting org-remember template target files
I've come to rely on org-remember for many daily purposes. In order to be able to readily access the target files, I've kept a set of links in a separate file---an index, as it were. I would find it extremely useful to have a way to access these files as needed in the same familiar way I access the template. The obvious solution would be, perhaps, a \C-u prefix to the org-remember command I now have mapped to C-c r. However, it would be quite nice to always have an option when calling org-remember to just visit the file without adding anything to it. I imagine this would be quite some work, but I throw it up as a suggestion. If nothing else, I will set up another set of templates on a different key, to just visit the same files with, let us say, C-c 5. Org-remember is extremely useful. This would make it even more so. Alan -- Alan Davis An inviscid theory of flow renders the screw useless, but the need for one non-existent. ---Lord Raleigh (John William Strutt), or else his son, who was also a scientist. It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. Bertrand Russell ___ 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] One year after - questions and suggestions
On Mar 14, 2009, at 5:43 PM, Bastien wrote: Hi Carsten and all, it's been one year now that I stopped actively contributing to Org, but I didn't stop using it, of course. Here is a lng list of questions and suggestions I have. I tested them over a fresh Org and Emacs, both pulled from their repos this morning. I apologize if most of this has already been mentionned in discussions I missed - I digged the mailing list a bit but I didn't check thoroughly. Thanks! - BUG: When export a descriptive list to ASCII, replace the : separator by a single :.m Fixed. I am also removing the list bullet for this case. - BUG: Switch to a state requiring an annotation, cancel the annotation, there will be an empty :LOGBOOK: drawer. Remove it? Yes. done. - BUG: When picking up a date with `org-time-stamp', up and down will browse the minibuffer history. I think it does not make sense here. This has now its own history list. - BUG/FR: When building completion list for refiling, don't include the very entry we are trying to refile. This is a bit hard, and Org will throw a good error if you try. - BUG: In agenda mode, C-e goes to the [last-1] char of the line. (Note that this is not visible when the entries finishes with a link.) It does because I want to avoid problems with the overlay keymaps and stuff like this. Why is it a problem? - BUG: Weird result of C-c * when used before the first heading. Fixed. - BUG: Properties inserting in a remember buffer are not indented correctly when the remember note goes to its target. For example: * My remember note :PROPERTIES: :Effort: 10 :END: Is refiled to the Notes entries: * Notes ** My remember note :PROPERTIES: :Effort: 10 :END: ... but the drawer does not align with the stars. It is for me. The reason why the indentation adaptation does not work it probably because you have lines that are not indented at all in the note as well. This will inhibit org-adapt-indentation when pasting a subtree. Only if all lines are indented at least one space, then indentation will be adapted during pasting. - BUG?: When deleting an attachment, the :ID: property is not itself deleted. Not sure if it's wrong, but it's weird. The ID property is something independent of the attachment, how could Org know that you do not need it for different purposes? - FR: In addition to the {+} {:} facilities for dynamically computing a property's value, have a way to use a calc or a tbl formula? Additionnally, have a _DEFAULT suffix to define defaults. There was a patch recently on the mailing list, subject elisp formulas. - FR: A function to display the link the cursor is on (the same way the mouse displays a small popup.) This function would particularily be useful in the agenda view. C-c C-l LOOK RET RET :-) Hard to find new key bindings for these. TODO - FR: C-c C-l in agenda view to edit link at point? (Or is this producing to much overlap between org-agenda and the normal org editing mode?) - FR: Highlight the currently clocked-in task in agenda-mode? Good one. TODO - FR: When selecting an attachment, if there is already a directory defined for this the current entry, then use this directory as the default directory for browsing and select the attachment. You mean if there is an attachment directory defined? What do you mean by when selecting and attachment? - FR: All numeric values within brackets are highlighted. Since this type of footnotes is now discouraged, I think it make sense not to highlight those values (having digits in square brackets is not so rare.) I guess we should have an option to disable these as footnote markers, yes. TODO - FR: When refiling to a non-existent entry, create this entry on the fly? This has been requested frequently - I am not sure if I can do this with all the different completion interfaces... TODO - FR: Allow to insert +1d-type strings when picking up a date with `org-time-stamp'. This works for me, what am I missing here? - FR: Symmetric to individual lead time, I wish I can have individual remaining time - for example, the number of days during which a deadline is still visible in the agenda view. (That would happily steal 90% of what org-expiry.el is trying to achieve.) I think the purpose of deadlines is for them sting you until you do something about them? For me it seems that this would be counter productive. Why don't you tick off these items ok archive/kill them - FR: IMHO, turning off follow-mode in the agenda view should restore the window configuration we had before turning follow-mode on. Hmmm, I am not sure. When you press SPC to look at an entry, the config is also not restored. Still, maybe a good
[Orgmode] Feature Request: that the pdf saved automatically from agenda be immediately displayed
The saving of a pdf is a really nice feature. I had hacked org-agenda, I think, to automatically do this. However, it would be nicer if immediate display were optional. I don't know whether \C-u makes sense as a prefix to saving a file with \C-x \C-w. Perhaps not. Perhaps this cannot even be done at all, given the utter elegance of the solution that we are given. Thank you for this feature. Alan -- Alan Davis An inviscid theory of flow renders the screw useless, but the need for one non-existent. ---Lord Raleigh (John William Strutt), or else his son, who was also a scientist. It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. Bertrand Russell ___ 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: that the pdf saved automatically from agenda be immediately displayed
Hi Alan, a request from my side, to you and everyone else: Please do me a favor and don't use the subject line as part of a mail. In most viewers, the subject is displayed in a completely different place, and long subject lines I might not even see completely. This makes me struggle to put together the content. Just repeat the subject as part of the main text, please, if it is is part of the text. On Mar 15, 2009, at 2:55 PM, Alan E. Davis wrote: The saving of a pdf is a really nice feature. I had hacked org- agenda, I think, to automatically do this. However, it would be nicer if immediate display were optional. I don't know whether \C-u makes sense as a prefix to saving a file with \C-x \C-w. Perhaps not. Sure , this is a good idea, works now like 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
Re: [Orgmode] visiting org-remember template target files
On Mar 15, 2009, at 2:45 PM, Alan E. Davis wrote: I've come to rely on org-remember for many daily purposes. In order to be able to readily access the target files, I've kept a set of links in a separate file---an index, as it were. I would find it extremely useful to have a way to access these files as needed in the same familiar way I access the template. The obvious solution would be, perhaps, a \C-u prefix to the org- remember command I now have mapped to C-c r. If you think it should work like this, with a C-u prefix, why don't you simply try, or check the docstring of org-remember? `C-u C-c r' will go to the target location without adding anything. :-) - Carsten However, it would be quite nice to always have an option when calling org-remember to just visit the file without adding anything to it. I imagine this would be quite some work, but I throw it up as a suggestion. If nothing else, I will set up another set of templates on a different key, to just visit the same files with, let us say, C- c 5. Org-remember is extremely useful. This would make it even more so. Alan -- Alan Davis An inviscid theory of flow renders the screw useless, but the need for one non-existent. ---Lord Raleigh (John William Strutt), or else his son, who was also a scientist. It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. Bertrand Russell ___ 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] One year after - questions and suggestions
Carsten Dominik domi...@science.uva.nl writes: - BUG: In agenda mode, C-e goes to the [last-1] char of the line. (Note that this is not visible when the entries finishes with a link.) It does because I want to avoid problems with the overlay keymaps and stuff like this. Why is it a problem? Well, it is not really. ... but the drawer does not align with the stars. It is for me. The reason why the indentation adaptation does not work it probably because you have lines that are not indented at all in the note as well. This will inhibit org-adapt-indentation when pasting a subtree. Only if all lines are indented at least one space, then indentation will be adapted during pasting. Good to know, thanks. - BUG?: When deleting an attachment, the :ID: property is not itself deleted. Not sure if it's wrong, but it's weird. The ID property is something independent of the attachment, how could Org know that you do not need it for different purposes? For me the ID was created by attaching a file. I expected detaching it would delete the ID, but of course, IDs can have other purposes. property's value, have a way to use a calc or a tbl formula? Additionnally, have a _DEFAULT suffix to define defaults. There was a patch recently on the mailing list, subject elisp formulas. Seen it, will test it closely. - FR: A function to display the link the cursor is on (the same way the mouse displays a small popup.) This function would particularily be useful in the agenda view. C-c C-l LOOK RET RET :-) :) Hard to find new key bindings for these. But C-c C-l is not accessible from the agenda, right? - FR: When selecting an attachment, if there is already a directory defined for this the current entry, then use this directory as the default directory for browsing and select the attachment. You mean if there is an attachment directory defined? Yes. What do you mean by when selecting and attachment? C-c C-a should be aware of any previously defined directory, and take this directory as the default directory when browsing for other files to attach. Am I more clear? - FR: Allow to insert +1d-type strings when picking up a date with `org-time-stamp'. This works for me, what am I missing here? Weird. C-c C-s + 1 d RET does only insert today's date here, no +1d string. - FR: Symmetric to individual lead time, I wish I can have individual remaining time - for example, the number of days during which a deadline is still visible in the agenda view. (That would happily steal 90% of what org-expiry.el is trying to achieve.) I think the purpose of deadlines is for them sting you until you do something about them? For me it seems that this would be counter productive. Why don't you tick off these items ok archive/kill them Well, let's say I plan to do something next week but it's not high priority. I want it to pop up in my agenda view next week, and stay for three days, because passed this delay, I know I won't have any interest in doing it anymore. Having something like +3d looks consistent to me -- but I agree I can find workarounds. Or just fix my habits :) - FR: Following a sh: or an elisp: link prompts the user for confirmation. Can we have a variable that let the user to globally turn this off? Yes, there is such a variable: org-confirm-elisp-link-function and org-confirm-shell-link-function. Great, thanks! - FR: Visually mark (with #) entries that are marked in the agenda view? I am not sure what you are talking about, what marking??? Sorry I meant when marking an entry with `k m' in agenda view. - FR: When setting a mark in the agenda view, go to the next line? (Like in buffer-menu and other menu mode.) I am not sure what you are talking about, what marking??? Same here. `k m' would jump to the next unmarked entry. - FR: Maybe `?' could provide a little help in agenda mode. Hmmm, yes, why not. What should it say? Will think of it. Because, the keys are available in the menu. Yeah, but maybe some people don't use menus (I don't). - FR: Grouping several :clock: lines when clocking periods are very close to each other (with a user-defined threshold). For example, clocking 5 times 10 minutes within the same hour would be rounded up to one hour. With things nicely tugged way into drawers, I see no reasons to do this. The main reason was to cheat and try pretend you've been working 1 hour when you really worked 50 minutes :) - Q: Is there a way to select properties which values are = to a numeric value? yes! PROPERTY5 in any tags/property search Great! - Q/FR: How to go at the end of a field in a table? Maybe C-a and C-e could be contextually redefined to do this, since a table is such a specific editing context. Word-motion commands? I am not comfortable with overloading C-a and C- e. forward-paragraph and backward-paragraph would make sense, no? For now M-} jumps
[Orgmode] FR: org-clock-goto last-clock
It would be useful to me for org-goto-clock to go to the last headline that I clocked out of (in order to restart it). It seems this information is (usually) in the variable org-clock-heading even if there is no current clock running. All the best David ___ 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: FR: org-clock-goto last-clock
Does the prefix argument help you? With C-u C-c C-x C-j I get a menu with current and recent used clocks and can select easily with a keystroke. ,[ C-h f org-clock-goto RET ] | org-clock-goto is an interactive compiled Lisp function in | `org-clock.el'. | | (org-clock-goto optional select) | | Go to the currently clocked-in entry. | With prefix arg select, offer recently clocked tasks. | | [back] ` -- Mikael Fornius ___ 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: FR: org-clock-goto last-clock
Mikael Fornius wrote: Does the prefix argument help you? With C-u C-c C-x C-j I get a menu with current and recent used clocks and can select easily with a keystroke. As usual, I just missed it. Thanks, that is perfect. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [Patch] Add another bullet type ( →)
El vie, mar 13 2009, Martin Pohlack va escriure: Hi All, I tend to use a right arrow (→, U2192) from time to time in plain lists to separate normal item from conclusions / next actions etc.: Hey, me too! I use exactly → to hightlight items, but also to mark implications (I use ∴ for conclusions); I have many keys for that type of useful symbols. :-) (or should I write ☺…?) - Topic - Fact 1 - Fact 2 → Conclusion However, I have done it always like this: - Topic - Fact 1 - Fact 2 - → Conclusion So it is still a list, but I know this item is special. In this way I can also use the symbol in headings: * some task ** option1 ** → option2 (this is what I did) I still have to check org-choose.el, which provides a way to mark the chosen option between many alternatives in a more formal way. Greetings, Daniel ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] can the symbol for leading stars be changed?
Hi everyone, Is there a way for users to easily replace the leading stars with another symbol? In particular, I want to replace the '*' with '#' so that I use org mode to write pseduocode for R in outline form -- R uses # to designate comments and this would ensure that the headers wouldn't be read as code. I don't know emacs lisp (beyond cutting and pasting to a .emacs file), but would be happy to dive in. Thanks! --Gray -- Economics Department UC San Diego http://gray.calhoun.googlepages.com/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode