From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: CPerl-mode bug [Re: Relation with package authors (CPerl-mode follow-ups)] Date: Thu, 30 Jun 2005 14:01:29 -0400 Message-ID: References: <1115190893.4278766d8332a@imp5-q.free.fr> <87wtqdn563.fsf-monnier+emacs@gnu.org> <87wtq6olso.fsf@marant.org> <877jgrj22g.fsf_-_@marant.org> <87mzp9bnrm.fsf-monnier+emacs@gnu.org> <20050630043416.GA14713@math.berkeley.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120154126 22425 80.91.229.2 (30 Jun 2005 17:55:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2005 17:55:26 +0000 (UTC) Cc: Ilya Zakharevich , J?r?me Marant , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 30 19:55:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Do3FW-0005g6-7T for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2005 19:54:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Do3No-0005JG-B1 for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2005 14:03:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Do3NY-0005HD-MP for emacs-devel@gnu.org; Thu, 30 Jun 2005 14:03:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Do3NX-0005Gm-V7 for emacs-devel@gnu.org; Thu, 30 Jun 2005 14:03:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Do3NX-0005Gc-Rx for emacs-devel@gnu.org; Thu, 30 Jun 2005 14:03:11 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Do3Qz-00061f-Ko for emacs-devel@gnu.org; Thu, 30 Jun 2005 14:06:45 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id CE9A92CEA9F; Thu, 30 Jun 2005 14:01:39 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 4D59A4AC00A; Thu, 30 Jun 2005 14:01:29 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 33E2CE6A42; Thu, 30 Jun 2005 14:01:29 -0400 (EDT) Original-To: Ilya Zakharevich In-Reply-To: <20050630043416.GA14713@math.berkeley.edu> (Ilya Zakharevich's message of "Wed, 29 Jun 2005 21:34:16 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.846, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39964 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39964 >> To make up for it, the normal answer is to set font-lock-defaults so that _ >> does have word syntax during font-locking (but not while editing). >> >> To get it to work I had to remove an apparently spurious set-syntax-table in >> cperl-find-pods-heres. > Could you please replace the CVS version of the cperl-mode.el with one on > my site? Given that all the edits in CVS version break the mode more > and more, the users will appreciate this a lot. As mentioned in my message, the reason for this particular problem is that your code changes _ to have word syntax, which is considered in Emacs to be a bug. So the Emacs version of cperl-mode.el fixes this bug, which then triggered the other bug I just fixed. Yes the Emacs version has bugs that your version doesn't have, but your version also has bugs that the Emacs version doesn't have (they're usually different kinds of bugs, that have more to do with coding and UI conventions, but they're bugs nevertheless for us Emacs maintainers). I'd be very happy to merge the two versions, and indeed when I merged the 4.32 and then 5.0 version of your code I tried to reduce the differences between the two, but we won't be able to get to a full merge until your version integrates some of our changes. Stefan