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,gmane.emacs.pretest.bugs Subject: bug#5064: 23.1.50; perl mode coloring gone if subroutine name is one letter long Date: Sat, 28 Nov 2009 09:41:40 +0800 Message-ID: <87ocmn8lyj.fsf@jidanni.org> Reply-To: jidanni@jidanni.org, 5064@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 1259377770 31356 80.91.229.12 (28 Nov 2009 03:09:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2009 03:09:30 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 28 04:09:23 2009 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 1NEDgY-0000DO-Ia for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Nov 2009 04:09:23 +0100 Original-Received: from localhost ([127.0.0.1]:52241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEDet-0000dU-Kx for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2009 22:07:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NEDem-0000b0-FH for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 22:07:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NEDeg-0000ZP-Ae for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 22:07:30 -0500 Original-Received: from [199.232.76.173] (port=33056 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEDef-0000ZF-VK for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 22:07:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59504) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NEDef-0000as-DC for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 22:07:25 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAS37Mlb000598; Fri, 27 Nov 2009 19:07:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAS2o4fN030886; Fri, 27 Nov 2009 18:50:04 -0800 Resent-Date: Fri, 27 Nov 2009 18:50:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 28 Nov 2009 02:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5064 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125937630830510 (code B ref -1); Sat, 28 Nov 2009 02:50:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 28 Nov 2009 02:45:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAS2j6Ik030455 for ; Fri, 27 Nov 2009 18:45:07 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:42547 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NEDJ2-0003Sm-7R for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 21:45:04 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NEDJ0-0007fS-VJ for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 21:45:03 -0500 Original-Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145]:57823 helo=homiemail-a7.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NEDJ0-0007fI-Ly for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 21:45:02 -0500 Original-Received: from jidanni.org (125-230-47-245.dynamic.hinet.net [125.230.47.245]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTPSA id 1967B25C05F for ; Fri, 27 Nov 2009 18:45:00 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 27 Nov 2009 22:07:30 -0500 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:33004 gmane.emacs.pretest.bugs:25253 Archived-At: Gentlemen, consider the following perl subroutines. Notice how the latter has all its coloring gone, just because it starts with one letter. (perl-mode)^X^E sub max { my $max = shift(@_); foreach $foo (@_) { $max = $foo if $max < $foo; } return $max; } sub m { my $max = shift(@_); foreach $foo (@_) { $max = $foo if $max < $foo; } return $max; }