On Fri, May 13, 2011 at 4:18 PM, Aaron Bentley <span dir="ltr"><<a href="mailto:aaron@aaronbentley.com">aaron@aaronbentley.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div class="im">On 11-05-13 04:00 AM, vila wrote:<br>
> But this is precisely what Alexander (and others including me) is<br>
> complaining about (and I don't understand the use case it's addressing,<br>
> if the user is explicit about his desire (--no-remember specified last),<br>
> we should respect it).<br>
<br>
</div>We should definitely respect the user's desire, but the "--no-" options<br>
exist to force bzr to give use the default behaviour.  So when a user<br>
uses one, their desire is to restore the default behaviour.  It's not<br>
"don't remember", it's "ignore the fact that I specified --remember".<br></blockquote><div><br>speaking as a user, this goes a bit against the principle of least surprise though.<br>To the layman, "--no-remember" hints to the fact that the command won't remember, no matter what. The common user doesn't even want to know/remember if an option is on by default or not.<br>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
This applies to all out boolean options, and it's there so that users<br>
can alias commands to get non-default behaviour and still have a way to<br>
restore default behaviour.  For example, I have "commit" aliased to<br>
"commit --strict".  This does what I want 95% of the time, and the rest<br>
of the time, I use commit --no-strict to restore the default behaviour.<br></blockquote><div><br>maybe something like "--default-strict" would be more appropriate in this case.<br>Clearly, we'd need a "--default-OPT" for all the options.<br>
<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
> - change the default behavior to respect user input.<br>
<br>
</div>I find it very frustrating that you are asserting that the current<br>
behaviour does not respect user input.  When the user specifies it, it<br>
does something.  That's respecting user input.<br></blockquote><div><br>Literally, yes, but not from a UI ergonomics/design perspective.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
It doesn't do what *you* expect, but I believe that's based on a<br>
misunderstanding of what it's supposed to do.<br></blockquote><div><br>exactly.<br><br>Cheers,<br>Marco<br></div></div><br clear="all"><br>-- <br>Marco Pantaleoni<br><br>