From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: Re: CPerl mode v5.0 Date: Thu, 20 Feb 2003 20:26:39 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20030220010041.548c3844.occitan@esperanto.org> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045773107 5178 80.91.224.249 (20 Feb 2003 20:31:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2003 20:31:47 +0000 (UTC) Bcc: ilya 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 18lxL3-0001HJ-00 for ; Thu, 20 Feb 2003 21:30:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18lxKk-0003t4-06 for gnu-help-gnu-emacs@m.gmane.org; Thu, 20 Feb 2003 15:30:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!agate!ilya Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: powdermilk.math.berkeley.edu Original-X-Trace: agate.berkeley.edu 1045772799 98811 169.229.140.13 (20 Feb 2003 20:26:39 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Thu, 20 Feb 2003 20:26:39 +0000 (UTC) X-How-To-Reach-Me: The From: address is valid X-How-To-Disable-Cc: Put in the headers the line: Mail-Copies-To: never Originator: ilya@powdermilk Original-Xref: shelby.stanford.edu gnu.emacs.help:110442 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:6944 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6944 [A complimentary Cc of this posting was sent to Daniel Pfeiffer ], who wrote in article <20030220010041.548c3844.occitan@esperanto.org>: > Zdravstvujtie Ilya, > > The source file has DOS line ends. Correct. ? There are many trailing spaces. I did not want to break compatibility with the RMS Emacs version yet. ;-) I think they match 1-to-1 now. [It was silly, though.] > cperl-backward-to-noncomment is indented as though the or didn't belong to > the if. In many other places the indentation is also wrong. Thanks. > I don't understand your comments. You mention my patches like switching > is-x-REx and (eq (char-after b) ?\#) What for? > or (function (lambda elimination, but they're not applied. IIRC, Function-lambda is required for older byte-compilers to compile lambdas. > Apart from these, it's by far the best perl mode ever!!! I've tried it on > many of my scripts, they look real good! In one I even found this bummer, > which gets the s wrong but never the less falls back on it's feet -- cool: > > ($opt_s ? " ; $File::Find::name\n " : '') With a correct setting of cperl-under-is-char the highlighting should be correct. The syntaxification should not care about cperl-under-is-char now... Ilya