From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?b?Suly9G1l?= Marant Newsgroups: gmane.emacs.devel Subject: Re: CPerl-mode bug [Re: Relation with package authors (CPerl-mode follow-ups)] Date: Wed, 29 Jun 2005 15:37:16 +0200 Message-ID: <1120052236.42c2a40cdc2f8@imp3-q.free.fr> 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> Reply-To: jerome.marant@free.fr NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1120051940 5776 80.91.229.2 (29 Jun 2005 13:32:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2005 13:32:20 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 15:32:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnceC-0006KG-Hr for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 15:30:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DncmD-0004f1-GM for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 09:38:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dnclp-0004cR-Gd for emacs-devel@gnu.org; Wed, 29 Jun 2005 09:38:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dnclj-0004aF-Pk for emacs-devel@gnu.org; Wed, 29 Jun 2005 09:38:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dnclj-0004a4-M7 for emacs-devel@gnu.org; Wed, 29 Jun 2005 09:38:23 -0400 Original-Received: from [213.228.0.44] (helo=postfix3-1.free.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DncpM-0001Ru-Bw for emacs-devel@gnu.org; Wed, 29 Jun 2005 09:42:08 -0400 Original-Received: from imp3-q.free.fr (imp3-q.free.fr [212.27.42.3]) by postfix3-1.free.fr (Postfix) with ESMTP id 9242C1734A2; Wed, 29 Jun 2005 15:37:17 +0200 (CEST) Original-Received: by imp3-q.free.fr (Postfix, from userid 33) id 6AD2541BFD; Wed, 29 Jun 2005 15:37:17 +0200 (MEST) Original-Received: from mure.msy.sagem.com (mure.msy.sagem.com [62.160.59.178]) by imp3-q.free.fr (IMP) with HTTP for ; Wed, 29 Jun 2005 15:37:16 +0200 Original-To: Stefan Monnier In-Reply-To: <87mzp9bnrm.fsf-monnier+emacs@gnu.org> User-Agent: Internet Messaging Program (IMP) 3.2.5 X-Originating-IP: 62.160.59.178 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:39889 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39889 Selon Stefan Monnier : > > 'foo_print_desc' gets highlighted in font-lock-function-name-face > > So the bug is indeed absent from Ilya's cperl-mode and it is triggered = by > the fact that Emacs's cperl-mode.el does not give _ word syntax. > > To make up for it, the normal answer is to set font-lock-defaults so th= at _ > 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-tab= le in > cperl-find-pods-heres. Thanks for taking care of this. I thought you forgot about it but I hate harassing people. > See the patch below which seems to fix it, It does. Thanks again. Regards, -- J=E9r=F4me Marant