On Fri, Sep 17, 2010 at 9:45 AM, Gwern Branwen <[email protected]> wrote: > On Wed, Sep 1, 2010 at 12:10 PM, Jean-Philippe Bernardy > <[email protected]> wrote: >> On Wed, Sep 1, 2010 at 3:28 PM, Gwern Branwen <[email protected]> wrote: >>> On Sun, Aug 29, 2010 at 12:24 PM, Jean-Philippe Bernardy >>> <[email protected]> wrote: >>>> Your function should be in the scope of the interpreter. >>>> >>>> See Eval.hs: >>>> >>>> LHI.setImportsQ [("Yi", Nothing), ("Yi.Keymap",Just "Yi.Keymap")] - >>>> >>>> The set of imported stuff should probably be a config option. >>>> >>>> Cheers, >>>> JP. >>> >>> Well, alright. (I assume I am supposed to add a line importing Yi.IReader?) >> >> Yes. >> >>> But I know M-x used to work for this; was all that recently changed? >> >> Using Hint for M-x used to be an experimental feature. >> I seem to recall Jeff pushing a patch making it default. >> >> Cheers, >> JP. >> > > Not quite sure how the options go there. I tried putting in > ("Yi.Mode.IReader", Just "Yi.Mode.IReader"), but that didn't seem to > work. >
I happened to be trying this with Nothing, and when no completions appeared, on a lark I tried typing ireadMode and hitting enter anyway - which landed me in ireader-mode! So apparently it was present and ready to go, but it was not showing up in completions. -- gwern http://www.gwern.net -- Yi development mailing list [email protected] http://groups.google.com/group/yi-devel
