Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yi.Eval does not update completion list for interpreted modules? #402

Closed
ethercrow opened this issue Nov 19, 2012 · 2 comments
Closed

Yi.Eval does not update completion list for interpreted modules? #402

ethercrow opened this issue Nov 19, 2012 · 2 comments

Comments

@ethercrow
Copy link
Member

Original author: gwe...@gmail.com (November 09, 2010 18:15:24)

To use ireaderMode I edited Yi.Eval to read

LHI.setImportsQ [("Yi", Nothing), ("Yi.Keymap",Just "Yi.Keymap"), ("Yi.Mode.IReader",Nothing)]

Originally I thought this was just broken, but it turns out that M-x ireadMode does in fact work - it just will not show up in the completions and anyone going on that will be misled.

See thread: http://www.mail-archive.com/yi-devel@googlegroups.com/msg04576.html

Original issue: http://code.google.com/p/yi-editor/issues/detail?id=322

@mgajda
Copy link
Contributor

mgajda commented Dec 2, 2012

Since switch to ghciEvaluator, it depends of the list of names in scope after executing $HOME/.config/yi/local/Env.hs (or $HOME/.yi/local/Env.hs) and:

import Yi
import qualified Yi.Keymap as Yi.Keymap

In other words - a fix is to export these names from Yi module.

@mgajda
Copy link
Contributor

mgajda commented Dec 2, 2012

@mgajda mgajda closed this as completed Dec 2, 2012
@mgajda mgajda mentioned this issue Dec 2, 2012
atsukotakahashi pushed a commit to atsukotakahashi/wi that referenced this issue Nov 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants