On Thu, Oct 14, 2010 at 1:41 PM, Peter Marks wrote:
> If you start Yi with no config file, press any key, press "h", choose a key
> binding, then save the file, you get a file c:\Users\peter\.yi\yi.hs
Oh, indeed. I didn't realize that. The behavior is defined in
Yi.Config.Default.nilKeymap and i
I think I have this working now :-)
I had to make two changes to dyre:
- In Config.Dyre, I removed lines 188 to 191 which delete "errors.txt". This
was failing as the file was still open for lazy reading.
- In Config.Dyre.Paths, I changed line 28 to:
let tempBinary = cacheDir pName ++ "-"
> Are you sure that Yi ever writes a default config file?
If you start Yi with no config file, press any key, press "h", choose a key
binding, then save the file, you get a file c:\Users\peter\.yi\yi.hs
> If dyre defaults to using a directory that doesn't exist on 7, I'd say
that's a bug in dyre.
On Wed, Oct 13, 2010 at 6:14 PM, Peter Marks wrote:
> The problem is down to getAppUserDataDirectory called in Yi.Boot. This
> function behaves differently on Windows to Linux... and more so on Windows
> 7. The first issue is that on Windows it doesn't prepend the "." to the
> directory name, so
The problem is down to getAppUserDataDirectory called in Yi.Boot. This
function behaves differently on Windows to Linux... and more so on Windows
7. The first issue is that on Windows it doesn't prepend the "." to the
directory name, so it is looking in "yi", not ".yi". On Windows 7, it looks
for t
On Wed, Oct 13, 2010 at 2:54 AM, Peter Marks wrote:
> What should I see when Yi loads? If my config file is broken, where should I
> see errors? The debug option didn't produce anything useful.
I'd expect it in one of three places:
1. In a buffer inside Yi when it launches using the default con
Thanks Jeff
What should I see when Yi loads? If my config file is broken, where should I
see errors? The debug option didn't produce anything useful.
After starting up, the help option does open my config, so I think it is in
the right place. This is Windows 7 if that makes any difference.
I'm h
That bug is probably no longer correct. We now use the dyre package
for loading the config. Does anybody know if dyre works on Windows in
general?
On Tue, Oct 12, 2010 at 5:39 PM, Peter Marks wrote:
> Does anyone use Yi on Windows? I've managed to get it to build and run, but
> it doesn't seem to
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Peter
> Verswyvelen
>
> I retrieved the latest version of YI, but I failed to compile
> it for Windows (GHC 6.6.1, and I got alex-2.1.0, haddock-0.8,
> HsColour, GTK, but not VTY)
>
> Before even pasting the error log, is it s