That said, Emacs has a very rich Elisp ecosystem that's not going away anytime soon. By focusing on extensibility from the very beginning, Emacs has done many things right (it's just an Elisp interpreter with some editor functions bundled in); in comparison, Vim is a dumb-text editor focusing on keybindings, with extensibility as an afterthought. I don't think it is possible to replace Emacs today, primarily because writing a truly extensible text editor is a huge project with many boring parts, and there is no money to be made as a result. Elisp does have its drawbacks, and the Emacs community is suffering because of "philosophical" decisions like bzr (a dead project), instead of focusing on technical merit. So, the project will die a slow painful death, but I don't think that's happening anytime soon.
The takeaway is that Elisp needs to learn to interface with other languages better. There is a dead Elisp Ruby bridge [5], but clearly not enough has been done about it.
[1]: https://github.com/auto-complete/auto-complete
[2]: https://github.com/Valloric/YouCompleteMe/blob/master/autolo...
[3]: https://github.com/Valloric/YouCompleteMe/blob/master/cpp/yc...
[4]: https://github.com/brianjcj/auto-complete-clang/blob/master/...