patch applied (yi): sp 05-Prototypes.text

2008-11-27 Thread Jean-Philippe Bernardy
Thu Nov 27 11:32:05 EST 2008 [EMAIL PROTECTED] * sp 05-Prototypes.text M ./doc/blog/05-Prototypes.text -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~

Re: Creating a new mode/app: incremental reading

2008-11-27 Thread Jeff Wheeler
On Nov 28, 2008, at 12:17 AM, Jeff Wheeler wrote: > M-x setAnyMode iReaderMode, and don't associate it with any file > types. This is defined in Yi.Misc. By the way, I don't know of any way to do this from the Vim keybindings which I prefer. :yi setAnyMode works, but I cannot seem to get Yi

Re: Creating a new mode/app: incremental reading

2008-11-27 Thread Jeff Wheeler
On Nov 28, 2008, at 12:03 AM, Gwern Branwen wrote: > This leaves me another question. So far I can't figure out how to > simply invoke a mode on a buffer. I mean, in Emacs one might create a > new buffer, and then do M-x ireader-mode, or whatever. But in Yi, the > only mechanism I see to get int

Re: Creating a new mode/app: incremental reading

2008-11-27 Thread Gwern Branwen
OK, so I've finished up my mode. It seems to work well, although obviously still very alpha and fragile (and there's a strange consequence of my error-catching which creates an empty article). Whew. This leaves me another question. So far I can't figure out how to simply invoke a mode on a buffer

darcs patch: sp 05-Prototypes.text (and 2 more)

2008-11-27 Thread gwern0
Thu Nov 27 11:32:05 EST 2008 [EMAIL PROTECTED] * sp 05-Prototypes.text Fri Nov 28 00:51:02 EST 2008 [EMAIL PROTECTED] * +Yi.IReader, Yi.Mode.IReader: my article reading mode This implements a mode that stores articles/books/texts in a file in ~/.yi and then lets the user cycle around the

Re: Creating a new mode/app: incremental reading

2008-11-27 Thread Jean-Philippe Bernardy
On Thu, Nov 27, 2008 at 10:53 PM, nicolas. pouillard <[EMAIL PROTECTED]> wrote: > > Excerpts from Gwern Branwen's message of Thu Nov 27 22:50:31 +0100 2008: >> > On Thu, Nov 27, 2008 at 3:22 AM, Gwern Branwen <[EMAIL PROTECTED]> wrote: >> >> On Wed, Nov 26, 2008 at 5:03 PM, Gwern Branwen wrote: >

Re: Creating a new mode/app: incremental reading

2008-11-27 Thread nicolas . pouillard
Excerpts from Gwern Branwen's message of Thu Nov 27 22:50:31 +0100 2008: > > On Thu, Nov 27, 2008 at 3:22 AM, Gwern Branwen <[EMAIL PROTECTED]> wrote: > >> On Wed, Nov 26, 2008 at 5:03 PM, Gwern Branwen wrote: > >>> setBufferContents doesn't seem to exist. At least, recursive grep > >>> can't fin

Re: Creating a new mode/app: incremental reading

2008-11-27 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Thu, Nov 27, 2008 at 2:24 AM, Jean-Philippe Bernardy wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkkvFh8ACgkQvpDo5Pfl1oKuZQCfamk8/ptaKf2enU1+aehIXfRs Wa8An16DCrU2NlHY6Ot2hbLxda2nr+Iw =2n8V -END PGP SIG

darcs patch: sp 05-Prototypes.text

2008-11-27 Thread gwern0
Thu Nov 27 11:32:05 EST 2008 [EMAIL PROTECTED] * sp 05-Prototypes.text --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- -BEGIN PGP SIGNED

Re: Spurious -Wall warning?

2008-11-27 Thread Gwern Branwen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Thu, Nov 27, 2008 at 5:46 AM, allan wrote: -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkkuxoUACgkQvpDo5Pfl1oKSRQCffhZ2T0FjCcHjGX9Vm1V1N9Lz OkIAn0QgXjWeyPTkySC1T5FSI/VZ/ztI =ZFNk -END PGP SIGNATURE- > >

Re: Spurious -Wall warning?

2008-11-27 Thread allan
Yeah I believe it's this bug: http://hackage.haskell.org/trac/ghc/ticket/1074 or this one if indeed they are not the same thing http://hackage.haskell.org/trac/ghc/ticket/2267 and this one: http://hackage.haskell.org/trac/ghc/ticket/1148 allan Jean-Philippe Bernardy wrote: >> So is this just a f

Issue 207 in yi-editor: cocoa: sometimes yi complains "buffer not associated with a file"

2008-11-27 Thread codesite-noreply
Status: Accepted Owner: JeanPhilippe.bernardy Labels: Type-Defect Priority-Medium Component-UI-Cocoa New issue 207 by JeanPhilippe.bernardy: cocoa: sometimes yi complains "buffer not associated with a file" http://code.google.com/p/yi-editor/issues/detail?id=207 in emacs + cocoa: yi X C-x C-