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 #35 received at 12045 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: David Engster <deng <at> randomsample.de>
Cc: Jambunathan K <kjambunathan <at> gmail.com>, 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: Fri, 12 Oct 2012 09:47:08 -0400
> Regarding the key bindings however, I think we can agree that the
> current situation needs improvement. The interactive commands usually
> assume that the buffer was correctly set up for parsing and hence raise
> some cryptic error if that isn't the case (see subject).

Right, the error message should be improved.

> So if the keybindings should simply stay enabled in all buffers if
> semantic-mode is active, I will have to add some
> `semantic-raise-error-if-unparsed' function at the beginning of every
> interactive function.

Also, compared to making the binding conditional, this has the advantage
that the error message can say *why* the binding doesn't work, contrary
to a laconic "<key> is undefined".


        Stefan




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.