|
From: | Jim Porter |
Subject: | Re: Adding git-commit highlight mode? |
Date: | Thu, 2 Jan 2025 21:26:44 -0800 |
On 1/2/2025 1:38 PM, Stefan Kangas wrote:
Instead of inheriting from it, I'd propose creating an optional minor mode, that users can enabled when they need to, plus a globalized mode for those that want it on always. That would also expand it to be useful also with Magit's `git-commit-mode`, for example, which I'd personally welcome. (FWIW, I happen to think that the paragraph filling rules would be the most interesting feature in such a minor mode.)
You took the words out of my mouth. :) I'm not sure about all the details here, but some way of "embedding" change-log-mode into other major modes would be really helpful. Maybe there are other ways to do this instead, like multi-major-mode support (e.g. in html-mode and the like), but I think it makes sense not to *require* change-log-mode if it could get in the way for users who don't write commits like that.
[Prev in Thread] | Current Thread | [Next in Thread] |