Live data from Hacker News

Emacs is sexy

emacs.sexy

11–20 of 97 posts

Re: Emacs is sexy

#11
post #4

I've been using Emacs for over 15 years now and I do almost all my work in it. The two things that I still haven't found good solutions for in emacs are available out of the box in almost every editor today: 1. Autocomplete of methods, classes, variables etc 2. Auto import statement organisation Yes I am aware of JDEE for #2 and I am aware of emacswiki/autocomplete but none of those solutions are as smooth, well inte…

Did you have a chance to look at

https://github.com/emacs-lsp/lsp-java

Microsoft's Language Server Protocol might be just the thing that takes Emacs sexiness to an entirely different level.

Re: Emacs is sexy

#12
post #4

I've been using Emacs for over 15 years now and I do almost all my work in it. The two things that I still haven't found good solutions for in emacs are available out of the box in almost every editor today: 1. Autocomplete of methods, classes, variables etc 2. Auto import statement organisation Yes I am aware of JDEE for #2 and I am aware of emacswiki/autocomplete but none of those solutions are as smooth, well inte…

One word: emacs-eclim.

It basically takes the power of eclipse and runs it in a lightweight daemon, then ports most of the features (auto completion, refactoring, automatic imports, etc) directly to emacs.

Re: Emacs is sexy

#13
post #4

I've been using Emacs for over 15 years now and I do almost all my work in it. The two things that I still haven't found good solutions for in emacs are available out of the box in almost every editor today: 1. Autocomplete of methods, classes, variables etc 2. Auto import statement organisation Yes I am aware of JDEE for #2 and I am aware of emacswiki/autocomplete but none of those solutions are as smooth, well inte…

java-imports: https://github.com/dakrone/emacs-java-imports

Re: Emacs is sexy

#14
post #9

Emacs itself isn't sexy; the sole reason I use emacs is the power and extensibility offered by emacs lisp. If vim used elisp instead of shudders vimscript, I would use it in a heartbeat.

Elisp (or even better, Guile) are definitely huge reasons to use emacs for me, but there are many, many other things I use it for instead of vim (which I also know, and have used for over 20 years).

org-mode and w3m (a web browser that can be integrated in to emacs) are my two biggest draws, but eventually I mean to get the mail client working, give the shell modes another try, and maybe get the irc and RSS clients going too. The sky's the limit with emacs, while vim does more closely stick to being just an editor.

All that said, I still use vim when I need it, such as for getting syntax highlighting of strace files, which last time I checked, emacs did not have a mode for. vim is also often much faster on large files.

Re: Emacs is sexy

#17
post #4

I've been using Emacs for over 15 years now and I do almost all my work in it. The two things that I still haven't found good solutions for in emacs are available out of the box in almost every editor today: 1. Autocomplete of methods, classes, variables etc 2. Auto import statement organisation Yes I am aware of JDEE for #2 and I am aware of emacswiki/autocomplete but none of those solutions are as smooth, well inte…

For #1, maybe company-mode can be of assistance? I haven't used it with Java (I never had to write enough of it to need Emacs), but I imagine it works.

Re: Emacs is sexy

#20
post #4

I've been using Emacs for over 15 years now and I do almost all my work in it. The two things that I still haven't found good solutions for in emacs are available out of the box in almost every editor today: 1. Autocomplete of methods, classes, variables etc 2. Auto import statement organisation Yes I am aware of JDEE for #2 and I am aware of emacswiki/autocomplete but none of those solutions are as smooth, well inte…

Is that a Java-specific thing? My experience with C++ is that ever since libclang became widely used, autocompletion works really well—but that's because libclang is so good. Is there an analog of libclang for Java?

What package are you using for your Emacs back end for completion? I've tried several and never really found them stable or even working in some cases. I write a couple thousand lines of C++ every week in emacs and I've actually become very productive without auto completion, so perhaps I'm not missing it anymore at all.
Post reply on HN