vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Odd vileserv error


From: Brendan O'Dea
Subject: Re: [vile] Odd vileserv error
Date: Sat, 11 Apr 2015 08:23:17 +1000

On 11 April 2015 at 00:18, Chris Green <address@hidden> wrote:
> I occasionally use 'vileget' to load files into a running xvile and it
> works OK.
>
> However, for some reason, I'm getting an error when I write files from
> xvile.  This error is occurring even though I'm not using vileget to
> load files into xvile, I'm just doing things the normal way.
>
> What I see if I set popup-msgs is:-
>
>     :
>     [No such function "vileserv-writehook"]
>     [Writing...]
>     [Wrote 45 lines 6046 chars to 
> "/home/chris/tmp/wiki/data/pages/info/holidays/2015/br2.txt"]

How are you starting Vileserv?  You need to "use", rather than
"require" it so that the functions like vileserv-writehook are
registered.

  :perl use Vileserv

correctly registers that function for me on 9.8l and 9.8p.  It also
appears to work: "vileget -w /tmp/foo" blocks until I write the file.

--bod



reply via email to

[Prev in Thread] Current Thread [Next in Thread]