Re: patch applied (yi): Buffers have either name or file, not both.

2008-12-14 Thread Jean-Philippe Bernardy
On Sun, Dec 14, 2008 at 10:41 PM, nicolas. pouillard wrote: > > OK that's a nice cleanup, but one have to quickly recover an easy buffer > switching. A nice and simple choice would be to keep qualified paths as > buffer names but at least cut the pwd from the name (both when switching > and in th

Re: patch applied (yi): Buffers have either name or file, not both.

2008-12-14 Thread nicolas . pouillard
OK that's a nice cleanup, but one have to quickly recover an easy buffer switching. A nice and simple choice would be to keep qualified paths as buffer names but at least cut the pwd from the name (both when switching and in the mode line). I'm wondering what would be the best move: - Store a p

patch applied (yi): Buffers have either name or file, not both.

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 15:48:10 EST 2008 jeanphilippe.berna...@gmail.com * Buffers have either name or file, not both. This is mainly a refactoring. Buffers used to have a name that is somewhat-but-not-quite related to the file they map to. Now, buffers have a name only if they are not backed on d

patch applied (yi): explicit exports in Yi.Monad. Also export gets.

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 15:47:27 EST 2008 jeanphilippe.berna...@gmail.com * explicit exports in Yi.Monad. Also export gets. M ./Yi/Monad.hs -1 +14 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~-

Issue 214 in yi-editor: Editor becomes sluggish after extended usage (vty)

2008-12-14 Thread codesite-noreply
Comment #4 on issue 214 by nicolas.pouillard: Editor becomes sluggish after extended usage (vty) http://code.google.com/p/yi-editor/issues/detail?id=214 Here is a way quickly reproduce this: open a top in a terminal (type o-pid to have the highest pid first) open yi on a haskell file (vim mo

patch applied (yi): Yi.Hoogle: switch hoogleRaw to use runProgCommand instead of runShellCommand

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 13:16:30 EST 2008 gwe...@gmail.com * Yi.Hoogle: switch hoogleRaw to use runProgCommand instead of runShellCommand Ignore-this: 8b8a42840efe168f62379ea18512bcec M ./Yi/Hoogle.hs -3 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@go

patch applied (yi): Yi.Process: +runProgCommand

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 13:14:31 EST 2008 gwe...@gmail.com * Yi.Process: +runProgCommand Ignore-this: 83501bc0ed7efd0a8d9e0e875aad5702 This is analogous to runShellCommand, except the arguments don't go through the shell. As there are so many metacharacters in shell, we often do not want our input t

Re: Profiling yi

2008-12-14 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sun, Dec 14, 2008 at 12:24 PM, Kalman Noel wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAklFUyMACgkQvpDo5Pfl1oJP2wCfb68FSTrNwNerOiVoSyw9mQc1 m78An121Op2Uei3tBMRrkpmsjt03kgOh =HmV9 -END PGP SIGNATURE

darcs patch: Yi.Process: +runProgCommand (and 1 more)

2008-12-14 Thread gwern0
Sun Dec 14 13:14:31 EST 2008 gwe...@gmail.com * Yi.Process: +runProgCommand This is analogous to runShellCommand, except the arguments don't go through the shell. As there are so many metacharacters in shell, we often do not want our input to pass through the shell. That is what this com

Issue 214 in yi-editor: Editor becomes sluggish after extended usage (vty)

2008-12-14 Thread codesite-noreply
Comment #3 on issue 214 by gwern0: Editor becomes sluggish after extended usage (vty) http://code.google.com/p/yi-editor/issues/detail?id=214 After some quite extensive hacking (doing my Hoogle module), I too noticed that Yi was using a ridiculous 27% of RAM and 70% of a CPU core (according

Re: darcs patch: HConf: --recompile should not neglect compile failures

2008-12-14 Thread Jean-Philippe Bernardy
Thanks! Applied. On Sun, Dec 14, 2008 at 6:07 PM, Kalman Noel wrote: > Sun Dec 14 18:06:04 CET 2008 Kalman Noel > * HConf: --recompile should not neglect compile failures > > > > --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http:

patch applied (yi): HConf: --recompile should not neglect compile failures

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 12:06:04 EST 2008 Kalman Noel * HConf: --recompile should not neglect compile failures M ./HConf.hs -2 +4 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~

patch applied (yi): remove obsolete function

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 11:23:18 EST 2008 jeanphilippe.berna...@gmail.com * remove obsolete function M ./Yi/Editor.hs -6 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~-

Issue 214 in yi-editor: Editor becomes sluggish after extended usage (vty)

2008-12-14 Thread codesite-noreply
Comment #2 on issue 214 by JeanPhilippe.bernardy: Editor becomes sluggish after extended usage (vty) http://code.google.com/p/yi-editor/issues/detail?id=214 I think I have the same problem on OSX too now -- You received this message because you are listed in the owner or CC fields of this iss

Re: Profiling yi

2008-12-14 Thread Kalman Noel
jeanphilippe.berna...@gmail.com: > Yes, in fact I managed to do so just now. > > approximately by: > > make prof-config > dist/build/yi/yi +RTS -p > cat yi.prof I finally found out what I did wrong: I simply forgot to 'cabal clean' when reconfiguring (I had configured without -fhacking previous

darcs patch: HConf: --recompile should not neglect compile failures

2008-12-14 Thread Kalman Noel
Sun Dec 14 18:06:04 CET 2008 Kalman Noel * HConf: --recompile should not neglect compile failures --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~-

Re: patch applied (yi): +Yi.Hoogle: new module

2008-12-14 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sun, Dec 14, 2008 at 8:42 AM, Jean-Philippe Bernardy wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAklFMuUACgkQvpDo5Pfl1oKE9wCcCjw+z38BHAb2kvEfg35Jw4KY HVUAn0uXsi0lU+FjIkfkOPI01Do4J6yy =R+p4 -END PGP SIG

Re: patch applied (yi): +Yi.Hoogle: new module

2008-12-14 Thread Jean-Philippe Bernardy
Excellent! It would be better to use the hoogle as an Haskell API directly... But I see that it is not available :( I also made minor changes, see my patch. Cheers, JP. On Sun, Dec 14, 2008 at 10:27 AM, Jean-Philippe Bernardy wrote: > > Sat Dec 13 23:21:57 EST 2008 gwe...@gmail.com > * +Yi.Ho

patch applied (yi): improve hoogle binding

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 08:35:11 EST 2008 jeanphilippe.berna...@gmail.com * improve hoogle binding * use unitRegionOfB / readRegion / replaceRegionB * no need to print the result of the function - this is done automatically by Yi core * rid of unsafePerformIO M ./Yi/Buffer/HighLevel.hs -4

patch applied (yi): jp: bind hoogle

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 08:34:48 EST 2008 jeanphilippe.berna...@gmail.com * jp: bind hoogle M ./Yi/Users/JP.hs -1 +3 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~--

patch applied (yi): Yi.Keymap: sort imports

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 06:28:22 EST 2008 jeanphilippe.berna...@gmail.com * Yi.Keymap: sort imports M ./Yi/Keymap.hs -13 +12 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~-

patch applied (yi): make IO functions actions

2008-12-14 Thread Jean-Philippe Bernardy
Sun Dec 14 08:34:27 EST 2008 jeanphilippe.berna...@gmail.com * make IO functions actions M ./Yi/Keymap.hs -1 +4 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~-

patch applied (yi): Yi.Users.Gwern: example binding of 'hoogle' function

2008-12-14 Thread Jean-Philippe Bernardy
Sat Dec 13 23:19:54 EST 2008 gwe...@gmail.com * Yi.Users.Gwern: example binding of 'hoogle' function Ignore-this: 8a03d59dd3486de259ec88c3edbccc93 M ./Yi/Users/Gwern.hs +3 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://

patch applied (yi): Yi.Main: rm unused import

2008-12-14 Thread Jean-Philippe Bernardy
Sat Dec 13 23:30:37 EST 2008 gwe...@gmail.com * Yi.Main: rm unused import Ignore-this: f7592059bad51a2577046c2e13737b89 M ./Yi/Main.hs -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-deve

patch applied (yi): +Yi.Hoogle: new module

2008-12-14 Thread Jean-Philippe Bernardy
Sat Dec 13 23:21:57 EST 2008 gwe...@gmail.com * +Yi.Hoogle: new module Ignore-this: f23af4eff44418c11ebc3880504d7f25 This is a new module which calls out to the CLI Hoogle, and reads it back in. We parse it in various ways, and ultimately provide a function 'hoogle' suitable for bindin

patch applied (yi): mv getWord from Yi.Hoogle to Yi.Buffer.HighLevel

2008-12-14 Thread Jean-Philippe Bernardy
Sat Dec 13 23:27:58 EST 2008 gwe...@gmail.com * mv getWord from Yi.Hoogle to Yi.Buffer.HighLevel Ignore-this: a9f90750ef5f255ed05468a7858cbbf2 M ./Yi/Buffer/HighLevel.hs +4 M ./Yi/Hoogle.hs -4 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel

patch applied (yi): some -Wall of Yi.Buffer.HighLevel

2008-12-14 Thread Jean-Philippe Bernardy
Sat Dec 13 23:16:17 EST 2008 gwe...@gmail.com * some -Wall of Yi.Buffer.HighLevel Ignore-this: 1bc636d245697d467add63c247ab00e2 M ./Yi/Buffer/HighLevel.hs -4 +3 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.goog

patch applied (yi): Yi.Editor: rm apparently unused import

2008-12-14 Thread Jean-Philippe Bernardy
Sat Dec 13 23:20:17 EST 2008 gwe...@gmail.com * Yi.Editor: rm apparently unused import Ignore-this: f6f3d40e1cb462ec5740f40162308343 M ./Yi/Editor.hs -1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/g