Compile Emacs 29 with Tree-sitter
Compile emacs with tree-sitter master
- Add the deb-src lines to /etc/apt/source.list
``` sudo apt update sudo apt install build-essential sudo (apt build-dep thing) emacs make ```
- Checkout tree-sitter
``` make sudo make install ```
``` export LD_LIBRARY_PATH=/usr/local/lib/ make ```
References: https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
- Can't start emacs from dmenu. Add this to /etc/ld.so.conf.d/x86_64-linux-gnu.conf
```
/usr/local/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/local/li ```
Then run ``` sudo ldconfig ```
- run emacs and tree-sitter
- figure out how to use tree-sitter..