(just) emacs mode

2011-04-27 Thread John V
Hi, I would like to have syntax highlighting for Clojure code in Emacs. I am using Emacs on Windows (23.2.1). I found this page: http://dev.clojure.org/display/doc/Getting+Started+with+Emacs ... but it was clearly much more involved than I was looking for. Nevertheless, I downloaded package.el,

Re: clojure.contrib.sql => clojure.java.jdbc - looking for feedback!

2011-04-27 Thread lispnik
Thanks for the feedback request. When I use clojure.contrib.sql, I use it for its DML only -- no create/drop table, etc. I usually manage the DDL outside of Clojure base using (for example) Liquibase so I can get rollbacks and branching easily. Perhaps DML can be factored out into a separate na

Re: (just) emacs mode

2011-04-27 Thread Sam Aaron
Hi John, On 27 Apr 2011, at 11:13, John V wrote: > Hi, I would like to have syntax highlighting for Clojure code in > Emacs. I am using Emacs on Windows (23.2.1). > > I would like to use Emacs as a text editor, not as a combination IDE/ > ftp browser. Is there a clojure mode written which is

Re: (just) emacs mode

2011-04-27 Thread gaz jones
i highly recommend taking a look at Phil Hagelberg's emacs-starter-kit : https://github.com/technomancy/emacs-starter-kit.git it helped me a LOT when getting started with emacs in general, and emacs and clojure together. i also put together a couple of blog posts on my experience of using it whic

Re: (just) emacs mode

2011-04-27 Thread Rasmus Svensson
2011/4/27 John V : > Hi, I would like to have syntax highlighting for Clojure code in > Emacs.  I am using Emacs on Windows (23.2.1).  I found this page: > > http://dev.clojure.org/display/doc/Getting+Started+with+Emacs > > ... but it was clearly much more involved than I was looking for. > Neverth

Re: (just) emacs mode

2011-04-27 Thread Rasmus Svensson
2011/4/27 John V : > Hi, I would like to have syntax highlighting for Clojure code in > Emacs.  I am using Emacs on Windows (23.2.1).  I found this page: > > http://dev.clojure.org/display/doc/Getting+Started+with+Emacs > > ... but it was clearly much more involved than I was looking for. > Neverth

Re: "closed" maps / reducing runtime errors due to mistyped keywords

2011-04-27 Thread Christian Schuhegger
Thanks for that recommendation, I definitely like that proposal! I guess the drawback is then that destructuring will not be "safe". I have to think some more time about it. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send e

Re: (just) emacs mode

2011-04-27 Thread John V
On Apr 27, 2:51 pm, Rasmus Svensson wrote: > I happened to have access to a computer running Windows 7 with exactly > that Emacs version, so I thought I'd try to investigate the error. > However, I could not reproduce it. For me, package.el was able to > access the GNU repo. Maybe this was a net

Re: clojure.contrib.sql => clojure.java.jdbc - looking for feedback!

2011-04-27 Thread Nicolas Buduroi
On Tue, Apr 26, 2011 at 2:16 PM, lispnik wrote: > ...Liquibase so I can get rollbacks and branching easily. > Off-topic question: What does branching mean in the context of Liquidbase? > I suggest not getting into the SQL in sexps/naming strategies business. > That kind of thing doesn't really

dead simple compile to jar file

2011-04-27 Thread cej38
Hi, I would like the simplest method to compile a few lines of clojure code into a jar file that I can distribute to some fellow scientists that don't know much (if anything) about java or clojure. Since I am not creating a huge product that I will be updating often, maven and Lenningen seem lik

Re: dead simple compile to jar file

2011-04-27 Thread Stanislav Paskalev
Hi, "lein uberjar" is what I believe you are looking for! Regards, Stanislav Paskalev On Wed, Apr 27, 2011 at 8:45 PM, cej38 wrote: > Hi, >  I would like the simplest method to compile a few lines of clojure > code into a jar file that I can distribute to some fellow scientists > that don't know

Re: (just) emacs mode

2011-04-27 Thread Roman Sykora
Hi Since you're working with XP, I can recommend Lisp Cabinet from http://lispcabinet.sourceforge.net/ . It has a windows istaller and works out of the box. An additional advantage may be the availability of various lisp implementations parallel to clojure. Didn't get that configured in several at

Re: clojure.contrib.sql => clojure.java.jdbc - looking for feedback!

2011-04-27 Thread Brian Carper
On Apr 26, 10:13 am, Sean Corfield wrote: > On Tue, Apr 26, 2011 at 6:19 AM, David Powell wrote: > > There is justification for resultset-seq's current behaviour, even if it > > isn't to everyone's preference. > > Agreed. And I would actually want the lowercasing behavior to remain > the default,

Re: clojure.contrib.sql => clojure.java.jdbc - looking for feedback!

2011-04-27 Thread Stuart Halloway
> I'd like to at least have the option of passing SQL query strings > verbatim to the SQL server and getting returned data verbatim as well, > with no auto-quoting or column name munging at all (including > downcasing). Name-munging can be implemented on top of functions that > return data and col

Re: Serialising functions...

2011-04-27 Thread kovas boguta
If anyone else is interested, looks like the code is at https://github.com/JulesGosnell/dada/tree/master/dada-core/src/main/java/clojure/lang Pretty simple modifications actually. Thanks to Jules for figuring it out. On Tue, Apr 26, 2011 at 2:16 PM, kovas boguta wrote: > Hi, > > This sounds v

Re: clojure.contrib.sql => clojure.java.jdbc - looking for feedback!

2011-04-27 Thread Sean Corfield
Good point. Issue added to track that. On Wed, Apr 27, 2011 at 11:58 AM, Stuart Halloway wrote: > I'd like to at least have the option of passing SQL query strings > verbatim to the SQL server and getting returned data verbatim as well, > with no auto-quoting or column name munging at all (includ

Re: dead simple compile to jar file

2011-04-27 Thread Alan
lein/maven are overkill for your users, but not for you. No matter how small your project, it really is easier and simpler with a build tool, and lein fits the bill. When you say "the compiled jar should contain..." you're informally specifying the same thing that lein and maven let you formally sp

Re: Grabbing Rotten Tomatoes movie ratings in clojure

2011-04-27 Thread justinhj
> Neat project, have you looked into using their web service API > (http://developer.rottentomatoes.com/) rather than scraping? Hi Yeah that is a good idea. The purpose of this project was that I was finding my feet with Clojure and wanted to do something that retrieved and parsed html pages. Ex

Re: (just) emacs mode

2011-04-27 Thread Phil Hagelberg
On Apr 27, 6:07 am, John V wrote: > So, I would include info about using -*- in > the .clj file and how to modify the auto-mode-alist and enable or > disable fontifying the buffer. This is the kind of thing that package.el does for you, (along with autoloading and byte-compiling) which is why doi