unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Benjamin Gramlich <benjamin.gramlich@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: autoload semantic error
Date: Tue, 21 Aug 2007 17:44:42 +0000	[thread overview]
Message-ID: <1187718282.19130.8.camel@localhost> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICAEOEDOAA.drew.adams@oracle.com>

Greetings,

I've encountered an error that no amount of searching has helped me
resolve. When I load a .c file normally I get this error:

File mode specification error: (error "Autoloading failed to define
function semantic-default-c-setup")

When I try parse a php buffer in MMM-mode, I get the same error. I've
turn on the toggle-debug-on-error, and was able to click on the
semantic-default-c-setup function. Which brought me to semantic-c.el in
the directory /usr/share/emacs/site-lisp/cedet/semantic/bovine. I have
cedet installed because I use the JDE. 

Also, here is the function definition from semantic-c.el:

;;;###autoload
(defun semantic-default-c-setup ()
  "Set up a buffer for semantic parsing of the C language."
  (semantic-c-by--install-parser)
  (setq semantic-lex-syntax-modifications '((?> ".")
                                            (?< ".")
                                            )
        )
  
  (setq semantic-lex-analyzer #'semantic-c-lexer)
  (setq semantic-lex-spp-macro-symbol-obarray
	(semantic-lex-make-spp-table semantic-lex-c-preprocessor-symbol-map))
  (add-hook 'semantic-lex-reset-hooks 'semantic-lex-spp-reset-hook nil
t)
  )


Thank you for your time,

Benjamin Gramlich

  reply	other threads:[~2007-08-21 17:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-17 18:34 Dired: configure displayed file/folder details Will
2007-08-17 19:47 ` poppyer
2007-08-21 20:41   ` Dieter Wilhelm
2007-08-21 21:59     ` Drew Adams
2007-08-21 17:44       ` Benjamin Gramlich [this message]
     [not found]       ` <mailman.5082.1187736631.32220.help-gnu-emacs@gnu.org>
2007-08-22 10:19         ` autoload semantic error pzehnder
2007-08-22  6:51           ` Benjamin Gramlich
2007-08-22 10:47           ` Hadron
2007-08-22 15:06           ` Jason Rumney
2007-08-21 23:52     ` Dired: configure displayed file/folder details Stephen Berman
2007-08-23 19:54       ` Dieter Wilhelm
     [not found]   ` <mailman.5074.1187728800.32220.help-gnu-emacs@gnu.org>
2007-08-21 20:57     ` Sven Joachim
2007-08-17 20:28 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1187718282.19130.8.camel@localhost \
    --to=benjamin.gramlich@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).