From: Jambunathan K <kjambunathan@gmail.com>
To: David Engster <deng@randomsample.de>
Cc: 12045@debbugs.gnu.org
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 [thread overview]
Message-ID: <87393zrunv.fsf@gmail.com> (raw)
In-Reply-To: <87mx2n8rz7.fsf@engster.org> (David Engster's message of "Wed, 25 Jul 2012 23:13:00 +0200")
David Engster <deng@randomsample.de> 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
next prev parent reply other threads:[~2012-08-07 8:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-25 14:58 bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) Jambunathan K
2012-07-25 21:13 ` David Engster
2012-07-27 20:25 ` Jambunathan K
2012-07-27 20:47 ` Achim Gratz
2012-07-28 7:03 ` Eli Zaretskii
2012-08-07 8:08 ` Jambunathan K [this message]
2012-10-11 20:45 ` David Engster
2012-10-11 21:04 ` David Engster
2012-10-12 0:08 ` Stefan Monnier
2012-10-12 6:10 ` David Engster
2012-10-12 13:47 ` Stefan Monnier
2012-10-14 19:41 ` David Engster
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=87393zrunv.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=12045@debbugs.gnu.org \
--cc=deng@randomsample.de \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).