generate_contributions.py was: Auto generation of lfun wiki page

2005-06-22 Thread G. Milde
On 10.06.05, Angus Leeming wrote: > On Friday 10 June 2005 14:05, G. Milde wrote: > > On 10.06.05, Angus Leeming wrote: > > > Lars Gullik Bjønnes wrote: > > > > | Unfortunately, This script both stores and manipulates the > > > > | raw data ... > > > > > > > > Agree.. one of the remaining bad thin

Re: LFUN documentation (Was: Auto generation of lfun wiki page)

2005-06-14 Thread chr
On Tue, 14 Jun 2005, G. Milde wrote: > > Hmm... are you suggesting that *only* the short description should go > > into the source eventually? Wouldn't that too easily lead to the long > > and the short descriptions diverging? > > Yes. This seems to me as a good tradeoff between ease of work for

Re: LFUN documentation (Was: Auto generation of lfun wiki page)

2005-06-14 Thread G. Milde
On 13.06.05, [EMAIL PROTECTED] wrote: > On Mon, 13 Jun 2005, G. Milde wrote: > > IMHO, the short description doesnot need any markup. (And if a see-also > > should be contained in the Synopsis (I would put See Also only in the > > full doc), an extraction script could easily convert a lfun-name t

Re: LFUN documentation (Was: Auto generation of lfun wiki page)

2005-06-13 Thread chr
On Mon, 13 Jun 2005, G. Milde wrote: > > > But we don't want that kind of documentation for lfuns, we want > > > documentation that is accesible from inside lyx. > > IMHO, we need both, a short description for tooltips or the status line > and a full description with markup and links etc. > > >

Re: Auto generation of lfun wiki page

2005-06-13 Thread G. Milde
On 13.06.05, G. Milde wrote: > On 10.06.05, Lars Gullik Bjønnes wrote: > > "G. Milde" <[EMAIL PROTECTED]> writes: > > > > | IMHO, it would be easier the other way round (put the info into > > | LyXAction in the first place). > > > > > | - { LFUN_ACUTE, "accent-acute", Noop }, > > | +

Re: LFUN documentation (Was: Auto generation of lfun wiki page)

2005-06-13 Thread G. Milde
On 13.06.05, [EMAIL PROTECTED] wrote: > On Sun, 12 Jun 2005, Lars Gullik Bjønnes wrote: > > But we don't want that kind of documentation for lfuns, we want > > documentation that is accesible from inside lyx. IMHO, we need both, a short description for tooltips or the status line and a full descr

Re: Auto generation of lfun wiki page

2005-06-13 Thread G. Milde
On 10.06.05, Lars Gullik Bjønnes wrote: > "G. Milde" <[EMAIL PROTECTED]> writes: > > | IMHO, it would be easier the other way round (put the info into > | LyXAction in the first place). > > > | - { LFUN_ACUTE, "accent-acute", Noop }, > | + { LFUN_ACUTE, "accent-acute", Noop, ""

Re: Auto generation of lfun wiki page

2005-06-13 Thread Jean-Marc Lasgouttes
> "chr" == chr <[EMAIL PROTECTED]> writes: chr> Anyway, although I also feel that the documentation should chr> (eventually) be stored in the source, I can see why now is not a chr> good time for that. I think basically that you should not wait for us :) chr> I assume Gunter and I can "pepp

LFUN documentation (Was: Auto generation of lfun wiki page)

2005-06-12 Thread chr
On Sun, 12 Jun 2005, Lars Gullik Bjønnes wrote: > >> > PS. As for Lars' comment about having to learn wiki markup, the writer - > >> > whoever it is - *will* have to learn some kind of markup. > >> > >> Only if he does not know it already. I agree with Lars that another kind > >> of markup shoul

Re: Auto generation of lfun wiki page

2005-06-12 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Samstag, 11. Juni 2005 19:23 schrieb Lars Gullik Bjønnes: >> Georg Baum <[EMAIL PROTECTED]> writes: >> | Why? Adding documentation, be it as comments or as strings in a new >> | (otherwise unused) member of the ev_item struct cannot introduce bugs | or

Re: Auto generation of lfun wiki page

2005-06-12 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | On Sat, 11 Jun 2005, Georg Baum wrote: > >> Am Samstag, 11. Juni 2005 13:06 schrieb [EMAIL PROTECTED]: >> >> > Anyway, although I also feel that the documentation should >> > (eventually) be stored in the source, I can see why now is not a good >> > time for that. >>

Re: Auto generation of lfun wiki page

2005-06-12 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | On Sun, 12 Jun 2005, Georg Baum wrote: > >> > Except delaying it of course... >> >> Maybe. Of course we get delays if lfuns need to be discussed on the list, >> but that is independent from the documentation format. If we don't want >> that we should freeze the lfun

Re: Auto generation of lfun wiki page

2005-06-12 Thread chr
On Sun, 12 Jun 2005, Georg Baum wrote: > > Except delaying it of course... > > Maybe. Of course we get delays if lfuns need to be discussed on the list, > but that is independent from the documentation format. If we don't want > that we should freeze the lfun documentation until 1.4.0 is releas

Re: Auto generation of lfun wiki page

2005-06-12 Thread chr
On Sat, 11 Jun 2005, Georg Baum wrote: > Am Samstag, 11. Juni 2005 13:06 schrieb [EMAIL PROTECTED]: > > > Anyway, although I also feel that the documentation should > > (eventually) be stored in the source, I can see why now is not a good > > time for that. > > Why? Adding documentation, be it a

Re: Auto generation of lfun wiki page

2005-06-12 Thread Georg Baum
Am Samstag, 11. Juni 2005 19:23 schrieb Lars Gullik Bjønnes: > Georg Baum <[EMAIL PROTECTED]> writes: > | Why? Adding documentation, be it as comments or as strings in a new > | (otherwise unused) member of the ev_item struct cannot introduce bugs or > | influence the release of 1.4 in any other

Re: Auto generation of lfun wiki page

2005-06-11 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Am Samstag, 11. Juni 2005 13:06 schrieb [EMAIL PROTECTED]: > >> Anyway, although I also feel that the documentation should (eventually) | be >> stored in the source, I can see why now is not a good time for that. > | Why? Adding documentation, be it as com

Re: Auto generation of lfun wiki page

2005-06-11 Thread Georg Baum
Am Samstag, 11. Juni 2005 13:06 schrieb [EMAIL PROTECTED]: > Anyway, although I also feel that the documentation should (eventually) be > stored in the source, I can see why now is not a good time for that. Why? Adding documentation, be it as comments or as strings in a new (otherwise unused) m

Re: Auto generation of lfun wiki page

2005-06-11 Thread chr
On Fri, 10 Jun 2005, Jean-Marc Lasgouttes wrote: > > "G" == G Milde <[EMAIL PROTECTED]> writes: > > >> And all of this is 1.5 stuff anyway. > > G> Does this mean I have to wait another 2 years for documented lfuns > G> (or could this possibly also go to 1.4.x)? > > It may happen, but do not

Re: Auto generation of lfun wiki page

2005-06-10 Thread Angus Leeming
On Friday 10 June 2005 14:05, G. Milde wrote: > On 10.06.05, Angus Leeming wrote: > > Lars Gullik Bjønnes wrote: > > >>> Have a look at lib/generate_contributions.py which is used to > > >>> generate lib/CREDITS, credits.php and blanket_permission.php > > >>> . I guess that the idea of "one source,

Re: Auto generation of lfun wiki page

2005-06-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> "G. Milde" <[EMAIL PROTECTED]> writes: | Does this mean I have to | Lars> wait another 2 years for documented lfuns (or could | this | Lars> possibly also go to 1.4.x)? > | L

Re: Auto generation of lfun wiki page

2005-06-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> "G. Milde" <[EMAIL PROTECTED]> writes: | Does this mean I have to Lars> wait another 2 years for documented lfuns (or could | this Lars> possibly also go to 1.4.x)? Lars> We really, really do not want 1.5 to take that long. La

Re: Auto generation of lfun wiki page

2005-06-10 Thread Lars Gullik Bjønnes
"G. Milde" <[EMAIL PROTECTED]> writes: | Does this mean I have to wait another 2 years for documented lfuns (or could | this possibly also go to 1.4.x)? We really, really do not want 1.5 to take that long. We should probably, do quick releases I don't know. One feature (+ some cleanup) -> re

Re: Auto generation of lfun wiki page

2005-06-10 Thread =?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: Have a look at lib/generate_contributions.py which is used to generate lib/CREDITS, credits.php and blanket_permission.php . I guess that the idea of "one source, several outputs" is what you're looking for here

Re: Auto generation of lfun wiki page

2005-06-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: >> Lars> | Lars> Or was it documentation that happened to be used for Lars> tooltips. | Lars> AFAIK the strings w

Re: Auto generation of lfun wiki page

2005-06-10 Thread Lars Gullik Bjønnes
"G. Milde" <[EMAIL PROTECTED]> writes: | IMHO, it would be easier the other way round (put the info into LyXAction in | the first place). With CVS it is easy to gradually add the documentation | once there is a provision for it, say two empty strings for all items and the | changed needed to "dige

Re: Auto generation of lfun wiki page

2005-06-10 Thread Jean-Marc Lasgouttes
> "G" == G Milde <[EMAIL PROTECTED]> writes: >> And all of this is 1.5 stuff anyway. G> Does this mean I have to wait another 2 years for documented lfuns G> (or could this possibly also go to 1.4.x)? It may happen, but do not count on it. That is I suggested to start without waiting for sup

Re: Auto generation of lfun wiki page

2005-06-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> Or was it documentation that happened to be used for tooltips. | Lars> AFAIK the strings was also used for apropos and M-x. > | M-x? minibuffer messages. -- Lgb

Re: Auto generation of lfun wiki page

2005-06-10 Thread G. Milde
On 10.06.05, Angus Leeming wrote: > Lars Gullik Bjønnes wrote: > >>> Have a look at lib/generate_contributions.py which is used to generate > >>> lib/CREDITS, credits.php and blanket_permission.php . I guess that the > >>> idea of "one source, several outputs" is what you're looking for here > >>>

Re: Auto generation of lfun wiki page

2005-06-10 Thread G. Milde
On 10.06.05, Jean-Marc Lasgouttes wrote: > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > Lars> And all of this is 1.5 stuff anyway. > > This is why I proposed to maintain this information in a standalone > file. When we decide what to do in 1.5, it will hopefully be possible >

Re: Auto generation of lfun wiki page

2005-06-10 Thread G. Milde
On 10.06.05, Lars Gullik Bjønnes wrote: > "G. Milde" <[EMAIL PROTECTED]> writes: > > | On 9.06.05, Lars Gullik Bjønnes wrote: > >> | On Thu, 9 Jun 2005, G. Milde wrote: > >> >> > G> ... all the lfuns should have some usage doc (telling the > >> >> > G> expected arguments). > | Currently, in Ly

Re: Auto generation of lfun wiki page

2005-06-10 Thread Angus Leeming
Lars Gullik Bjønnes wrote: >>> Have a look at lib/generate_contributions.py which is used to generate >>> lib/CREDITS, credits.php and blanket_permission.php . I guess that the >>> idea of "one source, several outputs" is what you're looking for here >>> too. > | Unfortunately, This script both st

Re: Auto generation of lfun wiki page

2005-06-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Or was it documentation that happened to be used for tooltips. Lars> AFAIK the strings was also used for apropos and M-x. M-x? Lars> Hmm, we don't do tooltops anymore? (or only from lib file?) They are defined along with the

Re: Auto generation of lfun wiki page

2005-06-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> Yeah... I don't know why we removed the cocumantaion from the | Lars> array... > | Because it was not documentation but tooltips. These are different | things. Now that the t

Re: Auto generation of lfun wiki page

2005-06-10 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> My idea is that I do not believe the coders will be Jean-Marc> motivated enough to make this documentation. So maybe Uwe Jean-Marc> and Chrsit

Re: Auto generation of lfun wiki page

2005-06-10 Thread Jean-Marc Lasgouttes
> "G" == G Milde <[EMAIL PROTECTED]> writes: G> *Pro* of a "with source" documentation is, that it is provided by G> the people knowing what is going on. And its (at least in theory) G> easier to keep the documentation in sync. This holds only if this information is kept up to date. G> *Pro*

Re: Auto generation of lfun wiki page

2005-06-10 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> My idea is that I do not believe the coders will be Jean-Marc> motivated enough to make this documentation. So maybe Uwe Jean-Marc> and Chrsitian c

Re: Auto generation of lfun wiki page

2005-06-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Yeah... I don't know why we removed the cocumantaion from the Lars> array... Because it was not documentation but tooltips. These are different things. Now that the tooltips are removed, we can think about adding the real docum

Re: Auto generation of lfun wiki page

2005-06-10 Thread Lars Gullik Bjønnes
"G. Milde" <[EMAIL PROTECTED]> writes: | On 9.06.05, Lars Gullik Bjønnes wrote: >> [EMAIL PROTECTED] writes: >> >> | On Thu, 9 Jun 2005, G. Milde wrote: >> > >> >> On 8.06.05, Jean-Marc Lasgouttes wrote: >> >> > > "G" == G Milde <[EMAIL PROTECTED]> writes: >> >> >> >> > G> ... all the lfun

Re: Auto generation of lfun wiki page

2005-06-10 Thread =?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?=
"G. Milde" <[EMAIL PROTECTED]> writes: | On 9.06.05, Angus Leeming wrote: >> Jean-Marc Lasgouttes wrote: > >> > I'd propose to use the exact inverse method: maintain the lfun >> > documentation outside of source tree in an easy to parse format, so >> > that we can decide to merge it in the source

Re: Auto generation of lfun wiki page

2005-06-10 Thread G. Milde
On 9.06.05, Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: > > I'd propose to use the exact inverse method: maintain the lfun > > documentation outside of source tree in an easy to parse format, so > > that we can decide to merge it in the sources later :) > > I guess this can be done from o

Re: Auto generation of lfun wiki page (was: lfun documentation)

2005-06-10 Thread G. Milde
On 9.06.05, Lars Gullik Bjønnes wrote: > [EMAIL PROTECTED] writes: > > | On Thu, 9 Jun 2005, G. Milde wrote: > > > >> On 8.06.05, Jean-Marc Lasgouttes wrote: > >> > > "G" == G Milde <[EMAIL PROTECTED]> writes: > >> > >> > G> ... all the lfuns should have some usage doc (telling the > >> > G

Re: Auto generation of lfun wiki page

2005-06-09 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Have a look at lib/generate_contributions.py which is used to Angus> generate lib/CREDITS, credits.php and blanket_permission.php . Angus> I guess that the idea of "one source, several outputs" is what Angus> you're looking for here

Re: Auto generation of lfun wiki page

2005-06-09 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > chr> Going off on a slight tangent, what if we put some cursory > chr> documentation of the lfuns in the *source* code using wiki > chr> markup? Then I could write a simple script that periodically > chr> extracts that markup and inserts it into some suitable wiki > ch

Re: Auto generation of lfun wiki page

2005-06-09 Thread G. Milde
On 9.06.05, Jean-Marc Lasgouttes wrote: > > "chr" == chr <[EMAIL PROTECTED]> writes: > > chr> Going off on a slight tangent, what if we put some cursory > chr> documentation of the lfuns in the *source* code using wiki > chr> markup? T > I'd propose to use the exact inverse method: maintai

Re: Auto generation of lfun wiki page (was: lfun documentation)

2005-06-09 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | On Thu, 9 Jun 2005, G. Milde wrote: > >> On 8.06.05, Jean-Marc Lasgouttes wrote: >> > > "G" == G Milde <[EMAIL PROTECTED]> writes: >> >> > G> ... all the lfuns should have some usage doc (telling the >> > G> expected arguments). >> > >> > docstrings are gone in 1.

Re: Auto generation of lfun wiki page

2005-06-09 Thread Jean-Marc Lasgouttes
> "chr" == chr <[EMAIL PROTECTED]> writes: chr> Going off on a slight tangent, what if we put some cursory chr> documentation of the lfuns in the *source* code using wiki chr> markup? Then I could write a simple script that periodically chr> extracts that markup and inserts it into some suita

Auto generation of lfun wiki page (was: lfun documentation)

2005-06-09 Thread chr
On Thu, 9 Jun 2005, G. Milde wrote: > On 8.06.05, Jean-Marc Lasgouttes wrote: > > > "G" == G Milde <[EMAIL PROTECTED]> writes: > > > G> ... all the lfuns should have some usage doc (telling the > > G> expected arguments). > > > > docstrings are gone in 1.4.0cvs. They were actually tooltips f