Re: [Orgmode] org-indent, org-inlinetask: patches on github
Hello, It has been applied to master branch. I will keep an eye on reported bugs about it. It shouldn't change anything for users not requiring org-inlinetask in their Org configuration, though. Regards, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
On Mon, Nov 8, 2010 at 2:01 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: You have to pull from _my_ repo, not the org-mode one, as the patches are not yet installed in master branch. Again, here is the URL to pull that from: git://github.com/ngz/org-mode-lists.git branch: inlinetask I'm getting some errors. Don't know what I'm doing wrong. jeffreyhorn:~/bin/emacs-lisp/org-mode git pull git://github.com/ngz/org-mode-lists.git branch: inlinetask fatal: Couldn't find remote ref branch If you prefer, I can also send you the patches by email (there are 7 of them). Would you mind zipping them up, or hinting at what I'm doing wrong with git? Jeff -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
Jeff Horn jrhorn...@gmail.com writes: On Mon, Nov 8, 2010 at 2:01 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: You have to pull from _my_ repo, not the org-mode one, as the patches are not yet installed in master branch. Again, here is the URL to pull that from: git://github.com/ngz/org-mode-lists.git branch: inlinetask I'm getting some errors. Don't know what I'm doing wrong. Try the same but without the branch: text; i.e.: : git pull git://github.com/ngz/org-mode-lists.git inlinetask which worked just fine for me. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1 : using Org-mode version 7.3 (release_7.3.43.g10c8) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
Try the same but without the branch: text; i.e.: : git pull git://github.com/ngz/org-mode-lists.git inlinetask which worked just fine for me. Thanks, Eric. Nicolas, this works great! Thank you. This really helps quite a lot. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-indent, org-inlinetask: patches on github
Hello, Hello, Instead of flooding the mailing lists with patches to org-inlinetask, I added them into my repository. They should fix quite a few bugs: - indentation with inline tasks (with or without org-indent mode turned on) should be fine ; - cycling levels of headings in indent-mode should be fixed ; - C-c @ now marks inline task if point is inside the task, or the subtree if point is outside ; - exporting inline tasks to latex is repaired. Furthermore, the last patch introduces a template concept in inline tasks exporting, namely `org-inlinetask-export-templates. Here is its doc-string: | This variable is an alist of shape (BACKEND STRING OBJECTS). | | BACKEND is the name of the backend for the template (ascii, html...). | | STRING is a format control string. | | OBJECTS is a list of elements to be substituted into the format | string. They can be of any type, from a string to a form | returning a value (thus allowing conditional insertion). A nil | object will be substituted as the empty string. Obviously, there | must be at least as many objects as %-sequences in the format | string. | | Moreover, the following special keywords are defined: `todo', | `priority', `heading', `content', `tags'. If some of them are not | defined in an inline task, their value is the empty string. | | As an example, valid associations are: | | (html ulli%s p%s/p/li/ul (heading content)) | | or, in a conditional way, | | (latex \\begin{flushright}%s%s%s\\end{flushright} |((unless (eq todo ) (format \\textsc{%s%s: } todo priority)) | heading | (unless (eq content ) (format \n%s content This should be enough to cover most needs with regards to inline tasks. Please note that drawers and scheduled items are not exported, and while it would be possible, they weren't exported before, anyway. Default values are conservative, only ascii export is more exotic (but will be changed if someone comes up with a better idea), as I wanted to have some fun with that variable. I didn't make it customizable for two reasons: 1. Using this is for real men. Real men don't use customize ! (in fact the second reason is the more problematic ;)) 2. I don't know how to tell customize to understand such a beast. Here is the repo: git://github.com/ngz/org-mode-lists.git branch: inlinetask To maintainers: - to sum it up, if you don't like the idea of templates, or how it is implemented, all commits but the last one are only fixes. - could you delete submissions from 11-04 and 11-06 (but _not_ from 10-26) on the patchwork server, as they are now included in the repo? I'm now waiting for comments from the 3-3.5 persons in the world using inline tasks! Regards, -- Nicolas Goaziou Regards, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
Hi Nicolas, wow, you have been busy. Thanks - and I have marked the supersedes patches on the server. I have not yet been able to test it - I hope other will get to this before I do. Thanks! - Carsten On Nov 7, 2010, at 9:21 AM, Nicolas Goaziou wrote: Hello, Hello, Instead of flooding the mailing lists with patches to org-inlinetask, I added them into my repository. They should fix quite a few bugs: - indentation with inline tasks (with or without org-indent mode turned on) should be fine ; - cycling levels of headings in indent-mode should be fixed ; - C-c @ now marks inline task if point is inside the task, or the subtree if point is outside ; - exporting inline tasks to latex is repaired. Furthermore, the last patch introduces a template concept in inline tasks exporting, namely `org-inlinetask-export-templates. Here is its doc-string: | This variable is an alist of shape (BACKEND STRING OBJECTS). | | BACKEND is the name of the backend for the template (ascii, html...). | | STRING is a format control string. | | OBJECTS is a list of elements to be substituted into the format | string. They can be of any type, from a string to a form | returning a value (thus allowing conditional insertion). A nil | object will be substituted as the empty string. Obviously, there | must be at least as many objects as %-sequences in the format | string. | | Moreover, the following special keywords are defined: `todo', | `priority', `heading', `content', `tags'. If some of them are not | defined in an inline task, their value is the empty string. | | As an example, valid associations are: | | (html ulli%s p%s/p/li/ul (heading content)) | | or, in a conditional way, | | (latex \\begin{flushright}%s%s%s\\end{flushright} |((unless (eq todo ) (format \\textsc{%s%s: } todo priority)) | heading | (unless (eq content ) (format \n%s content This should be enough to cover most needs with regards to inline tasks. Please note that drawers and scheduled items are not exported, and while it would be possible, they weren't exported before, anyway. Default values are conservative, only ascii export is more exotic (but will be changed if someone comes up with a better idea), as I wanted to have some fun with that variable. I didn't make it customizable for two reasons: 1. Using this is for real men. Real men don't use customize ! (in fact the second reason is the more problematic ;)) 2. I don't know how to tell customize to understand such a beast. Here is the repo: git://github.com/ngz/org-mode-lists.git branch: inlinetask To maintainers: - to sum it up, if you don't like the idea of templates, or how it is implemented, all commits but the last one are only fixes. - could you delete submissions from 11-04 and 11-06 (but _not_ from 10-26) on the patchwork server, as they are now included in the repo? I'm now waiting for comments from the 3-3.5 persons in the world using inline tasks! Regards, -- Nicolas Goaziou Regards, -- Nicolas ___ Emacs-orgmode mailing list Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
On Sun, Nov 7, 2010 at 12:09 PM, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Nicolas, wow, you have been busy. Thanks - and I have marked the supersedes patches on the server. I have not yet been able to test it - I hope other will get to this before I do. Thanks! - Carsten Does this mean a pull from the org-mode repo pulls the patched files? I just updated my local org installation and note text (not headlines) still remain indented under the inline task instead of the parent node heading level. Org-mode version 7.3 (release_7.3.36.g6c95.dirty) in emacs 23 on Snow Leopard. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com http://www.failuretorefrain.com/jeff/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-indent, org-inlinetask: patches on github
Hello, Does this mean a pull from the org-mode repo pulls the patched files? I just updated my local org installation and note text (not headlines) still remain indented under the inline task instead of the parent node heading level. You have to pull from _my_ repo, not the org-mode one, as the patches are not yet installed in master branch. Again, here is the URL to pull that from: git://github.com/ngz/org-mode-lists.git branch: inlinetask If you prefer, I can also send you the patches by email (there are 7 of them). Regards, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode