From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Gramlich Newsgroups: gmane.emacs.help Subject: autoload semantic error Date: Tue, 21 Aug 2007 17:44:42 +0000 Message-ID: <1187718282.19130.8.camel@localhost> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1187736648 3424 80.91.229.12 (21 Aug 2007 22:50:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2007 22:50:48 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 00:50:47 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INcYg-0005W3-1v for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2007 00:50:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INcYf-0003bI-Jl for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Aug 2007 18:50:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INcYQ-0003ax-2n for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 18:50:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INcYO-0003aa-Ie for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 18:50:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INcYO-0003aX-D9 for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 18:50:28 -0400 Original-Received: from py-out-1112.google.com ([64.233.166.176]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1INcYO-0003HD-A7 for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 18:50:28 -0400 Original-Received: by py-out-1112.google.com with SMTP id f31so3089967pyh for ; Tue, 21 Aug 2007 15:50:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=ew3L2YT8XlijP0ydqnwb+lt9Mn4RQ+/t8jX3OWDAxqA1ovf91IgqxqwzWmZp7JiDdtT6HdcJly9SixsX71s+UcOF1kxbm5Ww8nUsurP4nox0I9O6KZqWO6I6zmdToCkL4m97xAJsLMLezdx+ZgbFJHr/BAyZvgS6JwBv+8FX7vo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=dD4qmy4lc2C+4GArxYrRlzHGjoN7IE57W0XTXIxBXPODIvokAxu9Blo5z/UnsB+c2sqMVkQDLBBf4ER3Jv/6VJrFaaS6NljHYeH08FjnarzRFTdxLpRVNruiwHJ3o4dZxWJwwwLMZ0S1Uyo95CSGpCtxfEGeQ9HZLRoMXAmnEGM= Original-Received: by 10.35.10.13 with SMTP id n13mr9344927pyi.1187736627107; Tue, 21 Aug 2007 15:50:27 -0700 (PDT) Original-Received: from ?192.168.2.2? ( [76.17.130.205]) by mx.google.com with ESMTPS id f45sm11490005pyh.2007.08.21.15.50.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Aug 2007 15:50:26 -0700 (PDT) In-Reply-To: X-Mailer: Evolution 2.10.2 X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46730 Archived-At: 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