* error `c-lang-defconst' must be used in a file
@ 2009-10-04 16:27 Michael
0 siblings, 0 replies; 2+ messages in thread
From: Michael @ 2009-10-04 16:27 UTC (permalink / raw)
To: help-gnu-emacs
Dear all,
I am trying to use GNU Emacs (version 23.1.1, cc-mode version 5.31.7)
on a server at work and load a very simple .emacs initialisation file
whose first two lines are essentially:
*** snip ***
(setq load-path (cons "~/.emacs.d/" load-path))
(require 'ox-mode)
*** snip ***
the latter of which is a major mode for the Ox programming language,
provided by John Zedlewski (http://www.johnzed.com/code/oxmode/) and
based on derived-mode-ex.el by Martin Stjernholm.
Yet when loading an Ox file I get the error message:
*** snip ***
error `c-lang-defconst' must be used in a file
*** snip ***
I am unfortunately at a loss as to how this can be solved. Using the --
debug-init option gives a backtrace of 10 lines or so which, being a
novice, I do not know how to interpret.
The two configuration files seem to work fine when I use them on my
home machine (GNU Emacs 22.1.1 and cc-mode 5.31.4). At least, I don't
get this error message.
Any help or suggestion on solving this problem are appreciated.
Many thanks,
Michael
^ permalink raw reply [flat|nested] 2+ messages in thread
* error: `c-lang-defconst' must be used in a file
@ 2010-03-27 10:40 Lennart Borgman
0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman @ 2010-03-27 10:40 UTC (permalink / raw)
To: Emacs-Devel devel, Alan Mackenzie
Hi Alan,
I just noticed this (via EmacsWiki) and wonder if it could be a bug
somewhere in cc-mode or Emacs:
http://stackoverflow.com/questions/898063/making-php-mode-compatible-with-emacs-23
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-27 10:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-04 16:27 error `c-lang-defconst' must be used in a file Michael
-- strict thread matches above, loose matches on Subject: below --
2010-03-27 10:40 error: " Lennart Borgman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.