Re: Literate programming in emacs - any experience?

2012-03-22 Thread daly
On Tue, 2012-03-20 at 12:27 -0700, Tim Dysinger wrote: I'm using org-mode, org-babel swank for a living document I'm writing. I'm generating a PDF which includes documentation, working clojure code that generates incanter graphs. Also the generated incanter graphs are included in the

Re: Literate programming in emacs - any experience?

2012-03-22 Thread Michael O'Keefe
Hey Tim, Just wanted to say thanks for this post and this is a great discussion. I have the privilege of being able to spend a small amount of my time working on official unofficial projects at my work. I had seen an earlier post by you where I think you may have posted the same code to

Re: Literate programming in emacs - any experience?

2012-03-21 Thread martin_clausen
Nurullah did an excellent post on org-mode, Clojure and inferior-lisp from Emacs a while back: http://nakkaya.com/2010/12/12/using-clojure-with-org-babel-and-inferior-lisp/ On Tuesday, March 20, 2012 8:27:23 PM UTC+1, Tim Dysinger wrote: I'm using org-mode, org-babel swank for a living

Re: Literate programming in emacs - any experience?

2012-03-20 Thread Tim Dysinger
I'm using org-mode, org-babel swank for a living document I'm writing. I'm generating a PDF which includes documentation, working clojure code that generates incanter graphs. Also the generated incanter graphs are included in the generated (latex) PDF. On Monday, January 23, 2012 3:14:09 AM

Re: Literate programming in emacs - any experience?

2012-03-18 Thread daly
On Sat, 2012-01-28 at 06:51 -0800, Folcon wrote: Hi Tim, Personally if you have done or would be interested in doing a quick vid cast of how you progress through your workflow, I think that would be very interesting. Sorry for the delay. Here is the answer to your request. Note that the

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Sam Aaron
On 30 Jan 2012, at 17:07, daly wrote: The key result was that I discovered what I call my personal irreducible error rate. If I do 100 things I will make 3 errors. This was independent of the task. So typing 100 characters has 3 wrong letters which were mostly caught while typing. Writing

Re: Literate programming in emacs - any experience?

2012-02-01 Thread daly
On Wed, 2012-02-01 at 10:43 +, Sam Aaron wrote: On 30 Jan 2012, at 17:07, daly wrote: The key result was that I discovered what I call my personal irreducible error rate. If I do 100 things I will make 3 errors. This was independent of the task. So typing 100 characters has 3 wrong

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Hugo Duncan
Colin Yates colin.ya...@gmail.com writes: Has anybody got any real world usage reports regarding using literate programming in emacs? In particular, does paredit and slime work inside the clojure fragments when using org.babel for example? For the update in Pallet docs [1], we've been

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Mark Engelberg
On Wed, Feb 1, 2012 at 5:38 AM, Hugo Duncan duncan.h...@gmail.com wrote: SLIME works fully within the code blocks. For example C-x C-e can be used to evaluate expressions. Paredit also works. My understanding is that unless you use C-c C-k to evaluate the entire file (which I don't think works

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Hugo Duncan
Mark Engelberg mark.engelb...@gmail.com writes: On Wed, Feb 1, 2012 at 5:38 AM, Hugo Duncan duncan.h...@gmail.com wrote: SLIME works fully within the code blocks. For example C-x C-e can be used to evaluate expressions. Paredit also works. My understanding is that unless you use C-c C-k to

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Fogus
I would love to see your .emacs setup around these tools. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Hugo Duncan
Fogus mefo...@gmail.com writes: I would love to see your .emacs setup around these tools. I'll put together a blog post - my .emacs files could do with a cleanup, so this sounds like a good excuse to get it done. -- You received this message because you are subscribed to the Google Groups

Re: Literate programming in emacs - any experience?

2012-01-30 Thread daly
On Sat, 2012-01-28 at 10:04 -0500, daly wrote: On Sat, 2012-01-28 at 06:51 -0800, Folcon wrote: Hi Tim, Personally if you have done or would be interested in doing a quick vid cast of how you progress through your workflow, I think that would be very interesting. Sort of extreme

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Ulises
Here's a paper that might be interesting to folk discussing in this thread: http://www.jstatsoft.org/v46/i03/paper Cheers U -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Folcon
Hi Tim, Personally if you have done or would be interested in doing a quick vid cast of how you progress through your workflow, I think that would be very interesting. Regards, Folcon -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: Literate programming in emacs - any experience?

2012-01-28 Thread daly
On Sat, 2012-01-28 at 06:51 -0800, Folcon wrote: Hi Tim, Personally if you have done or would be interested in doing a quick vid cast of how you progress through your workflow, I think that would be very interesting. Sort of extreme pair programming with everybody? :-) There is no such

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Colin Yates
I know I would find it incredibly helpful, and would consider paying a token sum of money (£5?)... On 28 January 2012 15:04, daly d...@axiom-developer.org wrote: On Sat, 2012-01-28 at 06:51 -0800, Folcon wrote: Hi Tim, Personally if you have done or would be interested in doing a quick

Re: Literate programming in emacs - any experience?

2012-01-28 Thread daly
On Sat, 2012-01-28 at 15:27 +, Colin Yates wrote: I know I would find it incredibly helpful, and would consider paying a token sum of money (£5?)... An amusing thought but no thanks. Buy yourself a pint and swear you'll at least try to write your next program in some form of literate

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Colin Yates
Fair enough :) - deal. Assuming I ever get to leave my pit of despair (trying to get a well-known javascript charting library to render properly...how hard can these things be!). On 28 January 2012 15:41, daly d...@axiom-developer.org wrote: On Sat, 2012-01-28 at 15:27 +, Colin Yates

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Folcon
I think I could live with that :)... -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe

Re: Literate programming in emacs - any experience?

2012-01-24 Thread Colin Yates
The topic is literate programming in emacs, not eclipse ;). The trivial amount of Clojure I have done so far has all been in emacs and letting go of paredit, slime, and emacs in general is already pretty hard! On 24 January 2012 03:06, daly d...@axiom-developer.org wrote: For Eclipse I

Re: Literate programming in emacs - any experience?

2012-01-24 Thread Stuart Sierra
With a little hacking, org-babel works with Clojure editing evaluation in SLIME. I've been using it to write Clojure training materials. You need the latest versions of org-mode, SLIME, and clojure-mode. My .emacs has the relevant elisp snippets. http://github.com/stuartsierra/dotfiles -S

Re: Literate programming in emacs - any experience?

2012-01-24 Thread Colin Yates
Thanks Stuart. On 24 January 2012 14:18, Stuart Sierra the.stuart.sie...@gmail.com wrote: With a little hacking, org-babel works with Clojure editing evaluation in SLIME. I've been using it to write Clojure training materials. You need the latest versions of org-mode, SLIME, and

Literate programming in emacs - any experience?

2012-01-23 Thread Colin Yates
Hi all, There are some excellent resources on this mailing list regarding literate resources, but they are more based around the theory rather than actual use. Has anybody got any real world usage reports regarding using literate programming in emacs? In particular, does paredit and slime

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Sam Ritchie
I've been wondering this as well -- I'm specifically curious about how one might jump back and forth between literate source like thishttps://raw.github.com/nakkaya/nakkaya.com/master/resources/posts/2011-12-15-fractals-in-clojure-distributed-buddhabrot-fractal-using-clojurescript.org and the

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
On Mon, 2012-01-23 at 05:14 -0800, Colin Yates wrote: Hi all, There are some excellent resources on this mailing list regarding literate resources, but they are more based around the theory rather than actual use. Has anybody got any real world usage reports regarding using literate

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
On Mon, 2012-01-23 at 07:18 -0800, Sam Ritchie wrote: I've been wondering this as well -- I'm specifically curious about how one might jump back and forth between literate source like this and the REPL. I know you can evaluate code snippets into the repl; I'm thinking of early steps like

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Mark Engelberg
On Mon, Jan 23, 2012 at 5:14 AM, Colin Yates colin.ya...@gmail.com wrote: Has anybody got any real world usage reports regarding using literate programming in emacs?  In particular, does paredit and slime work inside the clojure fragments when using org.babel for example? I had major problems

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Colin Yates
Excellent - very nice! -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Cedric Greevey
On Mon, Jan 23, 2012 at 11:19 AM, daly d...@axiom-developer.org wrote: It accepts either noweb syntax for chunks, as in:    chunkname=      (this is lisp code)    @ A rather unfortunate choice of delimiter if you wanted to use this with Clojure code, since Clojure code frequently has internal

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Andy Fingerhut
I've only briefly scanned what I think is the relevant code in tangle.lisp posted by Tim Daly, but it appears that the @ must be the first character on a line, which with indenting I've never seen in a Clojure source file. It would be a tiny change to make the @ required to be on a line by itself,

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
On Mon, 2012-01-23 at 16:17 -0500, Cedric Greevey wrote: On Mon, Jan 23, 2012 at 11:19 AM, daly d...@axiom-developer.org wrote: It accepts either noweb syntax for chunks, as in: chunkname= (this is lisp code) @ A rather unfortunate choice of delimiter if you wanted to use

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Cedric Greevey
On Mon, Jan 23, 2012 at 6:23 PM, daly d...@axiom-developer.org wrote: On Mon, 2012-01-23 at 16:17 -0500, Cedric Greevey wrote: On Mon, Jan 23, 2012 at 11:19 AM, daly d...@axiom-developer.org wrote: It accepts either noweb syntax for chunks, as in:    chunkname=      (this is lisp code)  

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
For Eclipse I suppose we could invent a chunk syntax and create a plugin. If people are interested perhaps we could create a Literate Clojure plugin for Eclipse. See http://www.eclipse.org/articles/Article-Your%20First% 20Plug-in/YourFirstPlugin.html That would make Clojure and

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Cedric Greevey
On Mon, Jan 23, 2012 at 10:06 PM, daly d...@axiom-developer.org wrote: For Eclipse I suppose we could invent a chunk syntax and create a plugin. If people are interested perhaps we could create a Literate Clojure plugin for Eclipse. See