complaints, IT et al.
However inconvenient #autotools are, they're way more convenient than the tens of "better" incompatible "alternatives". And autotools are also more robust than all sorts of the IDE-specific "project" formats, made to hide the complexity/flexibility behind a bunch of GUI components.
Generally, I'd call this kind of situation a fake diversity: it only offers all the drawbacks of the fragmentation without any real new features let alone superior quality.
Emacs modes, IDEs
@amiloradovsky Have you tried dumb-jump in Emacs? It's a zero-configuration package that lets you jump quickly into and out of function definitions using just naming heuristics (hence "dumb"). Has worked pretty well for me for a variety of languages. It can also work alongside any other jump-to-definition mechanism you may already have.
If you're connecting to U-Boot etc. over #UART (two-three wires only, not the full-blown RS-232), you should disable hardware flow control in #Minicom, so you can type in commands. You should also just ignore the "offline" status.
If you have more than one Minicom session running at a time, give each of them different lock files (not just
Oh, turns out 2,5+ Go is not enough to install
wpa_supplicant and it's config. Not unexpected.
#NixOS -- one of two only OSes, where to enable Wi-Fi you have to effectively reinstall everything from scratch. 🤦
Emacs modes, IDEs
I've also figured out how to make a use of the Semantic-mode:
You have to specify the source tree(s) root(s) in a variable, and then open each of the relevant files after enabling the mode, then the indexing kicks in.
Only after that jumping to the definitions and listing of the mentions start working.
However, if there is a "prototype" (forward declaration), it'll jump to it, and then you'll have to press
C-c , u to go to the actual definition.
And in many cases it'll not find anything at all, so you have to resort to good old
grep and regex search...
P.S. Following recommendations, I've also looked at the other IDEs, and checked out #Eclipse (as a least filthy one...), and it seems to offer no additional features w.r.t. code analysis, only is more bloated (b/c Java etc.).
TIL: Bookmarks in #Emacs are actually useful, although a bit buggy (jumping between bookmarks in the same file doesn't work). So I can make a bookmark (`bookmark-set`/`C-x r m`) for the interesting stops in the call stack and data structures, and jump between them with ease, from one list in a window which doesn't get hidden if I'm not careful...
horror story in two/four words, s/w dev't
@amiloradovsky Then maybe this becomes your new nickname generator:
man capabilities | grep -oPe 'CAP_[A-Z_]+[A-Z]' | sort | uniq | sort -R | tail -1
I'm sure you can optimize it a bit
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!