darcs patch: IReader: rm dangerous concurrency

2010-10-11 Thread gwern0
1 patch for repository http://code.haskell.org/yi: Sun Oct 10 20:11:06 EDT 2010 gwe...@gmail.com * IReader: rm dangerous concurrency currently it's possible to corrupt an articles.db just by closing Yi while the writing is still going on in lieu of some way to stop Yi from closing (blockin

darcs patch: IReader.hs: switch M-Del to M-0

2010-03-25 Thread gwern0
Thu Mar 25 11:41:10 EDT 2010 gwe...@gmail.com * IReader.hs: switch M-Del to M-0 M-Del doesn't work with urxvt, it seems, and I am doubtful it works in general. But M-0 will work or fail with the other bindings. -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.c

darcs patch: update my config to compile with darcs yi

2010-02-08 Thread gwern0
Mon Feb 8 16:41:42 EST 2010 gwe...@gmail.com * update my config to compile with darcs yi -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 New patches: [update my config to compile with darcs yi gw

darcs patch: IReader.hs: hlint, whitespace (and 2 more)

2010-01-07 Thread gwern0
Thu Jan 7 10:00:41 EST 2010 gwe...@gmail.com * IReader.hs: hlint, whitespace Thu Jan 7 10:01:26 EST 2010 gwe...@gmail.com * IReader.hs: add shift functionality to allow expressing 'priorities' SuperMemo associates each article with a number, and then applies the spaced repetition formul

Destroying undo history

2009-10-03 Thread gwern0
So on my laptop the other day, I noticed Yi had spiked to 60% of my RAM (512MB machine), which perplexed me as I was only doing some IReader stuff and each text is no more than a book (1MB?) and usually less. A little thought and I decided that this must be due to the undo history, since I cou

Configuring keymaps

2009-04-11 Thread gwern0
So apparently keys have changed in darcs yi? I've been trying to figure out how to rescue my old config of defaultKm = Yi.Keymap.Emacs.keymap, -- Override M-g g, for shorter M-g binding. <|> (metaCh 'g' ?>>! gotoLn), Looking at the apparently updated confi

build broken: javaScriptMode ?

2009-03-02 Thread gwern0
[01:40 PM] 0Mb$ pull ewentifying repository http://code.haskell.org/yi format Pulling from "http://code.haskell.org/yi";... No remote changes to pull in! [01:40 PM] 0Mb$ new No changes! [01:40 PM] 0Mb$ configurenop && build [105 of 108] Compil

Initializable

2009-02-25 Thread gwern0
So I was wondering when I was looking at the Initializable typeclass. Would it make sense if the default Initializable for a given type could be 'mempty', if Monoid is already defined? As far as I can tell, Initializable is the same thing as Monoid except without any mappend or mconcat. This w

Darcs yi failure - pointedlist?

2009-02-15 Thread gwern0
I note that with darcs yi as of right now, there is a compile failure: Yi/GHC.hs:35:40: Not in scope: `WS.new' Looking in WindowSet, I see no definition of 'new'. I presume that this was a function removed in the switch to pointedlist? -- gwern signature.asc Description: OpenPGP digital sig

darcs patch: STYLE: information on using hlint

2008-12-20 Thread gwern0
Sat Dec 20 16:10:52 EST 2008 gwe...@gmail.com * STYLE: information on using hlint --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- -BEGIN

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

darcs patch: some -Wall of Yi.Buffer.HighLevel (and 5 more)

2008-12-13 Thread gwern0
Sat Dec 13 23:16:17 EST 2008 gwe...@gmail.com * some -Wall of Yi.Buffer.HighLevel Sat Dec 13 23:19:54 EST 2008 gwe...@gmail.com * Yi.Users.Gwern: example binding of 'hoogle' function Sat Dec 13 23:20:17 EST 2008 gwe...@gmail.com * Yi.Editor: rm apparently unused import Sat Dec 13 23:21:

darcs patch: Yi.Users.Gwern: switch to use shim-mode (and 3 more)

2008-12-12 Thread gwern0
Fri Dec 12 11:53:32 EST 2008 gwe...@gmail.com * Yi.Users.Gwern: switch to use shim-mode Bind a key to infer type, and do some formatting. Fri Dec 12 12:47:20 EST 2008 gwe...@gmail.com * eradicate some more [Char]s Fri Dec 12 12:47:39 EST 2008 gwe...@gmail.com * Yi.Mode.IReader: send th

darcs patch: Yi.Users.Gwern: switch to use shim-mode

2008-12-12 Thread gwern0
Fri Dec 12 11:53:32 EST 2008 gwe...@gmail.com * Yi.Users.Gwern: switch to use shim-mode Bind a key to infer type, and do some formatting. --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~-

darcs patch: canonicalize [Char] to String

2008-12-10 Thread gwern0
Tue Dec 9 22:02:15 EST 2008 [EMAIL PROTECTED] * canonicalize [Char] to String --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- -BEGIN PG

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-

darcs patch: Yi.IReader: enumerate imports (and 1 more)

2008-12-05 Thread gwern0
Fri Dec 5 15:43:14 EST 2008 [EMAIL PROTECTED] * Yi.IReader: enumerate imports Fri Dec 5 16:25:23 EST 2008 [EMAIL PROTECTED] * Yi.IReader: convert to bytestring Because of 'read' and 'show' (and the concomitant packing and unpack), this probably doesn't gain much speed or space. But it

darcs patch: Yi.IReader: more comments (and 1 more)

2008-12-03 Thread gwern0
Wed Dec 3 19:55:20 EST 2008 [EMAIL PROTECTED] * Yi.IReader: more comments Wed Dec 3 19:56:04 EST 2008 [EMAIL PROTECTED] * various -Wall cleanups --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-de

darcs patch: Main.hs: M-x ireadMode to just iread

2008-12-03 Thread gwern0
Wed Dec 3 13:19:19 EST 2008 [EMAIL PROTECTED] * Main.hs: M-x ireadMode to just iread So I don't need to constantly disambiguate. --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~--

darcs patch: Shim/; some -Wall cleanup (and 3 more)

2008-12-03 Thread gwern0
Wed Dec 3 11:44:08 EST 2008 [EMAIL PROTECTED] * Shim/; some -Wall cleanup Wed Dec 3 11:45:17 EST 2008 [EMAIL PROTECTED] * fix up Shim/ w/r/t Control.Exception Wed Dec 3 11:51:29 EST 2008 [EMAIL PROTECTED] * Shim/*: +pragmas, rm unused imports Wed Dec 3 12:26:31 EST 2008 [EMAIL PROT

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

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

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

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

2008-11-30 Thread gwern0
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 default to if the user has been so churlish as to feed us an empty string. Sun Nov 30 21:53:48 EST 200

darcs patch: Yi.Mode.IReader: simplify, rm useless cm setting, rest...

2008-11-29 Thread gwern0
Sat Nov 29 18:28:22 EST 2008 [EMAIL PROTECTED] * Yi.Mode.IReader: simplify, rm useless cm setting, restore *.irtxt association --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~-

darcs patch: +Gwern.hs: my Yi config

2008-11-29 Thread gwern0
Sat Nov 29 17:58:47 EST 2008 [EMAIL PROTECTED] * +Gwern.hs: my Yi config --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- -BEGIN PGP SIGN

darcs patch: Yi.IReader: simplify getBufferContents p... (and 3 more)

2008-11-29 Thread gwern0
Fri Nov 28 10:10:36 EST 2008 [EMAIL PROTECTED] * Yi.IReader: simplify getBufferContents per Nicolas Pouillard Fri Nov 28 10:11:37 EST 2008 [EMAIL PROTECTED] * Yi.Mode.IReader: +toplevel 'ireadMode' Fri Nov 28 11:10:43 EST 2008 [EMAIL PROTECTED] * Yi.Buffer.HighLevel: +moveNonspaceOrSol &

darcs patch: fix misc haddocks

2008-11-28 Thread gwern0
Sat Nov 29 00:44:38 EST 2008 [EMAIL PROTECTED] * fix misc haddocks --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- -BEGIN PGP SIGNED MES

darcs patch: Yi.Mode.Interactive: +ghciHome: a function for Home sp...

2008-11-28 Thread gwern0
Fri Nov 28 22:35:00 EST 2008 [EMAIL PROTECTED] * Yi.Mode.Interactive: +ghciHome: a function for Home specialized for ghci prompt --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~

darcs patch: Yi.IReader: simplify getBufferContents p... (and 1 more)

2008-11-28 Thread gwern0
Fri Nov 28 10:10:36 EST 2008 [EMAIL PROTECTED] * Yi.IReader: simplify getBufferContents per Nicolas Pouillard Fri Nov 28 11:10:43 EST 2008 [EMAIL PROTECTED] * Yi.Buffer.HighLevel: +moveNonspaceOrSol & supporting function moveNonspaceOrSol is a smarter Home binding; it moves to the beginnin

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

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

darcs patch: sp Configuration.text (and 4 more)

2008-11-26 Thread gwern0
Sun Nov 23 23:28:51 EST 2008 [EMAIL PROTECTED] * sp Configuration.text Wed Nov 26 13:38:54 EST 2008 [EMAIL PROTECTED] * Shim/Utils.hs: cm out unused import The only function using the Exception module is likewise commented out. Wed Nov 26 13:40:26 EST 2008 [EMAIL PROTECTED] * yi.cabal:

darcs patch: sp Configuration.text

2008-11-23 Thread gwern0
Sun Nov 23 23:28:51 EST 2008 [EMAIL PROTECTED] * sp Configuration.text --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- -BEGIN PGP SIGNED

darcs patch: yi.cabal: expose Yi.Mode.Shim

2008-04-09 Thread gwern0
Wed Apr 9 14:35:47 EDT 2008 [EMAIL PROTECTED] * yi.cabal: expose Yi.Mode.Shim --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- New patches:

Re: Startup & keymaps

2008-04-09 Thread gwern0
On 2008.04.09 07:48:25 +0200, Jean-Philippe Bernardy <[EMAIL PROTECTED]> scribbled 0.9K characters: > > On Tue, Apr 8, 2008 at 11:47 PM, <[EMAIL PROTECTED]> wrote: > > So I haven't been following development very closely lately (the bytestring > > problem was painful enough to resolve I only jus

Startup & keymaps

2008-04-08 Thread gwern0
So I haven't been following development very closely lately (the bytestring problem was painful enough to resolve I only just recently did so). Did initialization change? Because now I persistently see warnings like '/home/gwern/.yi/yi-x86_64-linux: executeFile: does not exist (No such file or

darcs patch: fix up sdist some more

2008-04-06 Thread gwern0
Sun Apr 6 12:32:58 EDT 2008 [EMAIL PROTECTED] * fix up sdist some more --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~--~~~~--~~--~--~--- New patches: [fix

darcs patch: Editor.hs, Alex.hs: fix the haddock build (and 2 more)

2008-04-01 Thread gwern0
Tue Apr 1 21:24:57 EDT 2008 [EMAIL PROTECTED] * Editor.hs, Alex.hs: fix the haddock build Turns out haddock 2.0 has a regression where you can't use the -- ^ syntax with type synonyms ('type'). Move the haddocks up, and fix another odd fmt error Tue Apr 1 21:28:42 EDT 2008 [EMAIL PROTECTE

darcs patch: Editor.hs, Alex.hs: fix the haddock build

2008-04-01 Thread gwern0
Tue Apr 1 21:24:57 EDT 2008 [EMAIL PROTECTED] * Editor.hs, Alex.hs: fix the haddock build Turns out haddock 2.0 has a regression where you can't use the -- ^ syntax with type synonyms ('type'). Move the haddocks up, and fix another odd fmt error --~--~-~--~~~---~