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#6080: Behaviour of `char-syntax' changes when byte-compiled Date: Wed, 05 May 2010 13:54:17 -0400 Message-ID: References: <20100503192614.GA22641@c3po> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273102227 18624 80.91.229.12 (5 May 2010 23:30:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 May 2010 23:30:27 +0000 (UTC) Cc: 6080@debbugs.gnu.org To: Toby Cubitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 06 01:30:20 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9o2k-00008F-4B for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 May 2010 01:30:18 +0200 Original-Received: from localhost ([127.0.0.1]:39390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9npZ-0001Ry-RQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 May 2010 19:16:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9jxf-0002x6-BP for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 15:08:47 -0400 Original-Received: from [140.186.70.92] (port=47004 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9j4z-00054s-Gp for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 14:12:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9ipK-0005HN-Ne for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 13:56:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39619) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9ipK-0005HG-Lj for bug-gnu-emacs@gnu.org; Wed, 05 May 2010 13:56:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1O9ioI-0006nR-6I; Wed, 05 May 2010 13:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 May 2010 17:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6080 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6080-submit@debbugs.gnu.org id=B6080.127308206326116 (code B ref 6080); Wed, 05 May 2010 17:55:02 +0000 Original-Received: (at 6080) by debbugs.gnu.org; 5 May 2010 17:54:23 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9inf-0006nB-4A for submit@debbugs.gnu.org; Wed, 05 May 2010 13:54:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9ine-0006n4-9Y for 6080@debbugs.gnu.org; Wed, 05 May 2010 13:54:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAFtN4UvO+IB1/2dsb2JhbACdTHK/CIUTBIws X-IronPort-AV: E=Sophos;i="4.52,335,1270440000"; d="scan'208";a="63481166" Original-Received: from 206-248-128-117.dsl.teksavvy.com (HELO pastel.home) ([206.248.128.117]) by ironport2-out.pppoe.ca with ESMTP; 05 May 2010 13:54:17 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 2559C814C; Wed, 5 May 2010 13:54:17 -0400 (EDT) In-Reply-To: <20100503192614.GA22641@c3po> (Toby Cubitt's message of "Mon, 3 May 2010 20:26:14 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 05 May 2010 13:55:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36714 Archived-At: > Will you fix the char-syntax function so that it signals an error in this > case? I've just installed such a change, Stefan --- src/syntax.c 2010-03-10 14:45:21 +0000 +++ src/syntax.c 2010-05-05 17:20:27 +0000 @@ -858,7 +858,7 @@ Lisp_Object character; { int char_int; - CHECK_NUMBER (character); + CHECK_CHARACTER (character); char_int = XINT (character); SETUP_BUFFER_SYNTAX_TABLE (); return make_number (syntax_code_spec[(int) SYNTAX (char_int)]);