Public bug reported:

Binary package hint: nautilus

When opening the properties window for certain lua scripts the "Type:"
is reported as "VHDL document" and "MIME type:" as "text/x-vhdl" when
the file is infact a valid lua script.

gnomevfs-info core.lua | grep MIME

for the offending file however returns "MIME type         : text/x-lua"

As far as i can tell this is linked to using comments on the first line
of the lua script, for example


-- [[ test ]]
tableT={"this","is","a","lua","script"}
for key,val in pairs(tableT) do
        print(val)
end


Is Identified as a VHDL document whereas


tableT={"this","is","a","lua","script"}
-- [[ test ]]
for key,val in pairs(tableT) do
        print(val)
end


Is properly Identified as a lua script.

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Nautilus miss-identifies MIME type of certain lua scripts
https://bugs.launchpad.net/bugs/115035
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to