[elinks-dev] Re: [patch] additional functionality for Python backend

2006-11-27 Thread M. Levinson
On Nov 27, 2006, at 12:56am, Kalle Olavi Niemitalo writes: >I think convenience for users is more important here than >consistent look. [...] > >I would thus be inclined to install the file as is, at least >until users request a different format. That sounds fine to me, and I certainly won't mind

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-11-26 Thread Kalle Olavi Niemitalo
"M. Levinson" <[EMAIL PROTECTED]> writes: > Good question. I formatted it to resemble output from the pydoc program > (and the interactive Python interpreter's help system) so it would have > the look of other Python API documentation that should be familiar to > many Python programmers; installin

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-11-26 Thread M. Levinson
On Nov 26, 2006, at 12:33pm, Kalle Olavi Niemitalo writes: >Thanks; committed as 0c1ba7306f4175c65baad77595f7854bafe6d67e. > >However, doc/Makefile does not yet do anything with python.txt. >"make install-doc" converts many other documents to HTML or PDF >and installs them. As python.txt is appare

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-11-26 Thread Kalle Olavi Niemitalo
"M. Levinson" <[EMAIL PROTECTED]> writes: > On Nov 22, 2006, at 11:37pm, Kalle Olavi Niemitalo writes: >>Is it OK to add your name and/or email address (as shown above) >>to the ELinks source repository (and copies worldwide) as the >>author of this patch and any you post later? > > Yes, you have

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-11-23 Thread M. Levinson
On Nov 22, 2006, at 11:37pm, Kalle Olavi Niemitalo writes: >Is it OK to add your name and/or email address (as shown above) >to the ELinks source repository (and copies worldwide) as the >author of this patch and any you post later? Yes, you have my permission to do so. Thank you!

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-11-22 Thread Kalle Olavi Niemitalo
"M. Levinson" <[EMAIL PROTECTED]> writes: > I finally found time to update my repository, and it appears the documentation > changes from my patch (removing contrib/python/README.Python and adding > doc/python.txt to replace it) weren't committed. Here are those diffs again. Is it OK to add your

Re: [elinks-dev] Re: [patch] additional functionality for Python backend

2006-11-21 Thread M. Levinson
On Oct 19, 2006, at 3:28pm, Witold Filipczyk writes: >Applied. If you have any enhancements, feel free to send it here. I finally found time to update my repository, and it appears the documentation changes from my patch (removing contrib/python/README.Python and adding doc/python.txt to replace i

Re: [elinks-dev] Re: [patch] additional functionality for Python backend

2006-10-19 Thread Witold Filipczyk
Applied. If you have any enhancements, feel free to send it here. -- Witek ___ elinks-dev mailing list elinks-dev@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-dev

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-23 Thread Kalle Olavi Niemitalo
"M. Levinson" <[EMAIL PROTECTED]> writes: > +static char python_info_box_doc[] = \ > +PYTHON_DOCSTRING("info_box(text[, title]) -> None\n\ The backslash after the equals sign looks unnecessary, although it shouldn't hurt either. (I didn't check whether elinks_maint.py uses it for something.) >

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-21 Thread Kalle Olavi Niemitalo
"M. Levinson" <[EMAIL PROTECTED]> writes: > Would the attached version of the patch work correctly under Debian? > > > diff --git a/mrldev:src/scripting/python/python.c > b/mrldev:src/scripting/python/python.c > index cf9e0c0..e1bc374 100644 Yes, that works. pgppFXvTNd5eH.pgp Description: PGP

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-21 Thread M. Levinson
On Sep 20, 2006, Kalle Olavi Niemitalo writes: >"M. Levinson" writes: >> The patch includes documentation for Python programmers in doc/python.txt, >> and the documentation is also available internally from Python code via >> Python's introspection API. > >Both currently seem to contain the same t

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-21 Thread M. Levinson
On Sep 21, 2006, Kalle Olavi Niemitalo writes: >I get a preprocessor error and reverting the quoted patch fixes it. Hmm, I was trying to follow this advice from doc/hacking.txt: "Please keep includes in alphabetical order unless a specific order is required for compilation on weird systems (then p

Re: [elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-21 Thread Jonas Fonseca
Kalle Olavi Niemitalo <[EMAIL PROTECTED]> wrote Thu, Sep 21, 2006: > Jonas Fonseca <[EMAIL PROTECTED]> writes: > > > The event system was introduced for keybindings, when work was being > > done to support loadable module, especially scripting modules. > > I see, the event system was first added

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-21 Thread Kalle Olavi Niemitalo
Jonas Fonseca <[EMAIL PROTECTED]> writes: > The event system was introduced for keybindings, when work was being > done to support loadable module, especially scripting modules. I see, the event system was first added to CVS in commit 2b72492bf294c6fc442a06e6eca94fef0154db34 and soon used for key

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-20 Thread Kalle Olavi Niemitalo
"M. Levinson" <[EMAIL PROTECTED]> writes: > diff --git a/src/scripting/python/python.c b/src/scripting/python/python.c > index cf9e0c0..13411c4 100644 > --- a/src/scripting/python/python.c > +++ b/src/scripting/python/python.c > @@ -4,11 +4,10 @@ #ifdef HAVE_CONFIG_H > #include "config.h" > #end

Re: [elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-20 Thread Jonas Fonseca
Kalle Olavi Niemitalo <[EMAIL PROTECTED]> wrote Wed, Sep 20, 2006: > Perhaps it is a bad idea in general to use the event registration > system for key bindings. There will be only one hook for each > such event, anyway. The event system was introduced for keybindings, when work was being done to

[elinks-dev] Re: [patch] additional functionality for Python backend

2006-09-19 Thread Kalle Olavi Niemitalo
"M. Levinson" <[EMAIL PROTECTED]> writes: > The patch includes documentation for Python programmers in doc/python.txt, > and the documentation is also available internally from Python code via > Python's introspection API. Both currently seem to contain the same text. Would it be a good idea to