M-x lotr-xylophone command.Google chrome immediately restyles a page if the css is locally stored and the file changes, no matter what editor you use.The Chrome developer panel is also really nice. You can view the DOM tree (the live one, including everything generated at runtime) and it will show you where on the page the element you're looking at is. And you can edit CSS properties in real time as well. So you can tweak a page really easily.
the average web developer doesn't have the kinds of emacs hacking skills to roll their own solutions to these sorts of tasks.Or more importantly, maybe they don't have the time. I mean, if you have a project you want to get done maybe this live coding for HTML thing will accelerate that by a slight amount, but how much time would it take to code up a plug in for emacs to do so?
As for "extending" emacs to support live-coding. It's been in there for a long, long time. SLIME has been around for 10 years and it's the new kid on the block.Again, being able to live code lisp is not the same thing as being able to live code javascript. How many web coders even know lisp? You can't script web pages in it. It's like if someone came up with a tool to fix a car, and you say "Well, you can just use X, it can totally fix bikes!" (There are some methods to embed lisp in HTML using interpreters or conversions and stuff, but the live coding in emacs won't help you view the output in a browser, as far as I know)
It's just Clojure.I was actually looking into Clojure a while back and there are interesting web technologies for it. But they seemed to be geared towards the server side HTML generation (where you generate a clojure list representing your dom and then that gets converted to HTML). It was pretty interesting, but seemed very 'experimental'. There's also a version of clojure that runs in javascript, so you can actually write code in Clojure and have it run in the browser.
« Older 1,143,839,622,748,050,000,000,000,000 Sonnet Anagr... | How to Walk Your Human: by Kod... Newer »
This thread has been archived and is closed to new comments
Needs something that says, download and run this!
I'm still looking for a good CSS editing app.
posted by cjorgensen at 6:47 AM on June 26, 2012 [1 favorite]