From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) Date: Tue, 07 Aug 2012 13:38:36 +0530 Message-ID: <87393zrunv.fsf@gmail.com> References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344326964 28696 80.91.229.3 (7 Aug 2012 08:09:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 08:09:24 +0000 (UTC) Cc: 12045@debbugs.gnu.org To: David Engster Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 07 10:09:23 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Syeqp-0000Pn-Vl for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Aug 2012 10:09:16 +0200 Original-Received: from localhost ([::1]:48090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syeqo-00077i-Nf for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Aug 2012 04:09:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syeqh-00076l-32 for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 04:09:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syeqf-0004JP-Bz for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 04:09:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syeqf-0004JB-6F for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 04:09:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SyeyM-0003t9-0W for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 04:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Aug 2012 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12045 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12045-submit@debbugs.gnu.org id=B12045.134432740414919 (code B ref 12045); Tue, 07 Aug 2012 08:17:01 +0000 Original-Received: (at 12045) by debbugs.gnu.org; 7 Aug 2012 08:16:44 +0000 Original-Received: from localhost ([127.0.0.1]:38737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Syey4-0003sa-AP for submit@debbugs.gnu.org; Tue, 07 Aug 2012 04:16:44 -0400 Original-Received: from mail-gg0-f172.google.com ([209.85.161.172]:36863) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Syey1-0003sS-8o for 12045@debbugs.gnu.org; Tue, 07 Aug 2012 04:16:43 -0400 Original-Received: by ggnc4 with SMTP id c4so3514943ggn.3 for <12045@debbugs.gnu.org>; Tue, 07 Aug 2012 01:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=0eAa7cb6wZfrbzVXe+PqrBX1KXdj8fMBCIOS5lx1ESU=; b=QJIf1YoYWQq+x7djEbhr/i8KIOFvfMtc05mwVm4Yd0r0Re5+FUenBlNEmJ0KjXw0Je VpVXb6zJM/kqJmx5XObI99sLdkmUuhLJrKNPzXdIrkdOuyhZrgLmL8tJmTDhTnHZkPrc EkAj2G9Cr+tYsk+M/NL887wh+UvR0/8DbgdPiOJbMD8jCjshiJCoIVQFLWfcnbTzvgDK Qt1rAMDmq1V6hCw45pIiXecOX33rOk5gZpuEQCaTOXfMzRow8cBF60xkBbPkufKiDuk4 TdDS/JKmTrv+gDh4zAse9ub4EZ0W4LUGaKgmVMJA0W6WYtjNWl/J8PGFKgsonJSvFIwo gOIA== Original-Received: by 10.66.90.67 with SMTP id bu3mr24302164pab.26.1344326922038; Tue, 07 Aug 2012 01:08:42 -0700 (PDT) Original-Received: from debian-6.05 ([101.62.79.8]) by mx.google.com with ESMTPS id of1sm10707967pbb.15.2012.08.07.01.08.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 01:08:40 -0700 (PDT) In-Reply-To: <87mx2n8rz7.fsf@engster.org> (David Engster's message of "Wed, 25 Jul 2012 23:13:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62901 Archived-At: David Engster writes: > Jambunathan K. writes: >> I am exploring semantic for the first time. >> >> 1. runemacs.exe -Q >> 2. Visit your favorite library. M-x find-library RET org-odt.el RET >> 3. M-x semantic-mode RET >> 4. C-c , j (With cursor on "some" symbol) >> 5. Note the following error. Either some interesting thing should >> happen or a useful message should be echoed. >> >> Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) > > I'm pretty sure I've fixed this bug some time ago in the upstream CEDET > version from bzr, so it should get fixed in Emacs proper when we do the > next merge for Emacs 24.2. If you'd like to test the upstream version, > read here > > http://cedet.sourceforge.net/bzr-repo.shtml > > on how to get it. My original report was on Windows. The current report is on Debian Squeeze against CEDET bzr repo. So, consider this a bug report against the "future"-CEDET. When I do "C-c , j" on some symbol, that I know is defined in current .el file, I get ,---- | Jump to symbol: org-e-odt-lib-dir [No Match] [5 times] `---- When I partially type up the symbol and do TAB for completion, I get ,---- | semantic-analyze-current-context: Cannot analyze buffers not supported | by Semantic `---- If semantic does not support EmacsLisp files [1], 1. It should report an error or warning when the buffer tries to enter semantic-mode. 2. Disable menu items (starting with Developement->etc) that doesn't apply to current buffer. Footnotes: [1] Or for that matter a given language. I have the following in my .emacs, as suggested by cedet help. ,---- | ;; Load CEDET. | ;; See cedet/common/cedet.info for configuration details. | ;; IMPORTANT: For Emacs >= 23.2, you must place this *before* any | ;; CEDET component (including EIEIO) gets activated by another | ;; package (Gnus, auth-source, ...). | (load-file "~/src/cedet/cedet-devel-load.el") | | ;; Add further minor-modes to be enabled by semantic-mode. | ;; See doc-string of `semantic-default-submodes' for other things | ;; you can use here. | (add-to-list 'semantic-default-submodes 'global-semantic-idle-summary-mode t) | (add-to-list 'semantic-default-submodes 'global-semantic-idle-completions-mode t) | (add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode t) | | ;; Enable Semantic | (semantic-mode 1) | | ;; Enable EDE (Project Management) features | (global-ede-mode 1) `---- > -David