code chunks and rebuilding clojure and the book
3) making text-only modifications and rebuilding only the PDF
Has anybody got any real world usage reports regarding using
literate programming in emacs? In particular, does paredit
and slime work
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
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 work inside
UTC-10, 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
programming in emacs
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
use.
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?
Finally - how are people finding practising TDD with literate programming?
I imagine
programming in emacs? In particular, does paredit and slime
work inside the clojure fragments when using org.babel for example?
I've been using literate programming for years in Axiom.
Basically I write in a buffer containing latex, my literate tool
of choice. I have a *shell* buffer open running
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
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
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
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
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,
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
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)
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
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
I was able to get org-babel evaluation working with Clojure. Requires
latest versions of Clojure mode, Org mode, and Lein. Check out my dotfiles
repo for examples.
https://github.com/stuartsierra/dotfiles
-S
--
You received this message because you are subscribed to the Google
Groups Clojure
Andrew ache...@gmail.com writes:
Eric asks: The only function ob-clojure uses from swank-clojure is
swank:interactive-eval-region' (used with `slime-eval') in the
org-babel-execute:clojure' function. Which function would now be used
to evaluate a region of clojure code? Would
I found [1] from Eric Schulte which says to add certain package archives
such that ELPA finds swank-clojure... But what about the swank-clojure
elisp package being deprecated? (By the way, I do get further now... the
clojure code evaluates)
(setq package-archives
'((original.
Andrew ache...@gmail.com writes:
I found [1] from Eric Schulte which says to add certain package
archives such that ELPA finds swank-clojure... But what about the
swank-clojure elisp package being deprecated?
swank-clojure.el is definitely deprecated, but there could still be code
out there
Eric asks: The only function ob-clojure uses from swank-clojure is
`swank:interactive-eval-region' (used with `slime-eval') in the
`org-babel-execute:clojure' function. Which function would now be used to
evaluate a region of clojure code? Would `slime-eval-region' suffice?
--
You received
As you know, now I get
org-babel-execute:clojure:Cannot open load file: swank-clojure
The method org-babel-execute:clojure in my
.emacs.d/elpa/org-2029/ob-clojure.el file says (require 'swank-clojure).
Given that the swank-clojure elisp package is deprecated and should not be
used what
Here's a pew literate programs I've written, as well as the website on
which they are hosted.
http://hg.bortreb.com/abomination/
http://hg.bortreb.com/aurellem/
http://hg.bortreb.com/cortex/
http://www.aurellem.com
I use some emacs scripts to automate tangling and weaving.
and inferior lisp when doing literate
programming in emacs? I want to keep all of my crutches like paredit-mode,
syntax highlighting, symbol completion, etc. Do I have to be in an inferior
lisp and lose all that?
--
You received this message because you are subscribed to the Google
Groups
On Tue, Nov 29, 2011 at 8:34 AM, Andrew ache...@gmail.com wrote:
How is it that you have swank-clojure in your elpa directory? M-x
list-packages does not have swank-clojure as an option.
The swank-clojure elisp package is deprecated and should not be used.
Why does your elpa directory have
Here's the relevant bit of my .emacs for Babel + Clojure:
https://github.com/stuartsierra/dotfiles/blob/cb88b1ca020fd5beebb3de092f12aa27daddd779/.emacs#L203
This requires Org mode version 7.7.
I mostly use inferior-lisp mode instead of SWANK/SLIME.
-S
--
You received this message because you
I would be really interested to see some examples of
literate programs. Please consider releasing them as
open source, possibly pushed to github.
Tim Daly
On Tue, 2011-11-29 at 11:26 -0800, Stuart Sierra wrote:
Here's the relevant bit of my .emacs for Babel + Clojure:
Haven't done any recently. A long, long time ago I wrote a Common Lisp
FFI tool using a Literate Programming tool called noweb.
It's so old it predates GitHub: http://stuartsierra.com/software/perl-in-lisp
-S
--
You received this message because you are subscribed to the Google
Groups Clojure
I did not encounter that particular problem. But to compare, my
project file is
...
:dependencies [[org.clojure/clojure 1.3.0]]
:dev-dependencies [[jline 0.9.94]
[swank-clojure 1.3.0 :exclusions [org.clojure/
clojure]]]
...
and my current ~/.emacs.d/elpha folder
Andrew:
Make sure you have
(require 'ob-clojure)
in your controlling emacs file (mine is username.el).
-ck
On Nov 23, 12:00 pm, Andrew ache...@gmail.com wrote:
Here's my attempt at following the steps
athttp://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html.
*The
Thanks! Next step: org-babel-execute:clojure:Cannot open load file:
swank-clojure ...
--
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
For those who do Literate Programming in Emacs, what do you use? I was
looking at
org-babel-clojurehttp://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.htmlwhich
says:
You will need to install the following packages: clojure-mode,
swank-clojure, slime, slime-repl
But when
I should add that I am starting with a working setup (able to M-x
clojure-jack-in and compile and execute stuff in the REPL as expected).
--
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
It should work as expected if you follow
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-clojure.html
and use the stand-alone version of swank-clojure (Section Connecting
with SLIME https://github.com/technomancy/swank-clojure).
Looking at ob-clojure.el
, at 4:28 PM, Andrew ache...@gmail.com wrote:
For those who do Literate Programming in Emacs, what do you use? I was
looking at org-babel-clojure which says:
You will need to install the following packages: clojure-mode, swank-clojure,
slime, slime-repl
But when I list-packages, swank
54 matches
Mail list logo