Re: patch applied (yi): Style.hs: Added bold style

2009-04-21 Thread Kevin Ballard
This patch broke the Pango UI. -Kevin Ballard On Mon, Apr 20, 2009 at 8:05 AM, Anders Karlsson < ande...@community.haskell.org> wrote: > > Mon Apr 20 10:59:26 EDT 2009 ande...@student.chalmers.se > * Style.hs: Added bold style > Ignore-this: f08e5ff84d0d4853ddb829da313b

Re: Issue 178 in yi-editor: control-f and control-b scroll do not work in the GTK frontend

2009-04-13 Thread Kevin Ballard
Didn't we remove the GTK frontend entirely? -Kevin Ballard On Mon, Apr 13, 2009 at 2:42 AM, Jean-Philippe Bernardy < jeanphilippe.berna...@gmail.com> wrote: > > I think this is due to the window height being incorrectly computed. > > We used to do window height in pixels

Re: patch applied (yi): Invoke GHC on every startup

2009-04-10 Thread Kevin Ballard
we're doing now, but unlike --force-recompile it won't actually recompile the custom yi if it doesn't have to. I think users who customize their yi.hs in ways not supported by the original heuristic should be smart enough to understand how to use --force-recompile or the proposed --re

Re: two patches attached

2009-04-10 Thread Kevin Ballard
GHC actually allows import cycles if you use hs-boot files and {-# SOURCE #-} pragmas. http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation.html#mutual-recursion -Kevin Ballard On Fri, Apr 10, 2009 at 2:54 PM, Stéphane Payrard wrote: > Resend of the select-all i

Re: darcs patch: Yi.UI.Cocoa: Stop using charRegionB/charIndexB/byteIndexB

2009-04-09 Thread Kevin Ballard
y used for byteToCharPicture). I'll submit a patch shortly that cleans this up. -Kevin Ballard On Thu, Apr 9, 2009 at 11:24 AM, Jean-Philippe Bernardy < jeanphilippe.berna...@gmail.com> wrote: > > On Thu, Apr 9, 2009 at 7:38 PM, Kevin Ballard wrote: > > indexStreamRegionB is also at th

Re: darcs patch: Yi.UI.Cocoa: Stop using charRegionB/charIndexB/byteIndexB

2009-04-09 Thread Kevin Ballard
indexStreamRegionB is also at the end of Buffer/Misc.hs under the Character Positions section, but it was never deprecated. I don't know what this function is used for. Is there anything that should be done with it? -Kevin Ballard On Wed, Apr 8, 2009 at 8:02 AM, Jean-Philippe Ber

Re: patch applied (yi): Index the buffer representation by characters

2009-04-06 Thread Kevin Ballard
./Yi/Buffer/Region.hs -1 +1 >M ./Yi/Config/Default.hs -2 +3 >M ./Yi/Core.hs -1 +2 >M ./Yi/Dired.hs -4 +6 >M ./Yi/Editor.hs -5 +6 >M ./Yi/File.hs -2 +2 >M ./Yi/MiniBuffer.hs -1 +3 >M ./Yi/Misc.hs -2 +2 >M ./Yi/Prelude.hs +2 >M ./yi

Squelching warnings

2009-03-25 Thread Kevin Ballard
re of any fixes. Does anybody else have an opinion on this? -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~---

Re: patch applied (yi): fix regionOfB

2009-03-23 Thread Kevin Ballard
was confused when doing regionOfB := regionOfNonEmptyB; > so let's just fix the definition of regionOfB for now. > >M ./Yi/Buffer/Normal.hs -3 +8 > > > > -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~--~-~--~~~---~-

Re: patch applied (yi): Fix pointDrive behavior in Vty

2009-03-22 Thread Kevin Ballard
w does not scroll is, > well, that the pointDrive attribute was reset during drawing the 1st > window... > > A first fix could be to do the resetting in a second phase, but that > would not even work very well I think. > The "pointDrive" should really be per-window attrib

Re: patch applied (yi): Added Buffer (unitSep, unitSepThisLine, doIfCharB) and justOneSep action

2009-03-21 Thread Kevin Ballard
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, wrote: > > I intended justOneSep to handle full collapse of sp

Re: patch applied (yi): Added Buffer (unitSep, unitSepThisLine, doIfCharB) and justOneSep action

2009-03-21 Thread Kevin Ballard
ormal.hs -1 +20 >M ./Yi/Keymap/Emacs.hs +2 >M ./Yi/Keymap/Emacs/Utils.hs +11 > > > > -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~---

Re: Issue 236 in yi-editor: emacs keymap on mac terminals needs c-v twice to pagedown

2009-03-19 Thread Kevin Ballard
et/16 > > -- > You received this message because you are listed in the owner > or CC fields of this issue, or because you starred this issue. > You may adjust your issue notification preferences at: > http://code.google.com/hosting/settings > > > >

Re: darcs patch: Fix minibuffer issue in multiwindow environment

2009-03-19 Thread Kevin Ballard
3:26 +0100 > 2009: > > > > On Thu, Mar 19, 2009 at 12:22 AM, Kevin Ballard > wrote: > > > If we do as you suggest and sort the minibuffer last instead of > inserting it > > > last in the window list, then that will cause problems when we add the > > > ab

Re: darcs patch: Fix minibuffer issue in multiwindow environment

2009-03-18 Thread Kevin Ballard
, Mar 18, 2009 at 11:39 AM, Jean-Philippe Bernardy < jeanphilippe.berna...@gmail.com> wrote: > > On Wed, Mar 18, 2009 at 6:09 PM, Kevin Ballard wrote: > > It seems like your real complaint is that you think it makes more sense > to > > have the minibuffer directly below

Re: darcs patch: Fix minibuffer issue in multiwindow environment

2009-03-18 Thread Kevin Ballard
> workaround code. > > Cheers, > JP. > > On Tue, Mar 17, 2009 at 5:46 PM, Kevin Ballard wrote: > > It does? If I try `M-x setAnyMode fundamental' with the point originating > in > > the top window, the command affects the top window. Can you give an > examp

Re: possible 236 fix for yi instead of vty

2009-03-17 Thread Kevin Ballard
> As mentioned in 236, c-v doesn't work right on some systems because of > > terminal settings. I think the right place to fix this is in vty, but > > as a work-around we can also make the necessary fix from within Yi. > > > > -- Kevin Ballard http://kevin.sb.org kb

Re: darcs patch: Fix pointDrive behavior in Vty

2009-03-17 Thread Kevin Ballard
r the point was > found outside the window, which meant that the first call to, > e.g. C-v after a call to scrollB would cause incorrect behavior. > > > > -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~--~-~--~~~---~--~~ Yi

Re: Issue 250 in yi-editor: Cursor movement sometimes fails in vim keymap

2009-03-17 Thread Kevin Ballard
Actually that fix doesn't work, because that's only called if the point isn't in the window already. I think it will simply have to be unilaterally called in scrollAndRenderWindow. On Tue, Mar 17, 2009 at 10:05 AM, Kevin Ballard wrote: > I think the problem is pointDrive is

Re: Issue 250 in yi-editor: Cursor movement sometimes fails in vim keymap

2009-03-17 Thread Kevin Ballard
you are listed in the owner > or CC fields of this issue, or because you starred this issue. > You may adjust your issue notification preferences at: > http://code.google.com/hosting/settings > > > > -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~--~-~--

Re: darcs patch: Fix minibuffer issue in multiwindow environment

2009-03-17 Thread Kevin Ballard
UI code. > > Cheers, > JP. > > 2009/3/16 : > > Mon Mar 16 15:09:34 PDT 2009 ke...@sb.org > > * Fix minibuffer issue in multiwindow environment > > > > > > > > > > > -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~-

Re: darcs patch: Fix minibuffer issues in multiwindow environment

2009-03-16 Thread Kevin Ballard
o send the OBSOLETE notice to DarcsWatch directly. On Mon, Mar 16, 2009 at 3:05 PM, Kevin Ballard wrote: > This patch performs the same function as the old one of the same name[1], > submitted 2 months ago by sara.r...@..., but rewritten to work in the > current repo. > [1]: ht

Re: darcs patch: Fix minibuffer issues in multiwindow environment [OBSOLETE]

2009-03-16 Thread Kevin Ballard
Please ignore this patch, I typoed in the name and would like to resubmit. -Kevin On Mon, Mar 16, 2009 at 3:05 PM, Kevin Ballard wrote: > This patch performs the same function as the old one of the same name[1], > submitted 2 months ago by sara.r...@..., but rewritten to work in the >

Re: darcs patch: Fix minibuffer issues in multiwindow environment

2009-03-16 Thread Kevin Ballard
buffer issues in multiwindow environment > > > > -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~---

Re: patch applied (yi): Activate the reloading function under Mac OS X (still experimental).

2009-03-14 Thread Kevin Ballard
ks that). And I haven't even looked at the Pango UI. In any case, even if we can't properly shut down the UI for GTK, we should at least make GTK and Pango still compile after this patch. I'll see if I can't fix that now. -Kevin Ballard On Sat, Mar 14, 2009

Re: changing dir to the curremt buffer

2009-03-10 Thread Kevin Ballard
es it prompt for dir. However, I don't know how that would be handed with other keymaps. -Kevin Ballard On Tue, Mar 10, 2009 at 4:32 PM, cognominal wrote: > > When launching a command like shell or grepFind, one usually wants it > with the current buffer > directory as starting direct

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

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

2009-03-10 Thread Kevin Ballard
he cursor is not on a word char. Teach promptTag > > to explicitly find the first word within the results of readUnitB. > > > > > > > > > > > -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~---

Re: Upcoming release

2009-03-09 Thread Kevin Ballard
You can replace "kevin" with "Kevin Ballard". Thanks, Kevin Ballard On Mar 9, 2009, at 12:33 PM, Jean-Philippe Bernardy wrote: It's been 579 patches since the last release, so I think it's time to prepare another one. I'd like to give more precise credit t