emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 00149f18ea9: Support modifying VC change comments for Git


From: Dmitry Gutov
Subject: Re: master 00149f18ea9: Support modifying VC change comments for Git
Date: Wed, 23 Oct 2024 22:40:46 +0300
User-agent: Mozilla Thunderbird

Hi!

On 23/10/2024 12:47, Sean Whitton wrote:
On Wed 23 Oct 2024 at 12:17pm +03, Eli Zaretskii wrote:

The values of the new option vc-allow-rewriting-published-history
could have their mnemonic value improved (and also become more
consistent with our practices elsewhere), if they were changed as
follows:

   nil (default): don't allow
   ask: ask whether to allow
   t: allow without asking

The current values, where t means "ask for confirmation" and 'no-ask'
allows without asking is IMO sub-optimal, because t usually means in
Emacs "do something unconditionally".

So I suggest to change the values as described above.
`ask' is nicer than `no-ask', indeed.  I am however keen to steer people
towards `ask'.  In addition to t often meaning "do something
conditionally", it often means "turn this on in the most common way"
even if the most common way is not the most permissive way.

I would be grateful for more opinions on how this option should look.
CCing Dmitry.

I think I prefer Eli's suggestion, simply because it is more straightforward and has precedent. The more exotic schemes we have somewhere are probably due to history, where a new possibility had been added to an existing option, and the decision was to retain the current behavior by default.

If we want to steer towards "ask", changing the default would probably be the most efficient approach.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]