Received: (at unknown) by unknown; unknown X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Sep 2008 13:15:52 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8IDFlBR017067 for <submit <at> emacsbugs.donarmstrong.com>; Thu, 18 Sep 2008 06:15:49 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgJMJ-00059z-FB for bug-gnu-emacs <at> gnu.org; Thu, 18 Sep 2008 09:15:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgJMH-00059F-Bm for bug-gnu-emacs <at> gnu.org; Thu, 18 Sep 2008 09:15:46 -0400 Received: from [199.232.76.173] (port=54255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgJMH-00059C-5j for bug-gnu-emacs <at> gnu.org; Thu, 18 Sep 2008 09:15:45 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:39902 helo=blingymail-a2.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from <jidanni <at> jidanni.org>) id 1KgJMG-0002O2-IA for bug-gnu-emacs <at> gnu.org; Thu, 18 Sep 2008 09:15:44 -0400 Received: from jidanni2.jidanni.org (122-127-39-193.dynamic.hinet.net [122.127.39.193]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a2.g.dreamhost.com (Postfix) with ESMTP id 1781C404B5 for <bug-gnu-emacs <at> gnu.org>; Thu, 18 Sep 2008 06:15:40 -0700 (PDT) To: bug-gnu-emacs <at> gnu.org Subject: perl mode blows "'" etc. From: jidanni <at> jidanni.org Date: Thu, 18 Sep 2008 21:15:14 +0800 Message-ID: <871vzhoasd.fsf <at> jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Perl mode screws up bad with this file. Cperl mode gets it better. $ perl -c p.pl p.pl syntax OK $ cat p.pl /this is a perl program to demonstrate emacs's wacky color biz/; /this line is in the wrong color until here'/; #/// /\b.*\bpic(ture)?s\b/; /this line is in the wrong color/; #this comment turns back on emacs correct color: \b\b /this line is in the right color/; /but not this line until the end\/;/m; $ emacs -Q p.pl Anyway, one usually ends up having to stick in special comments with some / ; ` ' etc. in them lest large tracts of code become the wrong color. emacs-version "22.2.1"
jidanni <at> jidanni.org:Emacs Bugs <bug-gnu-emacs <at> gnu.org>.
Full text available.bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:bug#997; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.