Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-08-25 Thread Matthijs Kooijman
Hi Hans, any chance of replying to this mail? Currently, you only applied half of the patch, so it's not usable yet at all. Gr. Matthijs On Thu, Aug 13, 2009 at 12:10:54PM +0200, Matthijs Kooijman wrote: (I've sent this mail before, but I think the mailing list troubles might have eaten it).

Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-08-13 Thread Matthijs Kooijman
(I've sent this mail before, but I think the mailing list troubles might have eaten it). Hi Hans, i uploaded a beta zip with two extra hooks I see the hooks, but I can't find the spot where they are called? It seems you missed this part of my patch? Also, I think you didn't update the

Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-08-04 Thread Matthijs Kooijman
Hi Hans, i uploaded a beta zip with two extra hooks I see the hooks, but I can't find the spot where they are called? It seems you missed this part of my patch? Also, I think you didn't update the definition of \type to use the typesingle lua function I proposed, which means that \type{}

Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-07-22 Thread Matthijs Kooijman
Hi, any chance of looking at and perhaps committing this patch? Is there any place where lua pretty printers are documented? The wiki seems to say only wait for lua, but not how to use them. If there isn't, I'll try to put something useful on the wiki. I've created [1] to document the

Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-07-22 Thread Hans Hagen
Matthijs Kooijman wrote: Hi, any chance of looking at and perhaps committing this patch? Is there any place where lua pretty printers are documented? The wiki seems to say only wait for lua, but not how to use them. If there isn't, I'll try to put something useful on the wiki. I've created

Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-06-15 Thread Matthijs Kooijman
Hi Hans, (no patch nor example of usage attached) *sigh*, attaching files is always hard :-) Anyway, I've attached it now, together with an exapmle prettyprinter that uses it. I've also slightly changed the patch since my last message. Now, begin_of_buffer and end_of_buffer are always called,

Re: [NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-06-14 Thread Hans Hagen
Matthijs Kooijman wrote: Hi all, while working on a custom pretty printer, I was having the need to keep some state variables for the duration of one buffer, and reset them again for the next buffer. With the current hooks a pretty printer has available, this is not possible, since you never

[NTG-context] [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers

2009-06-11 Thread Matthijs Kooijman
Hi all, while working on a custom pretty printer, I was having the need to keep some state variables for the duration of one buffer, and reset them again for the next buffer. With the current hooks a pretty printer has available, this is not possible, since you never know what the first and last