Handling of file Local Variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nXhtml |
New
|
Undecided
|
Unassigned |
Bug Description
I have added my own little mumamo c-org-mumamo-mode so that
I can embed org-mode snippets inside a c-file comment. " use +{ ... }+ brackets
to mark org-mode.
Now the problem I have is that the /* Local Variables: */ of the
test.c dont get propagated to c-mode. The local variables are
ignored. How can I enable so that c-mode gets the local variables?
-- Konrad
mumamo-fun.el:
...
(defun mumamo-
"Find +{ ... }+. Return range and `org-mode'.
See `mumamo-
(mumamo-
;;;###autoload
(define-
"Turn on multiple major modes for C with main mode `c-mode' and comment embedded org-mode snippets. "
("C-org Family" c-mode
(mumamo-
)))
...
test.c:
/*+{
This is org-mde
}+
*/
func() {}
/*
Local Variables:
c-basic-offset:4
indent-
End:
*/
Thanks Konrad, I think you have found a bug that might be important.
I have not thought about "Local Variables" and how MuMaMo/nXhtml should handle them.
Unfortunately I do not have much time to do that now. If someone else want to jump in that would be good.