From: Junio C Hamano Date: Tue, 26 Sep 2006 05:24:01 GMT Subject: Re: [PATCH] gitk: Fix nextfile() and more Message-ID: <7vpsdjryj2.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <873bag12k3.fsf@duaron.myhome.or.jp> OGAWA Hirofumi writes: > The current nextfile() jumps to last hunk, but I think this is not > intention, probably, it's forgetting to add "break;". Right? And this > patch also adds prevfile(), it jumps to previous hunk. > > The following part is just my favorite the key-binds, it doesn't matter. > > + bind . "$ctext yview scroll -1 units" > + bind . "$ctext yview scroll 1 units" > + bind . "$ctext yview scroll -1 pages" > + bind . "$ctext yview scroll 1 pages" > + bindkey P prevfile > + bindkey N nextfile > > What do you think of this? . As a patch e-mail, the initial Hi and trailing Thanks add additional work for the person who applies patch. . ACK on missing "break" and addition of prevfile for symmetry. . I do not have preference on the extra bindings. I do not speak for Paul, but I suspect he would have liked them in a separate patch.