From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Will Willis Newsgroups: gmane.emacs.help Subject: Re: cperl-mode variable strin Date: Thu, 13 Aug 2009 22:50:48 -0500 Message-ID: <6ee1e6090908132050s78e9a4cekb409f6c54218ad27@mail.gmail.com> References: <4A7FE6CF.4020702@irisa.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001485f776342b6cb2047111f58e X-Trace: ger.gmane.org 1250221889 9211 80.91.229.12 (14 Aug 2009 03:51:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2009 03:51:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sebastien LE MAGUER Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 14 05:51:22 2009 Return-path: Envelope-to: geh-help-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 1Mbnp0-000152-Ox for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Aug 2009 05:51:19 +0200 Original-Received: from localhost ([127.0.0.1]:53841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbnoz-0001Qd-QV for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Aug 2009 23:51:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mbnoa-0001QN-Je for help-gnu-emacs@gnu.org; Thu, 13 Aug 2009 23:50:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbnoZ-0001Op-8t for help-gnu-emacs@gnu.org; Thu, 13 Aug 2009 23:50:51 -0400 Original-Received: from [199.232.76.173] (port=58694 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbnoZ-0001Om-2F for help-gnu-emacs@gnu.org; Thu, 13 Aug 2009 23:50:51 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.157]:38817) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbnoY-0004pm-FQ for help-gnu-emacs@gnu.org; Thu, 13 Aug 2009 23:50:50 -0400 Original-Received: by fg-out-1718.google.com with SMTP id 22so264678fge.7 for ; Thu, 13 Aug 2009 20:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=20u1Ha9mu4tPy5H78NBcYQwqyQIdNzVvOAI6x995ZaY=; b=eOGniA968F5SwNC7UyGzS6zmfYNG3c2hbFWwbovcg7EBweg07qVmMo7sJ5ySqiZK8x ohD4MsviyhwqKRUO0iVQCvr0Wte1FReWhKwhCOi1jNHsqpVFbzGcJ8L+mwICn/mTPDqF GPpk60O6tWsCDAm/Vvto4ON/o7Jx4LBIepSCA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ApukyI66eppNSKrqrMuQLQSP5xOCDIcJF2WRAs92yyk2VQ1rBcTuCVO0nfrVAdxe4Q G1VZ/WfsFVbCOJliLjqzyHT3BtfoJtDyB8Itc3qlLk9Mt52pQ0OUQ2kAGaXjT29sTDnh G2pAd1H7MITv8cziukOfDnB6/3DrWY+T3htIE= Original-Received: by 10.239.171.8 with SMTP id u8mr118619hbe.21.1250221848488; Thu, 13 Aug 2009 20:50:48 -0700 (PDT) In-Reply-To: <4A7FE6CF.4020702@irisa.fr> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67137 Archived-At: --001485f776342b6cb2047111f58e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit bump. I'd love to hear the answer too. I spent a few minutes scanning cperl-mode.el... there is quite a bit of discuss of the how's and why's of highlighting and associated issues... searching for 'ignore-this-line' will uncover quite a few interesting comment sections too. M-x find-file cperl-mode -Will On Mon, Aug 10, 2009 at 4:22 AM, Sebastien LE MAGUER < Sebastien.Le_maguer@irisa.fr> wrote: > Hi, > > does someone know how to highlight variables even if the are in a string ? > (for example, highlight $var in print "var has value $var") > > Regards > > Sebastien > --001485f776342b6cb2047111f58e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
bump.

I'd love to hear the answer too.
I spent a few minutes scanning cperl-mode.el... there is quite = a bit of discuss of the how's and why's of highlighting and associa= ted issues... searching for 'ignore-this-line' will uncover quite a= few interesting comment sections too.

M-x find-file cperl-mode


-Will


On Mon, Au= g 10, 2009 at 4:22 AM, Sebastien LE MAGUER <Sebastien.Le_maguer@irisa.fr><= /span> wrote:
Hi,

does someone know how to highlight variables even if the are in a string ? = (for example, highlight $var in print "var has value $var")

Regards

Sebastien

--001485f776342b6cb2047111f58e--