From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: carlos.conde@double-c.fr Newsgroups: gmane.emacs.help Subject: comment delimiter in syntax table Date: Wed, 04 Jun 2003 15:35:45 +0200 Organization: Wanadoo, l'internet avec France Telecom Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87brxem0cu.fsf@double-c.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054734132 20036 80.91.224.249 (4 Jun 2003 13:42:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2003 13:42:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 15:42:10 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NYVb-000573-00 for ; Wed, 04 Jun 2003 15:40:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NYVC-0007FO-Aw for gnu-help-gnu-emacs@m.gmane.org; Wed, 04 Jun 2003 09:40:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!wanadoo.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: atuileries-111-1-4-136.w81-50.abo.wanadoo.fr Original-X-Trace: news-reader12.wanadoo.fr 1054733761 24471 81.50.31.136 (4 Jun 2003 13:36:01 GMT) Original-X-Complaints-To: abuse@wanadoo.fr Original-NNTP-Posting-Date: 4 Jun 2003 13:36:01 GMT User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:EFFnqeZwUkLjKVXKTZrmyPVeeqE= Original-Xref: shelby.stanford.edu gnu.emacs.help:114095 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10589 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10589 Hi all, I'm writing a major mode for a script language and I need to declare in the syntax table the comment delimiters. However, these comment delimiters are 4 character long: "<*--" to start comment, "--*>" to end comment, and it seems that syntax table only accepts 2 char long comment delimiters (like "/*" and "*/"). If I use font-lock methods, I can't have multi line comment hilighting... Is there a way to declare longer comment delimiters in the syntax table ?? thanks.