Hi Ted Il 23/11/2011 00:43, Ted Zlatanov ha scritto: > Please try the attached patch and tell me if it works for you. It > should, it's a one-line change. I'll put the change into the cfengine > and Emacs trunks if it works OK.
FOA, Thanks a lot! The patch doesn't apply, as this line: > (defgroup cfengine () is actually > (defgroup cfengine3 () However, I applied the patch by hand, so that the beginning of the code now looks like this: > ;;; Code: > > ;; compatibility with Emacsen where prog-mode doesn't exist > (unless (fboundp 'prog-mode) (defalias 'prog-mode 'fundamental-mode)) > > (defgroup cfengine3 () > "Editing CFEngine 3 files." > :group 'languages) It loads OK now: Loading /home/bronto/.emacs.d/cfengine3.el (source)...done When you try to use it with M-x cfengine3-mode it is actually activated, but it also spits out this message: set: Symbol's function definition is void: syntax-propertize-rules I don't know how harmful that could be. Ciao -- bronto _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine