On Tuesday 27 July 2004 08:43, Casey Duncan wrote:
Right now, whether using Emacs via FTP or Kate via webdav, I have to open each individual file and then tell the editor to load the appropriate editing mode. I would be quite happy to not have to do that anymore.
Yup. The stupid thing is that the Mac had this problem solved in 1984, with type/creator file metadata *sigh*.
I never used pre-OS X Macs, so I'm not too familiar with the mechanism. How would it compare to mime information?
This is generally based on the content_type attribute of the object (as Chris said), but some objects have their own rules. It would not be difficult to wire in "text/x-python" for python scripts, for example.
Where would an interested party begin to look for doing such a thing? I'd be willing to take a shot at it, with the caveat that I'm more experienced programming *inside* Zope and not directly *on* Zope. -- Kirk Strauser The Day Companies