[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] changelog editor issues
From: |
Stephen Leake |
Subject: |
Re: [Monotone-devel] changelog editor issues |
Date: |
Mon, 06 Sep 2010 14:41:40 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) |
Francis Russell <address@hidden> writes:
> Markus Wanner wrote:
>
>> (Note that I don't see any value in explicitly mentioning the "OR
>> MODIFY" option to the user, but that's another topic).
>
> I just thought I'd mention my reasoning for adding the "OR MODIFY" bit.
> It was becoming rather difficult to determine how the previous template
> would actually parsed. As simply modifying that line would cause it to
> no longer be recognised, it seemed worthwhile to mention that.
> Basically, I wanted each token to be self describing.
>
> Otherwise, a user might then end up under the impression that they
> needed to delete the whole line in order to cancel the commit when
> deleting a single character would suffice. This could be painful in less
> featureful text editors. Of course, in something like vim, it's only a
> couple of keystrokes to delete the line, but in that case the message is
> not needed at all as vim can be told to exit with an error code anyway,
> causing the commit to abort.
I don't think the "OR MODIFY" hurts in any way.
--
-- Stephe
Re: [Monotone-devel] changelog editor issues, Derek Scherger, 2010/09/07