[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python plugin update
* Gustavo Niemeyer <niemeyer@conectiva.com> [031028 20:28]:
> > It's pretty trivial to fix... the problem is that when channel logging is
> > turned on and you open a "/py console", since the query window's title is
> > called ">>python<<" it tries to create a logfile with that name, and gives
> > an error ("Cannot get permission to create file" or something).
> >
> > So, maybe you could use a different character in the query window's title...
> > like, "))python(("! That doesn't look too bad! :)
>
> Hummm.. interesting. Isn't it possible to create files with ">>" on
> Windows?
>
> A better solution would be to introduce some way in xchat to handle
> "special" queries. I barely remember to see Peter mention something
> about it, but I might be wrong.
This is also part of my attempt to seperate real queries from the things
XChat treats like queries, but aren't. I've got a local patch that adds
SESS_DCCCHAT and SESS_INTERNAL session types, and stops using SESS_QUERY
for everything that isn't a channel.
It's a rather big change, since it has to propogate down everywhere that
makes, reads, or updates a session or it's associated windows, but I've
been testing with it for a couple days now and have almost worked out
the kinks. The ability to tell "special window called >>python<<" from "query
to user named python" is part of the query.
And no, Windows has no way to quote special characters like <>| in file
names, even 32-bit long file names.
--Mike
PGP signature