Issue 209 in yi-editor: Give vim mode access to minibuffer stuff

2008-12-01 Thread codesite-noreply
Status: Accepted Owner: JeanPhilippe.bernardy Labels: Type-Enhancement Priority-Medium Component-Keymap-vim New issue 209 by JeanPhilippe.bernardy: Give vim mode access to minibuffer stuff http://code.google.com/p/yi-editor/issues/detail?id=209 Currently the minibuffer will have sensible bindi

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Jeff Wheeler
On Dec 1, 5:57 pm, "Gwern Branwen" <[EMAIL PROTECTED]> wrote: > :( I disagree on both points - I actually like the current logo (it > has an elegant, oriental sort of feel). And I don't think setting up a > 'real' website has significant advantages for us; what does a real > website buy us that w

Issue 208 in yi-editor: M-;, C-c do not prompt for comment

2008-12-01 Thread codesite-noreply
Comment #3 on issue 208 by jeffwheeler: M-;, C-c do not prompt for comment http://code.google.com/p/yi-editor/issues/detail?id=208 Fine with me; I didn't know. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You ma

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Dec 1, 2008 at 7:05 PM, Corey O'Connor wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkk0fXQACgkQvpDo5Pfl1oKmdQCeLgjWFEW/oftyIJqzUWQ2jtP9 zAcAoIQcNiUuWm94bDzAUaIV2gFLlh04 =Hfg5 -END PGP SIGNATURE---

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Corey O'Connor
On Mon, Dec 1, 2008 at 12:26 PM, Jean-Philippe Bernardy <[EMAIL PROTECTED]> wrote: > On Mon, Dec 1, 2008 at 8:01 PM, Corey O'Connor <[EMAIL PROTECTED]> wrote: >> * modeline support > > Not sure what you mean here. That is the vim option that enables settings editor options for a specific file vi

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Dec 1, 2008 at 6:29 PM, Jeff Wheeler wrote: > * Yi needs a _real_ website and logo! > > Again, these are more long-term. > > Jeff Wheeler :( I disagree on both points - I actually like the current logo (it has an elegant, oriental sort of

Issue 208 in yi-editor: M-;, C-c do not prompt for comment

2008-12-01 Thread codesite-noreply
Comment #2 on issue 208 by gwern0: M-;, C-c do not prompt for comment http://code.google.com/p/yi-editor/issues/detail?id=208 Jeff: There doesn't seem to be anything defined in Vi.hs or Vim.hs; I asked in #vim, and they told me that there were several packages which provided this sort of mod

darcs patch: Yi/Users/Gwern.hs: +shorter binding for gotoLn

2008-12-01 Thread gwern0
Mon Dec 1 18:33:19 EST 2008 [EMAIL PROTECTED] * Yi/Users/Gwern.hs: +shorter binding for gotoLn I find the default Emacs binding of M-g g tedious; why not just M-g? --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Jeff Wheeler
On Dec 1, 2008, at 4:54 AM, Jean-Philippe Bernardy wrote: > I just uploaded Yi 0.5.2 to Hackage. Yay! This is good. :) > Plans now include: dropping ghc 6.8 support and move on to using > base 4; > Change the representation of buffers; > Release and use the new version of vty; > many other t

Issue 208 in yi-editor: M-;, C-c do not prompt for comment

2008-12-01 Thread codesite-noreply
Updates: Labels: Component-Keymap-emacs Comment #1 on issue 208 by jeffwheeler: M-;, C-c do not prompt for comment http://code.google.com/p/yi-editor/issues/detail?id=208 Is there any function for commenting stuff out in Vim? If so, modeToggleCommentSelection should be modified such th

patch applied (yi): doc

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 18:10:06 EST 2008 [EMAIL PROTECTED] * doc M ./doc/blog/05-Prototypes.text -2 +3 M ./doc/haskell08/slides.tex -2 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~-

patch applied (yi): make Accessor instance of Category

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 18:09:45 EST 2008 [EMAIL PROTECTED] * make Accessor instance of Category M ./Yi/Accessor.hs -18 +5 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~---

patch applied (yi): use Control.Category

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 18:09:16 EST 2008 [EMAIL PROTECTED] * use Control.Category M ./Yi/Buffer/Basic.hs -1 +1 M ./Yi/Buffer/HighLevel.hs -1 M ./Yi/Eval.hs -1 +1 M ./Yi/Keymap/Cua.hs -1 +1 M ./Yi/Keymap/Emacs.hs -2 +2 M ./Yi/Prelude.hs -1 +3 --~--~-~--~~~--

patch applied (yi): Yi.Keymap.Emacs: +standard emacs M-; binding

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 11:40:33 EST 2008 [EMAIL PROTECTED] * Yi.Keymap.Emacs: +standard emacs M-; binding Ignore-this: 5abf2d7154acfdcce44286f34ec238b9 M ./Yi/Keymap/Emacs.hs +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups

patch applied (yi): update to base>=4; replace all Control.Exception with Control.OldException

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 11:40:01 EST 2008 [EMAIL PROTECTED] * update to base>=4; replace all Control.Exception with Control.OldException Ignore-this: 205b7c23a4ffcc16b8612d0b4edc9352 M ./HConf.hs r1 M ./Shim/SHM.hs r1 M ./Yi/Core.hs r1 M ./Yi/Keymap.hs r1 M ./Yi/Keymap/Emacs/Utils.hs

patch applied (yi): better support for vivid colors

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 17:48:05 EST 2008 [EMAIL PROTECTED] * better support for vivid colors M ./Yi/UI/Vty.hs -22 +22 M ./yi.cabal -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Dec 1, 2008 at 3:30 PM, Jean-Philippe Bernardy wrote: > >> Personally, what I'd really like is basic macro support, a Lisp mode, >> and a shell mode. With those three things, most of my Emacs >> functionality would be replicated. -BEGIN

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Jean-Philippe Bernardy
> Personally, what I'd really like is basic macro support, a Lisp mode, > and a shell mode. With those three things, most of my Emacs > functionality would be replicated. There is (more or less) a shell mode already. (M-x shell) > Random polish is also quite as valuable as better internal docs;

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Jean-Philippe Bernardy
On Mon, Dec 1, 2008 at 8:01 PM, Corey O'Connor <[EMAIL PROTECTED]> wrote: > > On Mon, Dec 1, 2008 at 2:54 AM, Jean-Philippe Bernardy > <[EMAIL PROTECTED]> wrote: >> I just uploaded Yi 0.5.2 to Hackage. > > I just tested "cabal install --user yi yi-vty" on a near-fresh GHC > 6.10.1 installation an

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Corey O'Connor
On Mon, Dec 1, 2008 at 11:17 AM, Gwern Branwen <[EMAIL PROTECTED]> wrote: > I am a little confused; isn't yi-vty obsolete and useless? I remember > we had a discussion on uploading yi-gtk and yi-vty dummy packages > since people were trying to use them with recent versions of Yi. Well, this would

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Dec 1, 2008 at 2:01 PM, Corey O'Connor wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkk0OFEACgkQvpDo5Pfl1oK0vgCggT1I7P5QZzj4cnExSc0U/DXO RxQAn2JgXNqu87HYtjlD9ETTCX+wO3+V =T8pm -END PGP SIGNATURE---

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Corey O'Connor
On Mon, Dec 1, 2008 at 2:54 AM, Jean-Philippe Bernardy <[EMAIL PROTECTED]> wrote: > I just uploaded Yi 0.5.2 to Hackage. I just tested "cabal install --user yi yi-vty" on a near-fresh GHC 6.10.1 installation and it installed without problems. > Plans now include: dropping ghc 6.8 support and mo

Re: darcs patch: update to base>=4; replace all Control.E... (and 1 more)

2008-12-01 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Dec 1, 2008 at 11:08 AM, Jean-Philippe Bernardy wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkk0FUwACgkQvpDo5Pfl1oJ1YQCfU4uvM9M1B/4zegQ6nxfdBO75 c9sAnRXHCKtQM8LciQC+ohGlg1hOSWp0 =G3TQ -END PGP SIG

Issue 208 in yi-editor: M-;, C-c do not prompt for comment

2008-12-01 Thread codesite-noreply
Status: Accepted Owner: gwern0 Labels: Type-Enhancement Priority-Low New issue 208 by gwern0: M-;, C-c do not prompt for comment http://code.google.com/p/yi-editor/issues/detail?id=208 M-; and C-c are Emacs bindings to comment out a line or region. These bindings ultimately call modeToggleCommen

darcs patch: update to base>=4; replace all Control.E... (and 1 more)

2008-12-01 Thread gwern0
Mon Dec 1 11:40:01 EST 2008 [EMAIL PROTECTED] * update to base>=4; replace all Control.Exception with Control.OldException Mon Dec 1 11:40:33 EST 2008 [EMAIL PROTECTED] * Yi.Keymap.Emacs: +standard emacs M-; binding --~--~-~--~~~---~--~~ Yi development mail

Re: darcs patch: update to base>=4; replace all Control.E... (and 1 more)

2008-12-01 Thread Jean-Philippe Bernardy
I get: Yi/Process.hs:30:4: Not in scope: `Control.Exception.handle' Yi/Process.hs:48:12: Not in scope: `Control.Exception.evaluate' Yi/Process.hs:49:12: Not in scope: `Control.Exception.evaluate' after applying this. Also, I don't think that using darcs replace functionality is a great idea,

Re: Indentation

2008-12-01 Thread Jean-Philippe Bernardy
On Mon, Dec 1, 2008 at 12:21 PM, Александър Л. Димитров <[EMAIL PROTECTED]> wrote: > Thus spoke [EMAIL PROTECTED]: >> This does not seem to typecheck, since modeTable has type (Config -> ...) >> and you pass a list to it. >> (I see that my mail client dropped the <|> from your quote, but be sure I

patch applied (yi): Main.hs: minor indent

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 10:52:33 EST 2008 [EMAIL PROTECTED] * Main.hs: minor indent Ignore-this: b53fd55beb556c92b6bba9ee4a49cd61 M ./Yi/Main.hs -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -

darcs patch: update to base>=4; replace all Control.E... (and 1 more)

2008-12-01 Thread gwern0
Mon Dec 1 10:51:24 EST 2008 [EMAIL PROTECTED] * update to base>=4; replace all Control.Exception with Control.OldException Mon Dec 1 10:52:33 EST 2008 [EMAIL PROTECTED] * Main.hs: minor indent --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googl

Re: Better word and WORD in vi keymap

2008-12-01 Thread Jean-Philippe Bernardy
On Mon, Dec 1, 2008 at 4:34 PM, Krzysztof Goj <[EMAIL PROTECTED]> wrote: > Hi! > I've started playing around with Yi and I'm truly impressed! > The code is beautiful and hackable, keep up the great work! > > There is a little issue with word and WORD motions -- they work > differently to Vim at t

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Jean-Philippe Bernardy
On Mon, Dec 1, 2008 at 4:20 PM, Gwern Branwen <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On Mon, Dec 1, 2008 at 5:54 AM, Jean-Philippe Bernardy wrote: > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEAREKAAYFAkk0AKIACgkQvpDo5Pfl

Better word and WORD in vi keymap

2008-12-01 Thread Krzysztof Goj
Hi! I've started playing around with Yi and I'm truly impressed! The code is beautiful and hackable, keep up the great work! There is a little issue with word and WORD motions -- they work differently to Vim at the end of lines. Here is what I learned after looking at Vim's source code (src/sear

Re: Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Dec 1, 2008 at 5:54 AM, Jean-Philippe Bernardy wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkk0AKIACgkQvpDo5Pfl1oLTJgCdHRuzUg8QGKy29zZTVLbXRDuk zjkAnRsqbmFo8lZ+9R+m78PhyxYp06Iz =9ugZ -END PGP SIGN

Re: darcs patch: 'ZZ' closes window, not editor, 'ZQ' == ... (and 1 more)

2008-12-01 Thread nicolas . pouillard
Excerpts from Aleksandar Dimitrov's message of Mon Dec 01 12:04:53 +0100 2008: > Mon Dec 1 11:33:11 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> > * 'ZZ' closes window, not editor, 'ZQ' == ':q!' > > Mon Dec 1 11:34:14 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> > * added C-w and

patch applied (yi): added C-w and C-u to ex mode

2008-12-01 Thread Nicolas Pouillard
Mon Dec 1 05:34:14 EST 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * added C-w and C-u to ex mode M ./Yi/Keymap/Vim.hs -9 +11 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~

patch applied (yi): 'ZZ' closes window, not editor, 'ZQ' == ':q!'

2008-12-01 Thread Nicolas Pouillard
Mon Dec 1 05:33:11 EST 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * 'ZZ' closes window, not editor, 'ZQ' == ':q!' M ./Yi/Keymap/Vim.hs -1 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-dev

Re: Indentation

2008-12-01 Thread Александър Л . Димитров
Thus spoke [EMAIL PROTECTED]: > This does not seem to typecheck, since modeTable has type (Config -> ...) > and you pass a list to it. > (I see that my mail client dropped the <|> from your quote, but be sure I > refer to your original text) Sorry, I was in a hurry and made a mistake. My yi.hs o

darcs patch: 'ZZ' closes window, not editor, 'ZQ' == ... (and 1 more)

2008-12-01 Thread Aleksandar Dimitrov
Mon Dec 1 11:33:11 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * 'ZZ' closes window, not editor, 'ZQ' == ':q!' Mon Dec 1 11:34:14 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * added C-w and C-u to ex mode --~--~-~--~~~---~--~~ Yi development maili

Yi 0.5.2 uploaded to Hackage

2008-12-01 Thread Jean-Philippe Bernardy
Hi, I just uploaded Yi 0.5.2 to Hackage. Plans now include: dropping ghc 6.8 support and move on to using base 4; Change the representation of buffers; Release and use the new version of vty; many other things -- ideas welcome :) Cheers, JP. --~--~-~--~~~---~--~---

patch applied (yi): TAG 0.5.2

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 05:48:23 EST 2008 [EMAIL PROTECTED] tagged 0.5.2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~---

patch applied (yi): bump version number

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 05:48:28 EST 2008 [EMAIL PROTECTED] * bump version number M ./yi.cabal -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~---

patch applied (yi): Add rules to consolidate all the blog posts in a single document

2008-12-01 Thread Jean-Philippe Bernardy
Mon Dec 1 05:38:47 EST 2008 [EMAIL PROTECTED] * Add rules to consolidate all the blog posts in a single document M ./doc/blog/01-Structure.text +2 M ./doc/blog/02-Configuration.text +1 M ./doc/blog/03-HaskellSymposium.text +2 M ./doc/blog/04-IncrementalParsing.text +3 M ./

Re: darcs patch: Yi.MiniBuffer: +Promptable instance for ... (and 7 more)

2008-12-01 Thread Jean-Philippe Bernardy
Thanks for the contribution; applied! On Mon, Dec 1, 2008 at 4:10 AM, <[EMAIL PROTECTED]> wrote: > Sun Nov 30 21:51:38 EST 2008 [EMAIL PROTECTED] > * Yi.MiniBuffer: +Promptable instance for Char > Note that the code is a little sticky since we're fed a String, > but there's no empty char to

patch applied (yi): Yi.Main: +ireader actions to M-x

2008-12-01 Thread Jean-Philippe Bernardy
Sun Nov 30 22:09:12 EST 2008 [EMAIL PROTECTED] * Yi.Main: +ireader actions to M-x Ignore-this: 83b94848209f97423abd07b5c7a72388 One to go into ireader-mode, and one to save buffer as article as that is somewhat awkward to do inside ireader-mode. M ./Yi/Main.hs -1 +6 --~--~-~

patch applied (yi): Yi.Eval: +useful type signatures

2008-12-01 Thread Jean-Philippe Bernardy
Sun Nov 30 21:53:48 EST 2008 [EMAIL PROTECTED] * Yi.Eval: +useful type signatures Ignore-this: 2596d06fba7df3ab24ba70dd7f2cf5d9 One type signature supports String -> String -> BufferM (). This lets us run 'replaceString' from the minibuffer. Another type signature supports Char -> Buffe

patch applied (yi): Yi.Main: +replaceString to M-x

2008-12-01 Thread Jean-Philippe Bernardy
Sun Nov 30 22:08:41 EST 2008 [EMAIL PROTECTED] * Yi.Main: +replaceString to M-x Ignore-this: d1e08a91031d717a5037a000ef0993f7 M ./Yi/Main.hs +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-d

patch applied (yi): Yi.Keymap.Keys: -Wall, +missing type sig

2008-12-01 Thread Jean-Philippe Bernardy
Sun Nov 30 22:07:52 EST 2008 [EMAIL PROTECTED] * Yi.Keymap.Keys: -Wall, +missing type sig Ignore-this: 431cc943bcab8042067b74c0552c5b M ./Yi/Keymap/Keys.hs -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.goo

patch applied (yi): Yi.Keymap.Keys, Yi.Modes: +2 pragmas

2008-12-01 Thread Jean-Philippe Bernardy
Sun Nov 30 21:56:03 EST 2008 [EMAIL PROTECTED] * Yi.Keymap.Keys, Yi.Modes: +2 pragmas Ignore-this: 45a24fdeb03d743e0668f13d0b83ae4d M ./Yi/Keymap/Keys.hs +1 M ./Yi/Modes.hs +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com

patch applied (yi): Yi.Keymap.Emacs: rm unused import

2008-12-01 Thread Jean-Philippe Bernardy
Sun Nov 30 22:06:45 EST 2008 [EMAIL PROTECTED] * Yi.Keymap.Emacs: rm unused import Ignore-this: dfb5a5c93886c2f29dbcf92865a74b23 M ./Yi/Keymap/Emacs.hs -1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com

patch applied (yi): Yi.Buffer.HighLevel: +replaceString, readCharB

2008-12-01 Thread Jean-Philippe Bernardy
Sun Nov 30 22:04:55 EST 2008 [EMAIL PROTECTED] * Yi.Buffer.HighLevel: +replaceString, readCharB Ignore-this: 9ade46850806e9e6c128d0f4d9a28cd4 M ./Yi/Buffer/HighLevel.hs -14 +20 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com ht

patch applied (yi): Yi.MiniBuffer: +Promptable instance for Char

2008-12-01 Thread Jean-Philippe Bernardy
Sun Nov 30 21:51:38 EST 2008 [EMAIL PROTECTED] * Yi.MiniBuffer: +Promptable instance for Char Ignore-this: b864645bee50f85e9b9c753d6af85492 Note that the code is a little sticky since we're fed a String, but there's no empty char to default to if the user has been so churlish as to feed

patch applied (yi): Moved index translation to buffer and supported Cocoa mouse Unicode

2008-12-01 Thread Gustav Munkby
Mon Dec 1 03:34:17 EST 2008 [EMAIL PROTECTED] * Moved index translation to buffer and supported Cocoa mouse Unicode M ./Yi/Buffer/Misc.hs -1 +37 M ./Yi/UI/Cocoa/TextStorage.hs -21 M ./Yi/UI/Cocoa/TextView.hs -3 +4 --~--~-~--~~~---~--~~ Yi developme