1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
elinks/contrib/python
Kalle Olavi Niemitalo 1dfdb6e19b Revert 8bedf25b, "goto_url_hook takes 2 params not 1."
Revert 8bedf25bf8.  Different versions
of ELinks call the Python goto_url_hook with different arguments:

- goto_url_hook(current) in 0.11.0, 0.11.1, and 0.11.2.

- goto_url_hook(new, current) in 0.11.2.GIT since 2007-11-27, commit
  8bedf25bf8 which I'm now reverting.
  No released version of ELinks has used this variant.

- goto_url_hook(new) in 0.12.GIT since 2007-01-01, commit
  26473f72f5.  The hook can call
  elinks.current_url() if desired.

I think it will be less confusing to users if we drop the middle
variant and make the rest of the stable 0.11 branch call the hook in
the same way as 0.11.2 did.  The difference will then be only between
the 0.11 and 0.12 branches.
2007-04-06 14:30:00 +03:00
..
hooks.py Revert 8bedf25b, "goto_url_hook takes 2 params not 1." 2007-04-06 14:30:00 +03:00
README.Python Remove inaccurate information from README.Python. 2007-04-05 11:31:35 +03:00

If you want to use Python scripting with ELinks add
--with-python to the configure invocation copy hooks.py to ~/.elinks

For the present hooks.py is not very usable. You are welcome to make it better.
Good Luck!