Files are opened by File.Dired.fnewCanonicalized.
I would add a hook there.
ie. add a field in Yi.Config with a default value of "return" and call it from
the appropriate point in fnew.

Hope this helps,
JP.


On Sat, Nov 8, 2008 at 1:06 AM, David Waern <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there some way to react to a "file-open" event in yi? I want to
> create a background process that does some processing as soon as a
> Haskell file is opened.
>
> How should I implement this?
>
> Thanks,
> David
> >
>

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to