Forums : The Ohcount Project

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Ohcount prefers modeline over file extension

If you look at a ChatZilla commit, e.g. https://www.ohloh.net/p/chatzilla/commits/143991363, and then look at the source, e.g. http://hg.mozilla.org/chatzilla/file/779a91a4c736/xul/content/menus.js, it's clear why Ohcount is registering it as C++. But it's wrong, massively.

I didn't set up these modelines, don't use them and don't think 'fixing' them will help - Ohloh has a massive, completely incorrect history of languages for the ChatZilla project.

I personally think that the modeline should be secondary to unambigious file extensions (especially when in direct conflict).

Thoughts?

James Ross almost 14 years ago