unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections
@ 2013-11-10  3:41 Jambunathan K
  2013-11-10 11:16 ` Nathan Trapuzzano
  2013-11-15  5:17 ` Jambunathan K
  0 siblings, 2 replies; 6+ messages in thread
From: Jambunathan K @ 2013-11-10  3:41 UTC (permalink / raw)
  To: 15846

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]


1. C-x C-f t.pl
2. M-x cperl-mode

     alex@gnu.org
          ^^^

Note that part of the Email address (marked above) is fontified with
cperl-array-face.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: t.pl --]
[-- Type: text/x-perl, Size: 195 bytes --]

#! /usr/bin/perl
# Copyright (C) 2001-2013
#     Alex Schroeder <alex@gnu.org>
# Copyleft      2008 Brian Curry <http://www.raiazome.com>
# ... including lots of patches from the UseModWiki site

[-- Attachment #3: Type: text/plain, Size: 298 bytes --]




In GNU Emacs 24.3.50.4 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-11-09 on debian-6.05
Bzr revision: 115051 jan.h.d@swipnet.se-20131109111953-cysfi19meuidy96q
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 6.0.5 (squeeze)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections
  2013-11-10  3:41 bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections Jambunathan K
@ 2013-11-10 11:16 ` Nathan Trapuzzano
  2013-11-10 13:26   ` Jambunathan K
  2013-11-15  5:17 ` Jambunathan K
  1 sibling, 1 reply; 6+ messages in thread
From: Nathan Trapuzzano @ 2013-11-10 11:16 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 15846

Jambunathan K <kjambunathan@gmail.com> writes:

> 1. C-x C-f t.pl
> 2. M-x cperl-mode
>
>      alex@gnu.org
>           ^^^
>
> Note that part of the Email address (marked above) is fontified with
> cperl-array-face.

It does this for hashes too.  FWIW I did (setq
font-lock-maximum-decoration '((cperl-mode . 1)) a long time ago and
never looked back.  That got rid of all the obnoxious highlighting,
including the in-comment stuff.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections
  2013-11-10 11:16 ` Nathan Trapuzzano
@ 2013-11-10 13:26   ` Jambunathan K
  2013-11-10 14:41     ` Nathan Trapuzzano
  2013-11-10 18:06     ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Jambunathan K @ 2013-11-10 13:26 UTC (permalink / raw)
  To: Nathan Trapuzzano; +Cc: 15846

Nathan Trapuzzano <nbtrap@nbtrap.com> writes:

> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> 1. C-x C-f t.pl
>> 2. M-x cperl-mode
>>
>>      alex@gnu.org
>>           ^^^
>>
>> Note that part of the Email address (marked above) is fontified with
>> cperl-array-face.

> It does this for hashes too.  FWIW I did (setq
> font-lock-maximum-decoration '((cperl-mode . 1)) a long time ago and
> never looked back.  That got rid of all the obnoxious highlighting,
> including the in-comment stuff.

Ok, I am not alone then.  What do other perl programmers do?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections
  2013-11-10 13:26   ` Jambunathan K
@ 2013-11-10 14:41     ` Nathan Trapuzzano
  2013-11-10 18:06     ` Stefan Monnier
  1 sibling, 0 replies; 6+ messages in thread
From: Nathan Trapuzzano @ 2013-11-10 14:41 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 15846

Jambunathan K <kjambunathan@gmail.com> writes:

> What do other perl programmers do?

In my experience, most of them use vim.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections
  2013-11-10 13:26   ` Jambunathan K
  2013-11-10 14:41     ` Nathan Trapuzzano
@ 2013-11-10 18:06     ` Stefan Monnier
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2013-11-10 18:06 UTC (permalink / raw)
  To: Jambunathan K; +Cc: Nathan Trapuzzano, 15846

> Ok, I am not alone then.  What do other perl programmers do?

When I did write Perl I used perl-mode.


        Stefan





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections
  2013-11-10  3:41 bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections Jambunathan K
  2013-11-10 11:16 ` Nathan Trapuzzano
@ 2013-11-15  5:17 ` Jambunathan K
  1 sibling, 0 replies; 6+ messages in thread
From: Jambunathan K @ 2013-11-15  5:17 UTC (permalink / raw)
  To: 15846-done


OP here.  Closed.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-15  5:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-10  3:41 bug#15846: 24.3.50; cperl-mode: Dont parse '@' within comment sections Jambunathan K
2013-11-10 11:16 ` Nathan Trapuzzano
2013-11-10 13:26   ` Jambunathan K
2013-11-10 14:41     ` Nathan Trapuzzano
2013-11-10 18:06     ` Stefan Monnier
2013-11-15  5:17 ` Jambunathan K

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).