Good... you had me worried.  :-)  I've just submitted an additional
patch that takes care of the tabs as well.

-KQ

On Mar 21, 8:15 pm, Kevin Ballard <kball...@gmail.com> wrote:
> Ahh, apparently it does collapse backwards as well. I probably had a hard
> tab behind the cursor in my initial test case, which would explain why it
> didn't get collapsed.
> -Kevin Ballard
>
>
>
>
>
> On Sat, Mar 21, 2009 at 5:40 PM, <kq1qu...@gmail.com> wrote:
>
> > I intended justOneSep to handle full collapse of spacing, both
> > forwards and backwards, and it seems to work that way for my tests.
> > Do you have a sample where this isn't working?
>
> > Thanks for the update on the tabs... I had assumed that
> > Data.Char.isSeparator would have returned true for tabs, but in
> > testing I can confirm that this isn't the case, so I'll send an update
> > soon.
>
> > -KQ
>
> > On Mar 21, 2:44 pm, Kevin Ballard <kball...@gmail.com> wrote:
> > > justOneSep doesn't match Emacs's just-one-space function. justOneSep only
> > > deletes spaces going forward, but just-one-space not only also deletes
> > tabs,
> > > it checks backwards as well, so it deletes all spaces/tabs around the
> > cursor
> > > to leave only a single space.
>
> > > On Fri, Mar 20, 2009 at 2:27 PM, Jean-Philippe Bernardy <
>
> > > jpberna...@community.haskell.org> wrote:
>
> > > > Fri Mar 20 01:31:17 EDT 2009  kq1qu...@gmail.com
> > > >  * Added Buffer (unitSep, unitSepThisLine, doIfCharB) and justOneSep
> > action
> > > >  Ignore-this: f2646f12922eec462668d33d49721a21
>
> > > >    M ./Yi/Buffer/Normal.hs -1 +20
> > > >    M ./Yi/Keymap/Emacs.hs +2
> > > >    M ./Yi/Keymap/Emacs/Utils.hs +11
>
> > > --
> > > Kevin Ballardhttp://kevin.sb.org
> > > kball...@gmail.com
>
> --
> Kevin Ballardhttp://kevin.sb.org
> kball...@gmail.com
--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to