Hey,

On Tuesday 14 September 2010 15:17:52 Philip Jackson wrote:

> What should it do instead?

I'd expect point to remain within the same section point was in before
's' was pressed but on the next item. If the staged item was the last
one in the section then move the previous one. Examples ('*' is point):

Example 1:

Unstaged:
  file1
* file2
  file3

Press 's', result:

Unstaged:
  file1
* file3

Press 's' again, result:

Unstaged:
* file1

The same should be used for chunk staging, just with chunk granularity. If
the last chunk of a file is staged then move to the previous chunk. If
no previous chunk is available ( = the file has been staged fully) then
apply the algorithm above.

If the previously active section is removed completely then it's
debatable what should happen. I think that moving to the next section in
which items can actually be staged would probably be nice -- think
'unmerged' -> 'unstaged'.

I'd expect analogous behaviour for 'u'.

Regards,
Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to