pre0.9.9-50 (was Re: mingw32 build feedback)

"John E. Davis" <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
Rudy Taraschi <[email protected]> wrote:
>
> !if (1 == register_hook ("startup_hook","identity->retrieve_default"))
>    error ("identity.sl: register_hook (startup_hook)");
>
> Again, if I remove the "1 ==" , I get no error.  Strange.

I rewrote hooks.c, mainly because I wanted to support function
references instead of strings, e.g.,

   private define foo ()
   { ... }
   
   () = register_hook ("some_hook", &foo);

  [I would have preferred register_hook to throw an exception rather
  than returning a status value.  But I felt that it was better to
  maintain compatibility with the previous behavior.]

Perhaps your specific problem will go away with version pre0.9.9-50.
Note: if you compile this version, you will also need to "install" it.
This is because pre0.9.9-50 installs a file called called slrn.sl in
$prefix/share/slrn/slang/, and will refuse to run unless it can load
that file during startup. 

Also note the change in the location of the optional global slrn.rc
config file from $prefix/etc/ to $prefix/etc/slrn/.

My apologies to those who have released patches against pre0.9.9-43. I
would like to address the outstanding bugs and installation issues
before I add new features.  And now that the interpreter has been
introduced at startup, I believe that more powerful customizations are
now possible.  To be clear, I would rather see new features
implemented at the interpreter level, and hooks added to C code where
needed.

Thanks,
--John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.