I think this is ready to push. I'm leaving status as needs-review since
I just sent two clean up patches that someone else needs to screen and
review.
Some minor comments are below:
> hunk ./src/Darcs/SelectChanges.hs 461
> - , KeyPress 'k' ("back up to previous "++ aThing) ]
> + , KeyPress 'k' ("back up to previous "++ aThing)
> + , KeyPress 'o' ("start over from first " ++ aThing)]
Not specific to this patch, but a good example of why the new style
guide is helpful. Had ']' been on a line by itself, this change would
be one line, instead of 3. Additionally, future annotate output would
more accurately pinpoint the origin of the 'k' line.
> hunk ./src/Darcs/SelectChanges.hs
> +optionsLast :: String -> String -> ([[KeyPress]], [[KeyPress]])
> +optionsLast jn aThing =
> + (optionsNav aThing True:
> + [[ KeyPress 'y' ("confirm this opration")
> + , KeyPress 'q' ("cancel " ++ jn) ]]
> + ,[[KeyPress 'a' "confirm this operation"
> + , KeyPress 'd' "confirm this operation"]])
The option 'l' ("list all selected") is available but isn't documented.
I've sent a patch to update the docs.
> +--should we hide 'a' and 'd'?
I often press 'd' at the last regret prompt. Eric even proposed 'a' and
'd' being all that's allowed, so I think it's fair to show them, as you
have. I've sent a patch to remove the comment.
> hunk ./src/Darcs/SelectChanges.hs
> +lastQuestion whichch = do
It would be nice to support 'v' and 'p' here too. Of course, that can
wait until someone else wants to scratch that particular itch.
|