-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Comment By: Enrico Tröger (eht16)Completely unrelated to Geany. HTTP usually doesn't support write operations, right? So how do you want to write files to it or even mount it?Opening a file through HTTP works with g_file_new_for_uri(), but yes, write operations will fail.Instead, use dav:// assuming your server supports it. Then you can mount it as usual and after having mounted it, you can open and edit files on it.I dunno how to do it "as usual" since I use Nautilus 2.22 for now that AFAIK doesn't really support GIO, and I dunno how to mount a location with GVFS without Nautilus… But yes, I understand the meaning :)Yes, that's the way. And when we save the file in Geany, we set an ignore flag to ignore the next 'file has changed' signal. And there probably begin the problems. Also, this works only if the file was actually only changed which happens when saving with Geany. When you save the file with Gedit, it (probably) won't work because Gedit first saves the file into a temp file, then move it to the real file. So, the real file is never 'changed' but 'created'. And the 'created' notification is currently ignored at all.Hum… I've just tried with Gedit modifying an opened file in Geany, and the tab becomes orange, but when I start to modify it again, Geany tells me that the file was not found on the disk, asking me whether I want to save it… and if I say yes, then ask me if I want to overwrite the existing file. Well, not perfect (but I personally don't mind about that since this feature helps me mostly for files modified by a script).This doesn't really explain your problems, I think. But is one of the things I meant when saying 'not yet 100% functional'. Let me give it another try tomorrow and in the meantime just revert to before r3484 :).OK, I see. And yes, just take the time you need and let us (me?) know when we can test your new efforts :)Too bad, I hoped there was something real exotic which would explain the behaviour :).Hey no, sorry :DP.S.: quoting in the tracker is awful. Moving to the mailing list?Yeah, great idea! Just ask me if you need any other test or information. Regards, Colomban -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl1BcIACgkQyqbACDEjVWhKpACg3Z8Z3cpGhLD6ZnrMYOpbFwTh mD4AoIZvuldC/BPFpYraJmg+/o+GuRCe =kOgp -----END PGP SIGNATURE----- _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Regards,
Atanas Beloborodov
Practitioner
a.beloborodov@viscomp.bg
Mobile: +359 896 733 612
Viscomp EOOD 92V "Hristo Botev" Blvd 4000 Plovdiv Bulgaria |
Tel: +359 32 655 175 Fax: +359 32 655 176 www.viscomp.bg |