From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: syntax highlighting Date: Sun, 15 Mar 2015 22:55:45 -0400 Message-ID: References: <1826912627.26642.1426455118078.JavaMail.help@alum.mit.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426474613 20822 80.91.229.3 (16 Mar 2015 02:56:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Mar 2015 02:56:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 16 03:56:44 2015 Return-path: Envelope-to: geh-help-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 1YXLCt-0003kG-1G for geh-help-gnu-emacs@m.gmane.org; Mon, 16 Mar 2015 03:56:43 +0100 Original-Received: from localhost ([::1]:46845 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXLCs-0004sQ-Dw for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Mar 2015 22:56:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXLCG-0004MH-Fl for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 22:56:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXLCB-0003bG-BW for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 22:56:04 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXLCB-0003b0-5W for help-gnu-emacs@gnu.org; Sun, 15 Mar 2015 22:55:59 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YXLC9-0002xt-4l for help-gnu-emacs@gnu.org; Mon, 16 Mar 2015 03:55:57 +0100 Original-Received: from 23-91-145-1.cpe.pppoe.ca ([23.91.145.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Mar 2015 03:55:57 +0100 Original-Received: from monnier by 23-91-145-1.cpe.pppoe.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 16 Mar 2015 03:55:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 23-91-145-1.cpe.pppoe.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:usaWwn+rJsRfJr0zGzWQ3UN41s4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103179 Archived-At: > I am using a derivative of modula2.el [ Make sure you use a recentish of modula2.el as basis, since they come with auto-indentation. ] > (* bla bla (* bla bla bla *) bla bla *) > The way modula2.el is written (or, actually, my derived .el file), the > last "bla bla" string is not highlighted. You need to add an "n" to the `modify-syntax-entry' call for one of the comment markers, in the syntax-table. Stefan