auto-complete / auto-complete

Emacs auto-complete package
http://auto-complete.github.io/
Other
1.72k stars 287 forks source link

Why people are turning away from this package? #503

Open Compro-Prasad opened 6 years ago

Compro-Prasad commented 6 years ago

I used to use it a year ago but seeing people switching to company-mode makes me feel uncomfortable. What is it that auto-complete isn't providing because of which people are switching to company-mode?

mpfeifer commented 6 years ago

Maybe the Original owner of this Repository hast turned away for some reasons. Btw its always possible to fork the project under more active ownership :-)

articuluxe commented 6 years ago

It does seem that company is more actively maintained.

I stick with auto-complete because its terminal support is IMO better than company; and tooltips seem to work better than company (though it’s been a while since I did the comparison).

On May 29, 2018, at 4:58 PM, Matthias notifications@github.com wrote:

Maybe the Original owner of this Repository hast turned away for some reasons. Btw its always possible to fork the project under more active ownership :-)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

grettke commented 6 years ago

It still use it and it seems fine.

For me it is worth picking up if it quits working.

ylluminarious commented 6 years ago

Seems to mainly boil down to hype and marketing. Lots of people online are very vocal about company being "better." In some regards, this is true. In other regards, I think the packages are basically on par with each other.

One important thing to note is that company is in GNU ELPA which helps visibility a lot and gives some assurance that it probably won't ever get too awfully stale.

I would like to address some technical points, though. Among other things, people often claim that company has:

  1. cleaner code
  2. less bugs
  3. better API

My response to these claims, in order:

  1. It probably has cleaner code, since large swathes of popup.el (the library that auto-complete relies on) are undocumented and hard to read.
  2. Fewer bugs? Meh, maybe. I haven't seen company being much less buggy than auto-complete.
  3. Better API? Perhaps. There is certainly more community activity going on for company which can certainly help that sort of thing.

However, one important detail regarding community involvement that should not be neglected is that company is an official GNU package. This means that one has to sign copyright assignment papers to the FSF before contributing to company. Just an important detail to keep in mind.

Personally, I use auto-complete because I found it first (due to the much more intuitive name). I'm already entrenched in it since I have other packages which rely on auto-complete and it works well enough for daily usage. There are some annoying things and the lack of community support has put folks like me on a dead-end road. We'll all probably have to switch to company someday due to the auto-complete developers' abandonment of the project.

There is one actual issue, though, that stands out in both of the projects to me. So far, only a few others seem to care about this, but I'm surprised that it's not more urgent to the developers of either project. Zooming in on a buffer breaks the completion popup, in both company and auto-complete. I've spoken about this here and here. The only thing that exists to address this issue is "company-postframe" (gotta love these unintuitive names). But this is quite experimental and probably brittle.

Aside from this singular issue, both of these packages seem mostly the same from an end-user perspective. I really wish auto-complete would get forked and revitalized so that people like me don't have to declare auto-completion bankruptcy and shuffle around large parts of our configs someday. But maintaining a fork of this project would take a lot of time and effort, which I do not have.

If there is someone out there who could take up the torch, you'd certainly have a lot of people who'd appreciate it.

cyrialize commented 6 years ago

I'm a company-mode user, I've only tried auto-complete a tiny bit - so I can't really give any functionality comparisons. To add onto what @ylluminarious said I think an important thing to note is that auto-complete has documentation while company-mode does not.

This may not be a big deal for some people - since you can always look through code and read the docstrings, but I think documentation is incredibly important because it can contain extra tidbits that docstrings and comments may not have. Company-mode gives one the ability to add great amounts of customization - and it'd be great if there was accompany documentation show some examples of this. Instead, you're forced to either look through the company code or look at other peoples code. If you're someone just getting started with emacs that's a daunting task to take on.

Heck, to get completion working in emacs you basically have two choices (besides what's already there in emacs)

If auto-complete development was still active I'd definitely be an auto-complete user than a company-mode user.

ylluminarious commented 6 years ago

@jonnycyr I completely agree. Auto-complete's documentation is something that I neglected to mention. Actually, auto-complete's documentation has helped me quite a lot in the past. You are right; company-mode's lack of documentation is a serious deficiency. It's important for beginners to have things like info manuals or just anything more than docstrings. Even for long-time Emacs users, manuals are still quite helpful. English is just easier for our brains to parse than Lisp, if for no other reason than it is what we speak.

coretemp commented 6 years ago

I don't know. A recent version does work with Emacs 26.1.

ylluminarious commented 6 years ago

@coretemp Hmm, that's strange. My installation of auto-complete was compiled with Emacs 26.1 a few months ago and I had no such errors which prevented compilation.

coretemp commented 6 years ago

@ylluminarious Yes, I wrote the comment a bit too early. I got it to work by changing package source.

ylluminarious commented 6 years ago

@coretemp Ok, gotcha.

zw963 commented 4 years ago

In fact, i use emacs-git (version 27), auto-complete still work well for me.

Personally, I use auto-complete because I found it first (due to the much more intuitive name). I'm already entrenched in it since I have other packages which rely on auto-complete and it works well enough for daily usage.

In fact, this is the same reason for me still keep use auto-complete, but the fact is, some new created package was not support auto-complete anymore, it just support company-mode, we have to find out a 3-party package to working with those new package.

ylluminarious commented 4 years ago

@zw963 Sorry for your predicament. Some months ago, I faced the same problem, so I just bit the bullet and moved to company-mode. I'm not sure if auto-complete has much of a future anymore, unless someone takes up the torch and continues maintaining the project. It's just a matter of time until it stops working altogether. It's hard to keep using a library which is being deprecated and dropped by most other packages.

tarsius commented 4 years ago

Please note that this repository is now looking for a new maintainer. See #509.

ylluminarious commented 4 years ago

@tarsius Maybe announce this on /r/emacs or emacs-devel to get some visibility? I'm not volunteering for the position myself at this time.

dickmao commented 4 years ago

Why people are turning away from this package?

There is little to recommend auto-complete over company. It's only slightly faster in certain contexts but its shortcomings in capability and extensibility (hardcoded keywords, etc.) is a direct reflection of a deficit of man-hours spent, not the quality of the software.

ArneBab commented 3 years ago

I prefer auto-complete, because it feels snappier and the overlays in the terminal are great. The one problem I had with it when completing in mu4e turned out to also appear in company-mode — but when I realized that I had already switched to company mode because of this problem and because I read that auto-complete is not maintained anymore.

Seeing that auto-complete isn’t completely unmaintained anymore, I might switch back to auto-complete soon.