By not using emacs? IMO, not much. Not even paredit, since it's
available in CCW (the Eclipse Clojure plug-in) if you want it badly
enough. (With emacs-ish keyboard navigation bindings, natch. But you'd
be able to copy, paste, save files, etc. "the normal way" with CCW,
without any time spent rebinding dozens of keys first, and you'd be
able to navigate both the normal way AND the paredit way. Best of both
worlds?)
--
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
Hi James,
> I'm currently using Netbeans' clojure IDE and I quite like it.
So why are you bothering to use something else?
> but emacs, i find, is unnecessarily arcane compared to a modern java
> IDE. It's keyboard shortcuts and combinations are based on ancient
> keyboards and terminals and historical conventions, and while i can
> customize that and only use what I need, netbeans already has a
> comfortable, modern setup out of the box.
Once you are used to it, you cannot believe how anyone can get work done
with these "modern" (aka windows-like, mouse-driven, inextensible) user
interfaces. Emacs has an extremely high usability factor, but it
requires some time to become acquainted with it.
What I totally miss in any "modern" application is emacs' ability to
describe itself. `C-h k <any>' explains exactly what the <any> shortcut
does, `C-h k <click>' explains in details what a mouse click on some
text, button, or menu item does, `C-h b' shows you all currently
applicable shortcuts, and I could go on and on.
In contrast, "modern" UIs have at best some tooltip that might give a
hint on keywords you can use to search the documentation, if there's
any...
> I see that some would suggest paredit, but honestly, i don't see that,
> navigating code through keyboard shortcuts,
Paredit it about editing on syntactic units (which are lists in lisp)
instead of only characters, words, and lines. That it also offers good
navigation is only a side-effect.
> as all that much of an advantage considering that using the mouse or
> the trackpad is very convenient.
Hey, now I know two guys that really think a trackpad is convenient. ;-)
Bye,
Tassilo
I want to know how to do it with netbeans ide ?any nice step by step instructions will be very helpful ,
I'm currently using Eclipse with CCW and I quite like it. Much depends
on what you've been used to. I've worked in an Eclipse environment for
several years and use it for all my day-to-day coding needs (Java,
Scala, Clojure, CFML, HTML, JavaScript, CSS - supported by various
plugins).
> The other option that I've seen being popular is emacs with cake.
I used Emacs many years ago and when I first started getting into
Clojure I tried a few different flavors of Emacs again since it seemed
to be the editor of choice for a lot of Clojure / Lisp people. I found
it clunky - and it seemed (to me) like it really hadn't changed much
in about 20 years (which is both good and bad). So I quickly settled
back into Eclipse.
> What am I missing out on? Thanks.
If you're happy with Netbeans, especially if you're using it for other
languages, I don't think you're missing out on anything.
Switching IDEs is really a much bigger deal than a lot of people seem
to think. You have to really immerse yourself in the new IDE and stick
with it. You have to learn a lot of new stuff. Emacs fans will tell
you it's worth it. Maybe it is. But "good enough" is a perfectly good
reason not to switch.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
Minor correction: if you get used to Emacs, you'll never want to use
anything else. Not only that, you'll want to spend lots of time
customizing emacs. ;) FWIW, I've never had a problem programming Java
in emacs.
>>
>
> See, this is it. Navigating java libs, maven repositories, project
> directories, xml files, et cetera et cetera is a much more arduous
> task,
That's funny, dired, bookmarks, and lots of related capabilities are
one of the main reasons I stick with emacs. Makes dealing with that
kind of stuff almost trivial.
> Strangely, I must admit that in the past I did find vim a bit more
> modern than emacs and its keys generally more sensible, especially
> when using shift-semicolon instead of esc. I just looked it up and vim
> does have clojure support with paredit and slime. My main problem with
> emacs is that most things require too many key presses
I suggest you reserve judgement until you actually learn how to use
emacs productively. Then the misgivings you have now will probably
strike you as trivial non-issues. One reason I like emacs is
precisely because it allows me to minimize my keystrokes easily (and
almost never touch the mouse).
In the meantime, if you're reluctant to commit to climbing the
learning curve, spend some time poking around
http://www.emacswiki.org/ to see what kind of things emacs can do for
you. The point being that it is a mistake to view emacs as an editor.
Vim is an editor (and a fine one, no flames please); emacs is really
a general purpose device with specialized text-editing capabilities,
along with zillions of other built-in and add-on capabilities
developed and refined over the space of at least three decades. If
it's a programming (or admin) task, somebody has probably figured out
a way to make emacs do it efficiently and painlessly. Even cooler,
somebody has probably figured out an innovative way of thinking about
and solving it.
If keystroke count has you losing sleep, check out
http://www.emacswiki.org/emacs/SkeletonMode,
http://www.emacswiki.org/emacs/AbbrevMode,
http://www.emacswiki.org/emacs/DynamicAbbreviations (I use this one
all the time), templates, yasnippet, etc. etc. Not to mention plain
old keyboard macros which are very simple and useful.
Don't forget http://www.emacswiki.org/emacs/CategoryHumor
-Gregg
On Sun, Jun 19, 2011 at 8:57 AM, James Keats <james....@gmail.com> wrote:
Minor correction: if you get used to Emacs, you'll never want to use anything else.
Not only that, you'll want to spend lots of time customizing emacs. ;)
> directories, xml files, et cetera et cetera is a much more arduous
> See, this is it. Navigating java libs, maven repositories, project
> task,That's funny, dired, bookmarks, and lots of related capabilities are
one of the main reasons I stick with emacs. Makes dealing with that
kind of stuff almost trivial.