[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding git-commit highlight mode?
From: |
Sean Whitton |
Subject: |
Re: Adding git-commit highlight mode? |
Date: |
Fri, 03 Jan 2025 21:02:21 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello,
On Thu 02 Jan 2025 at 03:53pm -06, Stefan Kangas wrote:
> AFAICT, the 50 character line limit for the summary line is not really
> followed very strictly in practice by most projects, including the Linux
> kernel. It's more of a recommendation. Even the link you provide above
> says that it's "a good idea" to use "no more than 50 characters" for it.
> For that reason, I think that this should be a warning (with a highlight
> if you go over), and not a hard limit.
>
> In `git-commit-mode`, the user option `git-commit-summary-max-length' is
> 68 by default, which strikes me as unopinionated enough.
As Jonas mentioned, some of the things suggested in this thread overlap
with our existing vc-git-log-edit-mode. For example, we already have
vc-git-log-edit-summary-target-len and vc-git-log-edit-summary-max-len.
I haven't looked at your code, Jim, but hopefully it could avoid too
much reimplementation/crossover with vc-git-log-edit-mode if we are
going to put it in emacs.git.
I will happily review what you'd actually like to include.
(As the VC maintainer, I would have appreciated being CC'd on this
thread at some point; glad I caught it anyway.)
--
Sean Whitton
- Re: Adding git-commit highlight mode?, (continued)
- Re: Adding git-commit highlight mode?, Konstantin Kharlamov, 2025/01/02
- Re: Adding git-commit highlight mode?, Jim Porter, 2025/01/03
- Re: Adding git-commit highlight mode?, Jonas Bernoulli, 2025/01/03
- Re: Adding git-commit highlight mode?, Eli Zaretskii, 2025/01/02
- Re: Adding git-commit highlight mode?, Arsen Arsenović, 2025/01/02
- Re: Adding git-commit highlight mode?, Stefan Kangas, 2025/01/02
- Re: Adding git-commit highlight mode?, Arsen Arsenović, 2025/01/02
- Re: Adding git-commit highlight mode?,
Sean Whitton <=
- Re: Adding git-commit highlight mode?, Eli Zaretskii, 2025/01/04
- Re: Adding git-commit highlight mode?, Sean Whitton, 2025/01/04
- Re: Adding git-commit highlight mode?, Konstantin Kharlamov, 2025/01/15
- Re: Adding git-commit highlight mode?, Jim Porter, 2025/01/18
- Re: Adding git-commit highlight mode?, Eli Zaretskii, 2025/01/03
Re: Adding git-commit highlight mode?, Jim Porter, 2025/01/02