Re: darcs patch: Yi.Keymap.Emacs.Utils: Make promptTag restrict the def...

2009-03-11 Thread nicolas . pouillard
Excerpts from Jean-Philippe Bernardy's message of Tue Mar 10 17:33:56 +0100 2009: > > 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 ? I suggest to first do

Re: darcs patch: Yi.Keymap.Emacs.Utils: Make promptTag restrict the def...

2009-03-10 Thread Jean-Philippe Bernardy
We try to keep most things documented as haddock comments. Things that do not fit there should go on the wiki, but there is next to nothing there yet afaik. It would be most helpful to add documentation as you go! Cheers, JP. On Tue, Mar 10, 2009 at 7:00 PM, Kevin Ballard wrote: > Speaking of n

Re: darcs patch: Yi.Keymap.Emacs.Utils: Make promptTag restrict the def...

2009-03-10 Thread Kevin Ballard
Speaking of not knowing how this stuff works yet, is there any internal documentation on how the source works, or do I just have to keep reading all the source to figure stuff out? On Tue, Mar 10, 2009 at 10:55 AM, Kevin Ballard wrote: > I did a quick grep and regionOfB is used in a bunch of pla

Re: darcs patch: Yi.Keymap.Emacs.Utils: Make promptTag restrict the def...

2009-03-10 Thread Kevin Ballard
I did a quick grep and regionOfB is used in a bunch of places. I don't understand how most of this stuff works yet, so I tweaked promptTag instead because I don't know what would happen if I redefined regionOfB. If defining regionOfB to cover only the actual word chars and drop non-word chars works

Re: darcs patch: Yi.Keymap.Emacs.Utils: Make promptTag restrict the def...

2009-03-10 Thread Jean-Philippe Bernardy
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, wrote: > Tue Mar 10 07:45:20 PDT 2009  ke...@sb.org >  * Yi.Keymap.Ema