Feeds:
Posts
Comments

Archive for the ‘Emacs’ Category

js2-mode

Installed js2-mode the other day and was amazed with the quality of this package. Id does have some bugs, like indenting the line twice will bring the indentation back to where it was (one of the great things about the Emacs indention engine is that there’s always one correct indentation level for each line according to your settings.

But it’s still early days for js2-mode and it’s already far better than anything else I’ve tried for ECMA/JavaScript. I wish I had this earlier!

Read Full Post »

flyspell-prog-mode

I tried out flyspell-prog-mode for the first time today. It’s an on the fly spell checker for Emacs that understand what’s programming code and what’s human text.

Pretty cool. Now, there’s no excuse for having typos in the API documentation!

Read Full Post »

Emacs with on the fly Java compilation

Thanks to the blog post at www.credmp.org, I’ve got Java flymake support working in Emacs. It works surprisingly well (and fast) using the Eclipse compiler.

When setting it up, be sure to get the ecj.jar off the Eclipse website, I tried first with the ecj.jar supplied with the Debian package and that didn’t suffice.

Currently, the best solution to see the errors and warnings, is to hover the mouse over the coloured line. Works well when using a track point, but still, it would be nicer if I could get a one line message in the mini buffer.

Be that as it may, I’ve finally got Mickey Mouse help and support for generics in Emacs!

Read Full Post »

The never ending argument

I’ve started on an article concerning “why I use Emacs for J2EE development”, I’m so tired of the repetive arguments with IDEA and Eclipse users… You may read it here: http://www.skybert.nu/pages/computers/emacs/the_never_ending_argument.html

From the introduction:

Always when meeting a new java environment, such as starting a new job, joinging a new project or teaming up with the local Java user group, I get mocked for my choice of Emacs as my developing environment.

I always have to defend my choice and prove that I am as productive as the others using the modern IDEs such as IDEA and Eclipse. First after working on the project for 1-2 months, things calm down as people see that I’m dead fast on my preffered platform and that my code carries high quality.

Now, I’m not denying the fact that e.g. IDEA is a great editor. No, not at all. I am fluent in IDEA shortcuts and do commend it for being a brillian Java editing environment. The only thing I want is that the other developers show the same respect for the choice of Emacs as the developing environment and acknowledge it for its advantages, just as all the the editors have theirs.

As I am finding the arguments against Emacs repetive, I’ve figured I’d write a piece on it, and refer to this document instead of indulging in the next argument – so we could discuss something interesting instead.

Read Full Post »

Getting Emacs to calm down

I’ve been playing with the CVS version of Emacs for quite some time (years, actually), but always dismissed it for various reasons (broken SVN support, incompatible with add-on modes etc).

The last hammer was the CPU load going through the roof whenever using JDEE. I did a wee research on the topic, and it turned out that other people had the problem and had ways of fixing it. However, I’ve never really bothered before as I was quite happy with vanilla Emacs.

Then, when I friend of mine fixed the code (!) to get Emacs to calm down, I thought I should have a look as well. I found that just by compiling CEDET from source as well, linking to my CVS Emacs, the thing calmed down, now behaving quite nicely in all modes. So now I’m using CVS Emacs 90% of the time and Vanilla Emacs 10% of the time instead of the other way around ­čśë

Read Full Post »