Hm, it seems that this is really a problem in regionOfB... It just doesn't seem to have useful semantics in its current form.
How about defining: regionOfB = regionOfNonEmptyB ? Thanks! JP. On Tue, Mar 10, 2009 at 3:47 PM, <ke...@sb.org> wrote: > Tue Mar 10 07:45:20 PDT 2009 ke...@sb.org > * Yi.Keymap.Emacs.Utils: Make promptTag restrict the default value to the > first word > > promptTag uses (readUnitB unitWord) to extract the current word as the > default value for the tag to search for. Unfortunately, this catches > non-word characters if the cursor is not on a word char. Teach promptTag > to explicitly find the first word within the results of readUnitB. > > > > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---