Re: Fwd: Build failure & workaround: libncurses.so

2008-12-07 Thread Gwern Branwen
I forwarded Aleks email to Don. His reply follows. On Sun, Dec 7, 2008 at 11:21 PM, Don Stewart <[EMAIL PROTECTED]> wrote: > This is really simple. > > Arch has started using linker scripts for some .so files (look at the > contents of ncurses.so - it is a linker script pointing to ncuresw.so) >

Re: patch applied (yi): Comment tab-moving functions

2008-12-07 Thread Jean-Philippe Bernardy
I see now, thanks! On Mon, Dec 8, 2008 at 12:19 AM, Jeff Wheeler <[EMAIL PROTECTED]> wrote: > > Sun Dec 7 18:00:59 EST 2008 Jeff Wheeler <[EMAIL PROTECTED]> > * Comment tab-moving functions > >M ./Yi/Editor.hs -1 +1 >M ./Yi/WindowSet.hs +1 > > > > --~--~-~--~~~

Re: patch applied (yi): Yi/Syntax.hs: swap \_ for const

2008-12-07 Thread Jean-Philippe Bernardy
On Sun, Dec 7, 2008 at 12:46 PM, nicolas. pouillard <[EMAIL PROTECTED]> wrote: > > Excerpts from Jean-Philippe Bernardy's message of Sun Dec 07 12:29:37 +0100 > 2008: >> >> After some thought, I think I prefer the \_ -> notation in many cases. >> 1. It is easy to generalize to \_ _ ->, etc. > >

patch applied (yi): Comment tab-moving functions

2008-12-07 Thread Jeff Wheeler
Sun Dec 7 18:00:59 EST 2008 Jeff Wheeler <[EMAIL PROTECTED]> * Comment tab-moving functions M ./Yi/Editor.hs -1 +1 M ./Yi/WindowSet.hs +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-deve

patch applied (yi): doc

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 18:17:05 EST 2008 [EMAIL PROTECTED] * doc M ./Yi/Editor.hs +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~---

patch applied (yi): remove some more usages of mkAccessor

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 18:16:36 EST 2008 [EMAIL PROTECTED] * remove some more usages of mkAccessor M ./Yi/Buffer/Misc.hs -2 +2 M ./Yi/GHC.hs -1 +2 M ./Yi/History.hs -4 +3 M ./Yi/WindowSet.hs -3 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@g

patch applied (yi): fix tabsA, so that the current buffer is updated

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 18:15:16 EST 2008 [EMAIL PROTECTED] * fix tabsA, so that the current buffer is updated M ./Yi/Editor.hs -10 +13 M ./Yi/UI/TabBar.hs -2 +2 M ./Yi/UI/Vty.hs -2 +2 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com h

Re: patch applied (yi): Support :tabm in Vim

2008-12-07 Thread Jeff Wheeler
On Dec 7, 2008, at 4:14 PM, Jean-Philippe Bernardy wrote: > I could not figure out the meaning of move by cursory > look, would you mind adding a comment explaining it? Done. Essentially, they just move the focused tab to the specified index. Jeff Wheeler --~--~-~--~~---

Re: patch applied (yi): Yi/Syntax.hs: swap \_ for const

2008-12-07 Thread nicolas . pouillard
Excerpts from Jean-Philippe Bernardy's message of Sun Dec 07 12:29:37 +0100 2008: > > After some thought, I think I prefer the \_ -> notation in many cases. > 1. It is easy to generalize to \_ _ ->, etc. As easy as : const . const > 2. the stuff we ignore can be named (\ _input -> ) So most

Re: patch applied (yi): Vim: add "0 CTRL-D", to kill indentation in insert mode.

2008-12-07 Thread nicolas . pouillard
Excerpts from Jeff Wheeler's message of Sat Dec 06 03:15:13 +0100 2008: > > This causes Vim.hs to no longer compile for me, as deleteIndentOfLine > is undefined. I'm not sure the intended meaning, so I can't fix this. Fixed, sorry for the disturbance. -- Nicolas Pouillard aka Ertai --~--~

Re: darcs patch: Introduce viSafeWriteTo to Yi.File (and 3 more)

2008-12-07 Thread nicolas . pouillard
Excerpts from Aleksandar Dimitrov's message of Sat Dec 06 13:28:45 +0100 2008: > Sat Dec 6 13:24:16 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> > * Introduce viSafeWriteTo to Yi.File > > Sat Dec 6 13:25:13 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> > * Remove TODO item: C-y in

Re: Vim: completion in Ex mode

2008-12-07 Thread nicolas . pouillard
Excerpts from Александър Л. Димитров's message of Sat Dec 06 13:31:27 +0100 2008: > Hi fellas, > > I really don't like the completion stuff in ex mode. Take :saveas as an > example: > :saveas is recorded in the Vim manual as :sav[eas], which means that the > command > should get accepted with

patch applied (yi): style clarification

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 17:30:13 EST 2008 [EMAIL PROTECTED] * style clarification M ./STYLE -5 +7 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~---

Re: patch applied (yi): Support :tabm in Vim

2008-12-07 Thread Jean-Philippe Bernardy
On Sun, Dec 7, 2008 at 9:48 PM, Jeff Wheeler <[EMAIL PROTECTED]> wrote: > > Sun Dec 7 15:47:29 EST 2008 Jeff Wheeler <[EMAIL PROTECTED]> > * Support :tabm in Vim > >M ./Yi/Editor.hs +4 >M ./Yi/Keymap/Vim.hs +2 >M ./Yi/WindowSet.hs +6 I could not figure out the meaning of move by cu

Build failure & workaround: libncurses.so

2008-12-07 Thread Александър Л . Димитров
Summary of a long mail: on Arch Linux, either haskell-terminfo or libncurses is broken. If you can't get ghc to load the terminfo package when building yi, please read on, otherwise, it's probably boring for you. Hi folks, The newest darcs version of yi failed to build in its new module-linking s

patch applied (yi): Correct :tabm behavior with no given argument

2008-12-07 Thread Jeff Wheeler
Sun Dec 7 16:13:08 EST 2008 Jeff Wheeler <[EMAIL PROTECTED]> * Correct :tabm behavior with no given argument It should move the current tab to the last position, not the first, when :tabm is used with no integer argument. M ./Yi/Editor.hs -2 +4 M ./Yi/Keymap/Vim.hs -2 +2 --~--~

patch applied (yi): Support :tabm in Vim

2008-12-07 Thread Jeff Wheeler
Sun Dec 7 15:47:29 EST 2008 Jeff Wheeler <[EMAIL PROTECTED]> * Support :tabm in Vim M ./Yi/Editor.hs +4 M ./Yi/Keymap/Vim.hs +2 M ./Yi/WindowSet.hs +6 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.

Re: patch applied (yi): Improve style guidelines, use markdown format.

2008-12-07 Thread Jeff Wheeler
Regarding trailing whitespace, I think one blank line at the end is frequently useful and pretty common. It allows, for example, a user to cat a file without a yucky mess at the end. Many of the files in Yi already have the one extra blank line, so perhaps this should be even suggested within STYL

Re: patch applied (yi): Yi/Syntax.hs: swap \_ for const

2008-12-07 Thread Jeff Wheeler
On Dec 7, 2008, at 1:17 PM, Gwern Branwen wrote: > 2) Is it really a good idea to recommend writing stuff like 'foo a _b > = a'? A little experimentation convinces me that it has the same > effect as writing _, but the first several times I saw it in Yi, it > confused the heck out of me - I was c

Re: patch applied (yi): Yi/Syntax.hs: swap \_ for const

2008-12-07 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sun, Dec 7, 2008 at 1:58 PM, Jean-Philippe Bernardy wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkk8IVgACgkQvpDo5Pfl1oLUqACgg1ARvRvyfw8dK1OsvM+9ISJM E/kAnjpVrLuP0kZLCD5VHt/kzLLuco1f =puYU -END PGP SIGN

Re: patch applied (yi): Yi/Syntax.hs: swap \_ for const

2008-12-07 Thread Jean-Philippe Bernardy
On Sun, Dec 7, 2008 at 7:10 PM, Gwern Branwen <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On Sun, Dec 7, 2008 at 6:29 AM, Jean-Philippe Bernardy wrote: > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEAREKAAYFAkk8EbAACgkQvpDo5Pfl

patch applied (yi): expand STYLE

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 13:11:02 EST 2008 [EMAIL PROTECTED] * expand STYLE Ignore-this: 48567cacda2f239060288538e3ce47b4 M ./STYLE -19 +42 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~

patch applied (yi): Improve style guidelines, use markdown format.

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 13:57:17 EST 2008 [EMAIL PROTECTED] * Improve style guidelines, use markdown format. M ./STYLE -20 +38 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~

darcs patch: expand STYLE

2008-12-07 Thread gwern0
Sun Dec 7 13:11:02 EST 2008 [EMAIL PROTECTED] * expand STYLE --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- -BEGIN PGP SIGNED MESSAGE-

Re: patch applied (yi): Yi/Syntax.hs: swap \_ for const

2008-12-07 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Sun, Dec 7, 2008 at 6:29 AM, Jean-Philippe Bernardy wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkk8EbAACgkQvpDo5Pfl1oL0WwCfak6Gr5cV16+w1yzXTbB1wvFE CzoAoJsCaWwKCuPTHiDrox4dw4xjf+bM =Ir3d -END PGP SIGN

patch applied (yi): Editor: generate accessors with TH

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 12:26:18 EST 2008 [EMAIL PROTECTED] * Editor: generate accessors with TH M ./Yi/Editor.hs -42 +10 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~

patch applied (yi): haskell: support TH quotes

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 12:19:06 EST 2008 [EMAIL PROTECTED] * haskell: support TH quotes M ./Yi/Lexer/Haskell.x +5 M ./Yi/Style.hs +2 M ./Yi/Style/Library.hs +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/

patch applied (yi): Split the non-existential field of FBuffer to their own record

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 12:00:10 EST 2008 [EMAIL PROTECTED] * Split the non-existential field of FBuffer to their own record This should make the maintenance of these attributes much easier. Also, these are now consistently accessed though Accessors. In addition, I've used the Data.Accessor.Template m

patch applied (yi): compilation mode: show the error that the user jumps to

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 11:58:31 EST 2008 [EMAIL PROTECTED] * compilation mode: show the error that the user jumps to M ./Yi/Mode/Compilation.hs -1 +3 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~-

patch applied (yi): accessor: add back the combinator to access all elements of a traversable structure uniformly

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 11:59:17 EST 2008 [EMAIL PROTECTED] * accessor: add back the combinator to access all elements of a traversable structure uniformly M ./Yi/Accessor.hs +9 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.g

Re: Profiling yi

2008-12-07 Thread Jean-Philippe Bernardy
On Sun, Dec 7, 2008 at 5:33 PM, Kalman Noel <[EMAIL PROTECTED]> wrote: > > Yesterday I built yi with profiling support and hoped to get the usual > *.prof and *.hc files (we really need to do more memory profiling!). I > got those files - however, they turned out to be empty. This is with ghc > 6.

Profiling yi

2008-12-07 Thread Kalman Noel
Yesterday I built yi with profiling support and hoped to get the usual *.prof and *.hc files (we really need to do more memory profiling!). I got those files - however, they turned out to be empty. This is with ghc 6.10.1. Some mails on this list suggest that profiling yi is possible, while I was

patch applied (yi): added file name completion for :saveas

2008-12-07 Thread Jeff Wheeler
Sun Dec 7 08:13:51 EST 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * added file name completion for :saveas M ./Yi/Keymap/Vim.hs +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~-

darcs patch: added file name completion for :saveas

2008-12-07 Thread Aleksandar Dimitrov
Sun Dec 7 14:13:51 CET 2008 Aleksandar Dimitrov <[EMAIL PROTECTED]> * added file name completion for :saveas --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~--

Re: patch applied (yi): Yi/Syntax.hs: swap \_ for const

2008-12-07 Thread Jean-Philippe Bernardy
After some thought, I think I prefer the \_ -> notation in many cases. 1. It is easy to generalize to \_ _ ->, etc. 2. the stuff we ignore can be named (\ _input -> ) In general, do leave stylistic decisions/changes to the maintainer of the code. Thanks, JP. On Sun, Dec 7, 2008 at 6:15 AM, Je

patch applied (yi): improve ghc options

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 06:07:06 EST 2008 [EMAIL PROTECTED] * improve ghc options * see comment about orphans in patch; * linker options should be handled by Cabal, * comma in options is not supported by Cabal M ./yi.cabal -1 +3 --~--~-~--~~~---~--~~ Yi deve

patch applied (yi): These instances are useful to embed reader in keymaps (in user configs)

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 04:42:58 EST 2008 [EMAIL PROTECTED] * These instances are useful to embed reader in keymaps (in user configs) M ./Yi/Monad.hs +10 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

patch applied (yi): Applicative instances should be provided if monad is provided

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 04:47:29 EST 2008 [EMAIL PROTECTED] * Applicative instances should be provided if monad is provided M ./Yi/Interact.hs -1 +9 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~---

patch applied (yi): remove obsolete makeSearchOptsM'

2008-12-07 Thread Jean-Philippe Bernardy
Sun Dec 7 04:37:20 EST 2008 [EMAIL PROTECTED] * remove obsolete makeSearchOptsM' M ./Yi/Regex.hs -6 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~--