From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.bugs Subject: bug#997: perl mode blows "'" etc. Date: Thu, 18 Sep 2008 21:15:14 +0800 Message-ID: <871vzhoasd.fsf@jidanni.org> Reply-To: jidanni@jidanni.org, 997@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221744479 8932 80.91.229.12 (18 Sep 2008 13:27:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2008 13:27:59 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 18 15:28:53 2008 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.50) id 1KgJYw-0002L5-K1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Sep 2008 15:28:50 +0200 Original-Received: from localhost ([127.0.0.1]:33569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgJXv-0003Qa-9x for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Sep 2008 09:27:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgJXr-0003Pb-Cb for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2008 09:27:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgJXn-0003MU-SR for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2008 09:27:40 -0400 Original-Received: from [199.232.76.173] (port=55786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KgJXn-0003MG-Ar for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2008 09:27:39 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58415) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KgJXm-0004Um-Oi for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2008 09:27:39 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8IDRZkg019727; Thu, 18 Sep 2008 06:27:35 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8IDP4t7018827; Thu, 18 Sep 2008 06:25:04 -0700 X-Loop: don@donarmstrong.com Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 18 Sep 2008 13:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 997 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122174375217073 (code B ref -1); Thu, 18 Sep 2008 13:25:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 18 Sep 2008 13:15:52 +0000 Original-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 ; Thu, 18 Sep 2008 06:15:49 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KgJMJ-00059z-FB for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2008 09:15:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KgJMH-00059F-Bm for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2008 09:15:46 -0400 Original-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@gnu.org; Thu, 18 Sep 2008 09:15:45 -0400 Original-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 ) id 1KgJMG-0002O2-IA for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2008 09:15:44 -0400 Original-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 ; Thu, 18 Sep 2008 06:15:40 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 18 Sep 2008 09:27:40 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:20609 Archived-At: 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"