GNU bug report logs - #12045
24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil)

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Wed, 25 Jul 2012 15:06:02 UTC

Severity: normal

Found in version 24.1.50

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 12045 <at> debbugs.gnu.org (full text, mbox):

From: Jambunathan K <kjambunathan <at> gmail.com>
To: David Engster <deng <at> randomsample.de>
Cc: 12045 <at> debbugs.gnu.org
Subject: Re: bug#12045: 24.1.50;
	semantic :: Debugger entered--Lisp error: (wrong-type-argument
	syntax-table-p nil)
Date: Sat, 28 Jul 2012 01:55:58 +0530
David Engster <deng <at> 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.

I am running in to issues compiling cedet with my Cygwin shell.  This is
because my path names have spaces and the makefile doesn't allow for it.
My Emacs is a native Windows Emacs.  


Here is an annotated log.

make fails because the path has spaces

--8<---------------cut here---------------start------------->8---
kjambunathan <at> Jambu-NetBook /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet
$ make
Removing loaddefs.el files from subprojects.
/bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory
/bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory
/bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory
/bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory
/bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory
/bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory
/bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory
make: *** [clean-autoloads] Error 1
--8<---------------cut here---------------end--------------->8---





Passing CURDIR with "~" explicitly set gets me past the above hurdle and
from the looks of it compilation seems to be proceeding just fine.
      
--8<---------------cut here---------------start------------->8---
$ make EMACS="/cygdrive/c/Program\ Files/emacs-24.1.50/bin/runemacs.exe" CURDIR="~/src/cedet"
Removing loaddefs.el files from subprojects.
Generating autoloads.
make[1]: Entering directory `/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/lisp/cedet'
/cygdrive/c/Program\ Files/emacs-24.1.50/bin/runemacs.exe -batch --no-site-file --eval '(setq debug-on-error t)' -l "../../cedet-remove-builtin.el" -L ../speedbar/ -L ../eieio/ -L ./ -L ./ --eval '(setq generated-autoload-file "/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/lisp/cedet/loaddefs.el")' -f batch-update-autoloads /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/lisp/cedet
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/lisp/cedet'
--8<---------------cut here---------------end--------------->8---




..but make fails while installing info.

--8<---------------cut here---------------start------------->8---
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/doc/texi'
Installing info files under /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data//src/cedet/doc/info
cp: cannot stat `/cygdrive/c/Documents': No such file or directory
~/src/cedet/doc/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
cp: cannot stat `and': No such file or directory
~/src/cedet/doc/info/dir: could not read (No such file or directory) and could not create (No such file or directory)
--8<---------------cut here---------------end--------------->8---




I find no semantic.elc - file from which `semantic-mode' comes from -
in my build path.  I have a mixed feeling about how good the
compilation went.

--8<---------------cut here---------------start------------->8---
$ find . -name 'semantic.elc'

kjambunathan <at> Jambu-NetBook /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet
--8<---------------cut here---------------end--------------->8---

> -David




This bug report was last modified 12 years and 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.