bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-typ


From: Stefan Monnier
Subject: 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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]