[O] Minor org mode for achieve code folding effects
Hi all, I'd like to edit some ruby/python/shell script using functions folding. I'd like to get a way to fold functions or method. I have found this article using outline mode: http://stackoverflow.com/questions/1085170/how-to-achieve-code-folding-effects-in-emacs but frankly I find it difficult to use because navigation is too difficult. (I have also excluded folding mode). Org Mode has a very nice navigation and key bindings, and I know it better then outline. There is a way to get a minor org-mode for replacing the above outline configuration? I am ready to experiment, if I need to patch things... --- Gio's Blog http://gioorgi.com
Re: [O] [ANN] Org Mode parser v0.0.1 for NodeJs
Hi, sorry for my late response. I have little time right now, but I think org-mode could be integrated. The current node.js org-mode parser is not designed to take care of the content of a paragraph (for instance it will not be able to detect numbered lists), and I fear this is its major weak point. But for the rest, I have done some tests and the parser is quite robust. Please grab the last version from npm, it has a good set of unit tests On 12/dic/2011, at 00.21, Bastien wrote: Eric Schulte eric.schu...@gmx.com writes: This is the first I've seen of substance.io, it looks very interesting. I wonder how similar the substance document data structure is to the new org-parse data structure, and if it would be difficult or rewarding to write a translator between the two. I wonder the same -- I guess we'll all have more insight when we try writing new exporter with the new export engine. Just though it was good to throw this reference early enough... -- Bastien
[O] ORG_MODE_PARSER_0.0.6 [ANN] Any idea for improvements?
Hi all, I have released version 0.0.6 of org-mode-parser for nodejs: http://gioorgi.com/tag/org-mode-parser/ Org mode parser is a parser for reading org-mode files in nodejs. It features more then 80 unit tests, and support also for :DRAWER: and archive tag. The parser can query on the structure, extract subtrees, regenerate the original input via an handy toOrgString() method. It is quite fast: I have done some small optimizations, and it seems good for general use. Please try it out and let me know if there are some bugs: it needs some real-world testing. Do you have some feature request? Version 0.0.7 is due soon, so if you have some idea, let me know! For every question, feel free to email me. -- Giovanni Giorgi http://gioorgi.com
Re: [O] [ANN] Org Mode parser v0.0.1 for NodeJs
Hi, you can find a simple example here https://github.com/daitangio/org-mode-parser [4] with the source code too. Anyway, the simpler way is to install the package (via npm) and use the makelist(...) function to read and parse in an asyncronous way the org-nodes: var orgParser=require('org-mode-parser'); orgParser.makelist(README.org, function (nodelist){ // Here nodelist is a list of Orgnode objects (ref:putyourcode) console.dir(nodelist); }); I have just pushed the revision 0.0.2. Take a look here for unit testing example https://github.com/daitangio/org-mode-parser/blob/master/test/parserTest.js [5] On Wed, 5 Oct 2011 08:21:09 -0700, Chris Malone wrote: Hi Gio, Perhaps it is my ignorance of how this all works, but do you have a small example of how/why one would use this? As is obvious from my question, I'm not familiar with nodejs. Chris On Oct 4, 2011, at 6:43 PM, Marcelo de Moraes Serpa wrote: This.is.simply.awesome! I was procrastinating on this as well. There's one for ruby as well which I've been playing with, this could give me some inspiration to contribute back. Keep up the great work, - Marcelo. On Tue, Oct 4, 2011 at 4:34 PM, Giovanni Giorgi wrote: Hi all, I have just published my org-mode parser for the node-js javascript based server: http://gioorgi.com/org-mode-parser/ [1] It is a Javascript parser for the Emacs Org-mode file format. I use org-mode as a database for some programs (like games) where I need to mix meta information to a bunch of long textual data. I wrote it because I was unable to find an implementation for my needs. I like too much org-mode to let nodejs without a parser, and as expected the simple org-mode format was easy to parse. I started from the Charles Cave's OrgNode python parser, but I need to modify it a lot because of JavaScript different nature. Please feel free to give me your feedback --- Gio's Blog http://gioorgi.com [2] Links: -- [1] http://gioorgi.com/org-mode-parser/ [2] http://gioorgi.com/ [3] mailto:j...@gioorgi.com [4] https://github.com/daitangio/org-mode-parser [5] https://github.com/daitangio/org-mode-parser/blob/master/test/parserTest.js