-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On Thu, Jan 8, 2009 at 11:07 AM, Changying Li  wrote:
> I try to write an input methold like eim in emacs, but I fint it is very
> convenient to write extensions.

A lot of areas are rough and not as good as they could be in Yi;
extensions are just one of them.

> the attachment is my yi.hs.
>
> 1. Yi.Config.Default module does not export defaultPublishedActions, so
> I must extract it from defaultConfig
> 2. it also does not export box function.

The M-x system, from what I remember of jpb's replies to some comments
of mine on Config.hs, is somewhat experimental and probably needs to
be rewritten. So missing imports isn't too surprising.

> and a question:
>
> why some actions like Character is a published action?
> ["Character"]
> error: value doesn't have type Yi.Keymap.Action

Dunno why it's there. That it does not work is unsurprising; Eval.hs
does not cover constructors in its list of interpreterable type
signatures.

- --
gwern

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREKAAYFAklms8UACgkQvpDo5Pfl1oIN4ACfUcPavhLea5TI8P74ALi42NI+
j4wAn1glMc3pRK2FKReDVZZ2dfQjzNDn
=Pi/e
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to