6 ms·
Nice! I tried some months back implementing a “framework” that would allow for implementing Magit-like interfaces for any command (https://github.com/federicotd
by federicotdn 3y ago
Nice! I tried some months back implementing a “framework” that would allow for implementing Magit-like interfaces for any command (https://github.com/federicotdn/brief https://github.com/federicotdn/brief) but at the end of the day, implementing bespoke interfaces per-command would probably allow you to better integrate with the command itself.
- aeonik 3y agoEmacs seems to support this already with Derived Modes. I've tried to derive Magit mode for some commands before, and it seems relatively straight forward. My main issue is that Elisp and Emacs still confuse me after 2 years of casually messing around with it. https://www.gnu.org/software/emacs/manual/html_node/elisp/Derived-Modes.html https://www.gnu.org/software/emacs/manual/html_node/elisp/De...
- funcDropShadow 3y agoMagit is built on such a framework. It is called 'transient' an Emacs Lisp library.
- hprotagonist 3y agowhich is in core now!