MhvxvLvJrg · 2022-05-07 18:51
The title says it all!
How can I have the project name in the modeline with the bult-in project.el?
Walheimat · 2022-05-07 19:52
Bare-bones:
`(setq global-mode-string (append global-mode-string '((:eval (project-root (project-current)))))`
But maybe you want ro regex match out the rest of the path and pad this string. But could be a starting point.
mclearc · 2022-05-07 23:52
If you use lambda-line you get this as a standard part of the display.
https://github.com/Lambda-Emacs/lambda-line
fritzgrabo · 2022-05-08 20:35
Check out [https://github.com/fritzgrabo/project-mode-line-tag](https://github.com/fritzgrabo/project-mode-line-tag):
>Provides a global minor mode to display information about a buffer’s project (a “project tag”) in its mode line.
Ghostlyken1 · 2022-05-10 18:58
Funnily enough, I would be shocked