From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tobias C. Rittweiler" Newsgroups: gmane.emacs.devel Subject: Syntax tables and multi-escape characters Date: Fri, 13 Feb 2009 22:02:15 +0100 Message-ID: <877i3uqcdk.fsf@freebits.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234558972 21469 80.91.229.12 (13 Feb 2009 21:02:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2009 21:02:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 13 22:04:07 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LY5Cc-0005q9-Jn for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2009 22:04:02 +0100 Original-Received: from localhost ([127.0.0.1]:57387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LY5BI-0001rb-Ql for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2009 16:02:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LY5BE-0001r2-OD for emacs-devel@gnu.org; Fri, 13 Feb 2009 16:02:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LY5BC-0001pu-58 for emacs-devel@gnu.org; Fri, 13 Feb 2009 16:02:36 -0500 Original-Received: from [199.232.76.173] (port=57274 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LY5BB-0001po-O4 for emacs-devel@gnu.org; Fri, 13 Feb 2009 16:02:33 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:50731 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LY5BB-0006MB-7J for emacs-devel@gnu.org; Fri, 13 Feb 2009 16:02:33 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LY5B5-0000gi-W5 for emacs-devel@gnu.org; Fri, 13 Feb 2009 21:02:28 +0000 Original-Received: from host145.natpool.mwn.de ([138.246.7.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Feb 2009 21:02:27 +0000 Original-Received: from tcr by host145.natpool.mwn.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Feb 2009 21:02:27 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host145.natpool.mwn.de User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Lq2UeAMQ/4Z9EYrD+wSBM6IYL+M= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109051 Archived-At: At the moment `|' in lisp-mode has a string syntax-class (`"'). This makes forward-sexp work on |foobar| correctly. It, however, fails on foo|bar|, or pkg:|funky-symbol| because it mistakes the `|' to be the begin of a new token. I'd like to fix this; and I'd do it by hacking src/syntax.{h,c} and introducing a new syntax class for multi-escape characters. Or would you prefer something else? -T.