From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <87393zrunv.fsf@gmail.com> <87txu0d9fh.fsf@engster.org> <87haq0cj9x.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350049712 1299 80.91.229.3 (12 Oct 2012 13:48:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2012 13:48:32 +0000 (UTC) Cc: Jambunathan K , 12045@debbugs.gnu.org To: David Engster Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 12 15:48:38 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 1TMfbR-0000dl-79 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2012 15:48:37 +0200 Original-Received: from localhost ([::1]:56580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMfbK-0007dz-R8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2012 09:48:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMfbE-0007dg-Jk for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 09:48:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TMfb2-0004wI-KN for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 09:48:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TMfb2-0004vp-GE for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 09:48:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TMfbq-0006eq-Bp for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2012 09:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Oct 2012 13:49:02 +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.135004968625529 (code B ref 12045); Fri, 12 Oct 2012 13:49:02 +0000 Original-Received: (at 12045) by debbugs.gnu.org; 12 Oct 2012 13:48:06 +0000 Original-Received: from localhost ([127.0.0.1]:40706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMfav-0006di-N5 for submit@debbugs.gnu.org; Fri, 12 Oct 2012 09:48:05 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:44769) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMfau-0006dG-B7 for 12045@debbugs.gnu.org; Fri, 12 Oct 2012 09:48:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCwsOJgcLFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="201257784" Original-Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Oct 2012 09:47:08 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 3EA8759519; Fri, 12 Oct 2012 09:47:08 -0400 (EDT) In-Reply-To: <87haq0cj9x.fsf@engster.org> (David Engster's message of "Fri, 12 Oct 2012 08:10:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.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:65518 Archived-At: > 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 " is undefined". Stefan