Ask HN: How to work with modern C++ using Emacs?
1–9 of 9 posts
Re: Ask HN: How to work with modern C++ using Emacs?
#2Re: Ask HN: How to work with modern C++ using Emacs?
#3https://github.com/Andersbakken/rtags
Re: Ask HN: How to work with modern C++ using Emacs?
#4https://github.com/Andersbakken/rtags
I've checked that option couple months ago. If I remember correctly: rtags was slow, incomplete (you need extra packages for example to follow header files/auto complete header files), with more complicated project you end up with .dir-locals.el, it had problems with switching between desktop/embedded (yocto) builds, overall complicated setup. So many issues with rtags that I didn't even bother to check how it works…
Re: Ask HN: How to work with modern C++ using Emacs?
#5Earlier quoted context omitted.
I've checked that option couple months ago. If I remember correctly: rtags was slow, incomplete (you need extra packages for example to follow header files/auto complete header files), with more complicated project you end up with .dir-locals.el, it had problems with switching between desktop/embedded (yocto) builds, overall complicated setup. So many issues with rtags that I didn't even bother to check how it works…
Were there cases where rtags was not finding headers from your compilation database?
"RTags protocol version mismatch. This is usually caused by getting rtags.el from melpa and installing a new rtags build that modified the protocol. They need to be in sync."
Anyway, I remember that I had negative experience with rtags.
Re: Ask HN: How to work with modern C++ using Emacs?
#6Earlier quoted context omitted.
I've checked that option couple months ago. If I remember correctly: rtags was slow, incomplete (you need extra packages for example to follow header files/auto complete header files), with more complicated project you end up with .dir-locals.el, it had problems with switching between desktop/embedded (yocto) builds, overall complicated setup. So many issues with rtags that I didn't even bother to check how it works…
Were there cases where rtags was not finding headers from your compilation database?
Re: Ask HN: How to work with modern C++ using Emacs?
#7Earlier quoted context omitted.
I've checked that option couple months ago. If I remember correctly: rtags was slow, incomplete (you need extra packages for example to follow header files/auto complete header files), with more complicated project you end up with .dir-locals.el, it had problems with switching between desktop/embedded (yocto) builds, overall complicated setup. So many issues with rtags that I didn't even bother to check how it works…
Were there cases where rtags was not finding headers from your compilation database?
As 'Disclaimer' in https://github.com/Andersbakken/rtags/blob/master/README.org says: 'RTags is still under development and is not the most stable piece of software you’ll ever find.'. Bugtracker on github has 123 opened issues.
Do you consider RTags as serious option?
Re: Ask HN: How to work with modern C++ using Emacs?
#8Earlier quoted context omitted.
Were there cases where rtags was not finding headers from your compilation database?
Ok, I've got it running. So the problem is: rtags-find-symbol-at-point opens wrong header files. I'm using custom sdk for embedded target generated by yocto. I need to be able to switch back and forth between desktop and embedded targets. Is this use case supported by rtags?
Re: Ask HN: How to work with modern C++ using Emacs?
#9You might want to try asking https://emacs.stackexchange.com/questions/ask or https://www.reddit.com/r/emacs/ though