2006-06-19T09:03:05  <ThomasWaldmann> moin
2006-06-19T10:06:55  <mvirkkil> ThomasWaldmann: moin
2006-06-19T10:08:13  <ThomasWaldmann> i also had the impression the using a new formatter within a used one might make problems if the formatter keeps state
2006-06-19T10:10:17  <mvirkkil> ThomasWaldmann: But that's exactly what I want to do, and the include macro should do. But it shouldn't perhaps call startdocument, startcontent and enddocument, endcontent.
2006-06-19T10:11:09  <mvirkkil> ThomasWaldmann: Since if we are including one page in to the other, it's vital to keep the state information, so that you can have "paragraph should break when we enter a new section" like stuff.
2006-06-19T10:12:01  <mvirkkil> ThomasWaldmann: The only problem is that it shouldn't be calling those start* and end* stuff, since that belongs to the parent document.
2006-06-19T10:12:52  <ThomasWaldmann> iirc, it calls those with other IDs
2006-06-19T10:13:10  <mvirkkil> ThomasWaldmann: But one could always do some magic, like calling ignoreStartAndEnd(on=1) \n macro.execute() \n ignoreStartAndEnd(on=0)
2006-06-19T10:14:41  <mvirkkil> But the reason for most of my problems is that I don't have the state information, ie. context to do the include properly, making it difficult to generate a valid docbook tree.
2006-06-19T10:35:26  <fpletz> moin
2006-06-19T10:36:43  <fpletz> ThomasWaldmann: the index_dir stuff was easier than I anticipated
2006-06-19T10:38:02  <fpletz> but I found some problems with the matching.. do you know how to locally enabale or disable case-(in)sensitivity in python? egrep, perl and friends can do this without problems (using mode modifiers) but in python it seems to have a global effect on the whole regexp
2006-06-19T10:40:28  <ThomasWaldmann> there is re.I and ...
2006-06-19T10:40:51  <fpletz> which is for the whole regexp ;)
2006-06-19T10:41:24  <fpletz> (?i) works, too, but also for the whole regxp.. (?-i) is not available (as it's global anyway)
2006-06-19T10:42:31  <fpletz> currently, I've some ugly hack to perform case-insensitive matches in a case-sensitive regexp (match -> [Mm][Aa][Tt][Cc][Hh])
2006-06-19T10:42:46  <fpletz> but this get even uglier when a pattern is escaped ;)
2006-06-19T10:43:35  * ThomasWaldmann searched for (?i), but if that doesnt help either...
2006-06-19T10:43:48  <fpletz> yup, that's the problem
2006-06-19T10:44:33  <ThomasWaldmann> well, use your hack then ;)
2006-06-19T10:44:40  <fpletz> mmh, I think I have to build my own Match-objects which I tried to avoid..
2006-06-19T10:44:52  <fpletz> well, then it would get even more CPU-intensive :p
2006-06-19T10:45:11  <fpletz> plan B, contructing Match-objects myself ;)
2006-06-19T10:49:06  * ThomasWaldmann tries to fix yet another gui editor (IE) bug
2006-06-19T11:16:45  <fpletz> ThomasWaldmann: I pushed my changes to the repo. the index_dir is ready and should work and matching stemmed word _must_ work now, fast of course ;)
2006-06-19T11:31:11  <Kepplar> hi. Im using irc from my phone. Best way to contact me is email for next few days
2006-06-19T11:32:53  <ThomasWaldmann> fpletz: great :)
2006-06-19T11:33:17  <fpletz> ThomasWaldmann: a sec, just found an issue when xapian is not installed.. ready in an instant
2006-06-19T11:33:34  <fpletz> then we can perhaps merge to main or something ;)
2006-06-19T11:33:42  <ThomasWaldmann> it should work without :)
2006-06-19T11:33:57  <fpletz> well, I got an importerror
2006-06-19T11:36:51  <fpletz> ok, fix pushed to the repo
2006-06-19T16:58:07  <ThomasWaldmann> re
2006-06-19T17:24:14  *** irc.freenode.net sets mode: +o ChanServ
2006-06-19T19:40:31  <ThomasWaldmann> moin Fabi
2006-06-19T20:07:45  <Fabi> moin
2006-06-19T20:30:04  <fpletz> moin
2006-06-19T20:30:12  <fpletz> richardb: are you there?
2006-06-19T20:33:12  <ThomasWaldmann> Fabi: did you use distutils except for moin yet?
2006-06-19T20:35:08  <ThomasWaldmann> we need to add some sys.path.insert(0, '/where/moin/is') statement to the "moin" command script
2006-06-19T20:35:27  <ThomasWaldmann> but i didnt find an easy way how to do this with distutils
2006-06-19T20:40:16  <Fabi> hmm, no
2006-06-19T20:40:59  <ThomasWaldmann> another problem is installation of the *.mo files to MoinMoin/i18n/mo. py 2.3 doesnt copy them.
2006-06-19T20:41:16  <ThomasWaldmann> py 2.4 has a method to do that, but 2.3 doesnt know it.
2006-06-19T22:30:45  <Kepplar> hi from my mobile phone
2006-06-19T22:31:48  <Kepplar> question. Should we be able to buffer changes on an item rev before accessing storage?
2006-06-19T22:33:20  <Kepplar> another. Cant check this with limited net. Hows does get and set for properties work when mod a list or dict entry?
2006-06-19T22:36:38  <Kepplar> another. Again as i cant check. Where is existing metadata extraction for the page file done? Eg wheres the code that lifts it and processes it as meta. Thanks
2006-06-19T22:37:16  <Kepplar> thats my questions for today, ill check tomorrow
2006-06-19T22:37:26  <mvirkkil> if you mean the # stuff, it's in parser.
2006-06-19T22:37:37  <mvirkkil> Kepplar: In the wikisyntaxparser
2006-06-19T22:37:49  <Kepplar> thanks
2006-06-19T22:38:27  *** irc.freenode.net sets mode: +o ChanServ

MoinMoin: MoinMoinChat/Logs/moin-dev/2006-06-19 (last edited 2007-10-29 19:10:12 by localhost)