Re: [documancer] Re: [documancer-users] a few bugs?
Vaclav Slavik <[email protected]>
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <200401062357.52593.vaclav.slavik__22787.224330432$1077448999@matfyz.cz> |
Hi, arnd.baecker-S0/[email protected] wrote: > Alright, that sounds much better, but I don't have any > experience in this direction ... > On my unix box a > sock=socket.socket(socket.AF_UNIX,socket.SOCK_STREAM) > sock.bind("socket_file") > works fine. I don't know if this works under windows as well, > but I am skeptical (AF_*UNIX* ;-)... It (almost) certainly doesn't, but it's better to have it working on Unix than not at all and win32 mechanism can be added later... > That sounds good. So the "search string" sent to documancer-remote > could look like > <book_identifier_no_or_string>::<search_text> Why not e.g. documancer-remote --book="Python" --search="thread and lock" ? Saves parsing... And there may be other remote commands other than search that take book argument. > ((I think a textual identifier for the book would be better > than a numerical id (unless this is "uniquely" attached to > a book string) so that re-ordering/additions of books does > change the association)). The books are internally identified by their name, so this is not a problem. The ID is identical to the (human-readable) title of the book. > More generally, for searches (both remotely and within documancer) > a way to specify collection of books would be nice. Yes, by all means. Regards, VS -- PGP key: 0x465264C9, available from http://pgp.mit.edu/
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQA/+z1wxDYa/UZSZMkRApfSAJ9Vlu6hC3NIvj46Uscl77ol03FI8wCgm2t6 xI0PJLk+HxXKtvyzwabT6J0= =7y3t -----END PGP SIGNATURE-----