On Jun 2, 6:37 pm, Ævar Arnfjörð Bjarmason <[email protected]> wrote:
> Is there a mode out there for COMMIT_EDITMSG and the Git commit edit
> message buffer in general?
>
> I've seen some bindings for it bind it to diff-mode, just for the
> comment highlighting presumably.
>
> It would be really neat to have a mode that:
>
>   * Starts highlighting the first line yellow/red if it goes past
>     50/60 characters (configurable).
>
>   * Whines in a similar manner if the second line isn't empty.
>
>   * turns on auto-fill-mode for any text in the rest of the message as
>     long as it isn't indented.

rafl just did a mode for COMMIT_EDITMSG that has most of these:
http://github.com/rafl/git-commit-mode/blob/master/git-commit-mode.el

It doesn't play nice with *magit-commit* yet.

Reply via email to