On 03/22/2018 05:13 PM, Cris Fuhrman wrote: > My initial response was only to Riki. This one is to the whole list > (slightly clarified): > > On Thu, Mar 22, 2018 at 2:36 PM, Richard Kimberly > Heck <rikih...@lyx.org <mailto:rikih...@lyx.org>> wrote: > > > It looks to me as if maybe there is a difference between 2.2.x and > 2.3.0 in whether > it was packed with the "magic" mime-type library. The > magic-related code seems to have been > skipped in the 2.2.x version. > > In any event, this looks like a bug in the magic library. That's > where we are getting the > file type from. > > > For the record, the particular .plantuml file *could* be a html_table, > because it has HTML table data embedded in it. So, I'm not sure I'd > call it a bug in that library. It's trying to guess, and it's doing a > pretty good job. > > The bug (to me) is that LyX is giving priority to the magic detection > (guessing) over the actual filetype, defeating the rule. > > I would think that it should trust filetypes that have defined rules > first, then use magic if it doesn't know the file type.
That's a reasonable suggestion. I'd suggest you file a bug report making it. Riki