Re: [Patch] Repeat search in reverse direction

2010-02-10 Thread Micah Cowan
New version of the patch. Nicholas Marriott wrote: > Hi > > Thanks for the diff, > > n retains the sense of the last search (repeats in the same direction), so > this > is to reverse the sense of the last search? > >> +if ((data->searchtype == WINDOW_COPY_SEARCHUP) >> +

Re: [Patch] Repeat search in reverse direction

2010-02-10 Thread Nicholas Marriott
On Sun, Feb 07, 2010 at 02:28:06PM -0800, Micah Cowan wrote: > Nicholas Marriott wrote: > > Hi > > > > Thanks for the diff, > > > > n retains the sense of the last search (repeats in the same direction), so > > this > > is to reverse the sense of the last search? > > Well, it's to search in the

Re: [Patch] Repeat search in reverse direction

2010-02-07 Thread Micah Cowan
Nicholas Marriott wrote: > Hi > > Thanks for the diff, > > n retains the sense of the last search (repeats in the same direction), so > this > is to reverse the sense of the last search? Well, it's to search in the reverse of the last actually typed search. So, if you searched up, n will contin

Re: [Patch] Repeat search in reverse direction

2010-02-07 Thread Nicholas Marriott
Hi Thanks for the diff, n retains the sense of the last search (repeats in the same direction), so this is to reverse the sense of the last search? > + if ((data->searchtype == WINDOW_COPY_SEARCHUP) > + == (cmd == MODEKEYCOPY_SEARCHAGAIN)) This should