On 10/09/2012 9:58 AM, Scott Kostyshak wrote:
On Mon, Sep 10, 2012 at 7:17 AM, Pavel Sanda <sa...@lyx.org> wrote:
Scott Kostyshak wrote:
"application/x-gzip" check the extension. I wonder if this applies to other
formats that store compressed data. If so, then at least it would not be
hardcoded only for the specific case of gnumeric.

Compressed dia files had the same problem and there were several exchanges
in the list (e.g. threads "LyX & odg drawings", "use libmagic for file format
detection"). I even thought it was fixed.

Thanks for the references.

I read part of the "LyX & odg drawings" thread
http://comments.gmane.org/gmane.editors.lyx.devel/138221
but I'm not sure which problems are still open and which were finally resolved.

"Edit externally" on a dia file does not work for me. I did install
dia and reconfigured LyX.

Scott


We implemented a "zipped" flag that was to be added to each format that uses compression, this was written to the preferences file so that at least the hardcoding is configurable outside of the C++ source. I am pretty sure that at that point, editing with an external application was working as expected. Then there were plans to remove this "zipped" flag and to use libmagic instead. I'm not sure how far this effort has gotten us.

--
Julien

Reply via email to