(just) emacs mode
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, loaded it, set the location for marmalade, and gave it a shot, but as expected, it didn't work. It said, Failed to download 'gnu' archive. 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 simple to download and use? I used ILISP for many years, and I've encountered SLIME when I was using SBCL, but never got it working properly on Windows. I know how cool and powerful an integrated environment like ILISP can be, but also how buggy it can be, and at the moment, I just don't think it's worth the effort to get it working. For now, I prefer to run Clojure in a Command Prompt, and use Emacs solely as a text editor. Thanks very much for any advice. -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: clojure.contrib.sql = clojure.java.jdbc - looking for feedback!
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 namespace? Also, I am not interested in building statements in Clojure sexps, for example I am quite happy using clojure.contrib.sql like this, which I personally find readable: (with-connection *connection* ... (do-prepared insert into password_reset (user_id, token) select id, ? from user where user.email = ? on duplicate key update token = ?, creation_date = now() [token username token]) token))) I suggest not getting into the SQL in sexps/naming strategies business. That kind of thing doesn't really fall under the scope of JDBC, which clojure.java.jdbc should be modeled around. update-or-insert-values can probably be removed as it currently contains a race condition depending on the transaction isolation level. One has to use a vendor specific feature (on duplicate key update in MySQL, merge in Oracle etc.). The row as a structmap works well. 90% of the time I use use select foo_bar as \foo-bar\... to get a Clojure-ish map key. Other 10% I might also have to apply a transformation to the row, especially when working with legacy databases. I thought having something like: (with-query-results rs transform-fn [ ... params...] (first rs)) So that by the time I call (first rs), transform has already been applied, but (map transform-fn rs) is trivial enough also. -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: (just) emacs mode
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). SNIP 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 simple to download and use? A couple of good starting points are * emacs-starter-kit: https://github.com/technomancy/emacs-starter-kit * live coding emacs config: https://github.com/overtone/live-coding-emacs I used the starter kit when I got started with emacs and found it very useful. As everyone should with emacs, I started modifying it to do the kinds of things I wanted and ended up with the live coding emacs config which is set up just the way I like it for Clojure coding with emacs. You might find some inspiration looking at these. Sam --- http://sam.aaron.name -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: (just) emacs mode
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 which might be useful for you: http://blog.gaz-jones.com/post/2486737162/setting-up-clojure-development-on-osx-using-emacs-and http://blog.gaz-jones.com/post/2501842155/interactive-clojure-development-in-emacs-with-leiningen gaz On Wed, Apr 27, 2011 at 5:13 AM, John V johnv02...@gmail.com wrote: 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, loaded it, set the location for marmalade, and gave it a shot, but as expected, it didn't work. It said, Failed to download 'gnu' archive. 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 simple to download and use? I used ILISP for many years, and I've encountered SLIME when I was using SBCL, but never got it working properly on Windows. I know how cool and powerful an integrated environment like ILISP can be, but also how buggy it can be, and at the moment, I just don't think it's worth the effort to get it working. For now, I prefer to run Clojure in a Command Prompt, and use Emacs solely as a text editor. Thanks very much for any advice. -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: (just) emacs mode
2011/4/27 John V johnv02...@gmail.com: 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, loaded it, set the location for marmalade, and gave it a shot, but as expected, it didn't work. It said, Failed to download 'gnu' archive. 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 simple to download and use? I used ILISP for many years, and I've encountered SLIME when I was using SBCL, but never got it working properly on Windows. I know how cool and powerful an integrated environment like ILISP can be, but also how buggy it can be, and at the moment, I just don't think it's worth the effort to get it working. For now, I prefer to run Clojure in a Command Prompt, and use Emacs solely as a text editor. Thanks very much for any advice. If you are only interested in the editing features, you just need clojure-mode. You can get it directly at: https://github.com/technomancy/clojure-mode // raek -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: (just) emacs mode
2011/4/27 John V johnv02...@gmail.com: 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, loaded it, set the location for marmalade, and gave it a shot, but as expected, it didn't work. It said, Failed to download 'gnu' archive. 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 network issue? One thing you could try (if you still are interested in using package.el, that is) is to leave out the GNU repo, since it's not used in the tutorial. The Marmalade repo, which supersedes the original ELPA repo, should contain everything you need to follow the tutorial. In the instructions you linked, replace this: (add-to-list 'package-archives '(marmalade . http://marmalade-repo.org/packages/;)) with this: (setq package-archives '((marmalade . http://marmalade-repo.org/packages/;))) I could add editing-only instructions to the Getting Started page this evening. Do you have any comments regarding what they should contain? // raek -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: closed maps / reducing runtime errors due to mistyped keywords
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 email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: (just) emacs mode
On Apr 27, 2:51 pm, Rasmus Svensson r...@lysator.liu.se 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 network issue? Yes, very likely. But, I don't want to debug the network issue. :) (I'm using Windows XP, which could be relevant, but more likely it's a problem with my proxy or some other network configuration issue.) I can try again from home later on. One thing you could try (if you still are interested in using package.el, that is) is to leave out the GNU repo, since it's not used in the tutorial. The Marmalade repo, which supersedes the original ELPA repo, should contain everything you need to follow the tutorial. In the instructions you linked, replace this: (add-to-list 'package-archives '(marmalade . http://marmalade-repo.org/packages/;)) with this: (setq package-archives '((marmalade . http://marmalade-repo.org/packages/;))) I could add editing-only instructions to the Getting Started page this evening. Do you have any comments regarding what they should contain? // raek Thanks! Well, of course the URL (which, by the way, turned into: https://github.com/technomancy/clojure-mode ..., redirected from the URL you supplied), with perhaps an explanation of the four files, specifically clojure-test-mode.el. I'm not sure, there is a delicate balance between writing enough for beginners to follow, and being brief enough to not bore/annoy experienced users. I would prefer to err on the case of too much information, particularly since I suspect that emacs is the best way to edit Clojure files. 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. I could take a swipe at writing something up if you like. -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: clojure.contrib.sql = clojure.java.jdbc - looking for feedback!
On Tue, Apr 26, 2011 at 2:16 PM, lispnik burnsid...@gmail.com 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 fall under the scope of JDBC, which clojure.java.jdbc should be modeled around. I'm with you on that one. The row as a structmap works well. 90% of the time I use use select foo_bar as \foo-bar\... to get a Clojure-ish map key. Other 10% I might also have to apply a transformation to the row, especially when working with legacy databases. I thought having something like: (with-query-results rs transform-fn [ ... params...] (first rs)) So that by the time I call (first rs), transform has already been applied, but (map transform-fn rs) is trivial enough also. Is that good enough for you: https://github.com/clojure/java.jdbc/issues/7#issuecomment-1060402 I could always add an extra optional argument to with-query-results. -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
dead simple compile to jar file
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 like overkill. The compiled jar file should contain the relevant clojure and clojure.contrib stuff within it, so that the other users don't have to worry about downloading clojure/contrib. Also, I would rather not unpack jar files from libraries that I used, if possible. Clojure's compile function is tantalizing, but then everyone would need to have the same versions of the libraries that I used, not just clojure and contrib. Thanks. Chad -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: dead simple compile to jar file
Hi, lein uberjar is what I believe you are looking for! Regards, Stanislav Paskalev On Wed, Apr 27, 2011 at 8:45 PM, cej38 junkerme...@gmail.com 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 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 like overkill. The compiled jar file should contain the relevant clojure and clojure.contrib stuff within it, so that the other users don't have to worry about downloading clojure/contrib. Also, I would rather not unpack jar files from libraries that I used, if possible. Clojure's compile function is tantalizing, but then everyone would need to have the same versions of the libraries that I used, not just clojure and contrib. Thanks. Chad -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: (just) emacs mode
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 attempts before. I saw on the website that there was an update, which I have not tried, but used its predecessor a few month ago after I got frustrated with manual installing emacs, slime, swank and whatnot and something didn't work everytime. It was the best installation/configuration so far. Since then I switched over to ubuntu, and I it seems that despite emacsW32 on dos, emacs fits more naturally on a unix based system. YMMV Sincerely Roman Syora On Apr 27, 3:07 pm, John V johnv02...@gmail.com wrote: On Apr 27, 2:51 pm, Rasmus Svensson r...@lysator.liu.se 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 network issue? Yes, very likely. But, I don't want to debug the network issue. :) (I'm using Windows XP, which could be relevant, but more likely it's a problem with my proxy or some other network configuration issue.) I can try again from home later on. One thing you could try (if you still are interested in using package.el, that is) is to leave out the GNU repo, since it's not used in the tutorial. The Marmalade repo, which supersedes the original ELPA repo, should contain everything you need to follow the tutorial. In the instructions you linked, replace this: (add-to-list 'package-archives '(marmalade . http://marmalade-repo.org/packages/;)) with this: (setq package-archives '((marmalade . http://marmalade-repo.org/packages/;))) I could add editing-only instructions to the Getting Started page this evening. Do you have any comments regarding what they should contain? // raek Thanks! Well, of course the URL (which, by the way, turned into:https://github.com/technomancy/clojure-mode ..., redirected from the URL you supplied), with perhaps an explanation of the four files, specifically clojure-test-mode.el. I'm not sure, there is a delicate balance between writing enough for beginners to follow, and being brief enough to not bore/annoy experienced users. I would prefer to err on the case of too much information, particularly since I suspect that emacs is the best way to edit Clojure files. 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. I could take a swipe at writing something up if you like. -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: clojure.contrib.sql = clojure.java.jdbc - looking for feedback!
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 column names verbatim, but the opposite is not true. --Brian +1. It should be a guiding principle that contribs provide the building blocks first, then the buildings. Stu Stuart Halloway Clojure/core http://clojure.com -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Serialising functions...
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 kovas.bog...@gmail.com wrote: Hi, This sounds very interesting and useful. Is the source code available somewhere? Or a more detailed description? Thanks On Fri, Mar 4, 2011 at 1:48 AM, Jules jules.gosn...@gmail.com wrote: So, Just a quick update. I gave the client-side ClassLoader encapsulation idea some more thought and rejeted it (sorry) for the reasons that : - I've lived through J2EE ClassLoader hell and don't want to repeat the experience - I'm looking towards an architecture where I can define new types on any node of my Clojure data-grid and have them accessible in any other node. This might be done by keeping my class-name:bytecode table in a clustered cache and inserting a single ClusteredClassLoader (NYI) into the client's ClassLoader hierarchy. Each client would be able to mix classes from multiple server JVMs without having to be concerned about keeping them all segregated. So, I introduced the concept of a per-jvm id and hacked it into RT, Compiler and LispReader. There were not too many places that needed to be changed. The result is, I can now create a type in one jvm, create an instance of the type, serialise it, ship the bytes to another jvm and deserialise it, at which point the instance's class is pulled from the original jvm. No more nasty exceptions because of name collisions etc. I have plumbed this infrastructure in underneath my app and, with the exception of some unrelated bugs that I am chasing down, everything seems to work beautifully :-) There are some limitations with this technique that I haven't looked into too deeply yet - the most obvious one is that whilst remote types can be made available within a local jvm, this is only at the java level, so extra things that defrecord might do for you like intern the classname as a symbol in your current namespace are not being done - which, I can currently live with, but I can see this being a tripping point to a completely transparent solution. For me, this is a great leap forward as I have found each Clojure JVM an island until I got this working, but now I should be able to build a distributed app in Clojure without having to sacrifice Clojure's dynamicity in the process - I can have my cake and eat it :-) I'm going to play with it for a few days, iron out all my other issues and investigate exactly what I have achieved, then I will post back a proper description in case anyone else is trying to build distributed Clojure apps in a similar manner. cheers Jules On Mar 3, 2:30 pm, Jules jules.gosn...@gmail.com wrote: On Mar 3, 1:22 pm, Alessio Stalla alessiosta...@gmail.com wrote: On Thursday, March 3, 2011 11:46:03 AM UTC+1, Jules wrote: Thanks, Alessio, I did know this, but it is a welcome addition to the thread. Ok. Classloaders are a tricky matter and many people don't have clear ideas about them - sorry for assuming you were one of those people :) np :-) I reread my last posting and it was a bit confused - I've done a little research in the Compiler class and can now clarify what I think is happening. Clojure 1.3.0-alpha4 user= (type (fn [])) user$eval1$fn__2 user= Here I have created a new function and asked it for its class. Clojure has emitted bytecode on the fly to implement this and packed this into a Java Class. A Class has a name unique - as you pointed out - within its ClassLoader, so to avoid name collisions, Clojure attempts to create a unique name for the class. This is composed, amongst other things from its namespace and RT.nextID() (I'm assuming RT = RunTime). RT.nextID seems to start at 0 and allocate ids sequentially - lets create another fn : user= (type (fn [])) user$eval5$fn__6 user= I suspect that the gap between 2 and 6 is due to other processes going on behind the scenes which require ids, rather than some intentional design - but haven't checked. This all works fine in a single JVM - no two functions will end up creating types with the same name - however if I take the class for a function from [a ClassLoader in] one clojure runtime and copy it across to another clojure runtime that has already allocated this classes id to another [in the receiving ClassLoader] then I would see a collision. I think that this is what is happening above. I am serialising an object in one jvm, putting it into a message and sending the message to another jvm. Upon receipt I attempt to deserialise the object contained in the message. This involves looking up its class by name [within the scope of a ClassLoader] - but the name has already been allocated to a local class
Re: clojure.contrib.sql = clojure.java.jdbc - looking for feedback!
Good point. Issue added to track that. On Wed, Apr 27, 2011 at 11:58 AM, Stuart Halloway stuart.hallo...@gmail.com 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 (including downcasing). Name-munging can be implemented on top of functions that return data and column names verbatim, but the opposite is not true. --Brian +1. It should be a guiding principle that contribs provide the building blocks first, then the buildings. -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: dead simple compile to jar file
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 specify and automate. Create a lein project with those libraries as dependencies, and then lein uberjar will package it all up neatly into a single jar for you. On Apr 27, 1:45 pm, cej38 junkerme...@gmail.com 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 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 like overkill. The compiled jar file should contain the relevant clojure and clojure.contrib stuff within it, so that the other users don't have to worry about downloading clojure/contrib. Also, I would rather not unpack jar files from libraries that I used, if possible. Clojure's compile function is tantalizing, but then everyone would need to have the same versions of the libraries that I used, not just clojure and contrib. Thanks. Chad -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Grabbing Rotten Tomatoes movie ratings in clojure
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. Extending it to use the developer API looks like a fun next step which I will probably do. Justin -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: (just) emacs mode
On Apr 27, 6:07 am, John V johnv02...@gmail.com 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 doing it manually is not explained. It's more awkward right now because package.el is not included in Emacs 23, but once Emacs 24 is released, you won't have to install package.el yourself. -Phil -- 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 group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en