On Fri, 02 Dec 2011 15:59:49 +0100 Mikhail Gusarov <mikhail.gusa...@cfengine.com> wrote:
MG> Ted, MG> On 11/25/2011 02:26 PM, Ted Zlatanov wrote: >> cfengine SVN maintainers: please review the attached file and especially >> the copyright notice. I believe it's no different from before as far as >> the cfengine project is concerned, but you should be aware that it's a >> GPL-ed fork, for compatibility purposes, from the original which is part >> of Emacs. MG> Could you ask Emacs guys (or make a patch yourself) to rename MG> cfengine-mode to cfengine2-mode, or something similar? That would break backwards compatibility. So I have `cfengine-auto-mode' which tries to intelligently pick between `cfengine-mode' and `cfengine3-mode', and will support cfengine 4 when it's out in 2020 ;) Unfortunately there's no good way to solve this without breaking existing users of `cfengine-mode'. We have to provide that mode with the v2 behavior, and the v2 syntax is not sufficiently compatible with v3 that I could have just one mode. A simple user-level solution (untested) is to (defalias 'cfengine2-mode 'cfengine-mode) (defalias 'cfengine-mode 'cfengine3-mode) or something similar. I could put more thought into it if you think it's worthwhile. Ted _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine