https://bugs.kde.org/show_bug.cgi?id=397801
--- Comment #3 from trijez...@gmail.com --- Note that there are three main dialects: (1) classic Modula-2, known as PIM, last revised in 1985; (2) ISO Modula-2, formally ISO 10514, last revised in 1992; and (3) Modula-2 R10, an up-to-date modernised revision based on PIM. I have now added two more xml files (and their respective .mod test files) for the other two dialects. The language names for these have suffixes so that they can all co-exist within Kate and show up together in the Kate language menu. The PIM dialect being the original has the highest priority, so it will take precedence when loading .def or .mod files in Kate. Ideally, Kate would select the dialect from a dialect tag (a special comment) within Modula-2 source files. We have done this for Emacs and Vim, and also for the Pygments source code rendering framework. It is probably doable in Kate as well, only defining those items that are common to all dialects and put those that are different into dialect specific contexts, then switch to those contexts when a dialect tag is found in the source code. I intend to try this at some point but don't have the time right now. Thus, for the time being, users will have to select the dialect manually from the Kate language menu. I will work on the dialect detection later. -- You are receiving this mail because: You are watching all bug changes.