Re: Perl Syntax Highlighting working for .pm, but not .pl extensions

2014-09-24 Thread Steve
Upgrading Pygments to 1.6 fixed the problem.

--Steve

On Thursday, August 28, 2014 2:25:51 PM UTC-7, Steve wrote:

 Knowing it should work helps.  The .pl files I'm looking at are smaller 
 than the .pm files that work, so I'm going to rule out file size as the 
 cause.  I'll try to isolate the problem some more.

 Thanks

 --Steve


 On Thursday, August 28, 2014 2:01:21 PM UTC-7, David Trowbridge wrote:

 Steve,

 It should work. We apply syntax highlighting based only on the file 
 extension, but I'm sure that pygments thinks that '.pl' is a perl file. The 
 one thing that you might be hitting is that we disable syntax highlighting 
 for very large files, because it can take a very long time otherwise.

 -David


 On Thu, Aug 28, 2014 at 8:58 AM, Steve seide...@gmail.com wrote:

 When we post code with .pm extensions, we get nice perl syntax 
 highlighting, but we don't get syntax highlighting for files ending in .pl. 
  I've run the pygementize script from the command line and it recognizes 
 .pl files as perl out-of-the-box and highlights them, but this in not 
 working for some reason in RB. Is this a bug, or a configuration problem on 
 our end?  Any tips on how to troubleshoot this?

 Here's our version information:

 $ rb-site --version
 rb-site 1.7.14

 $ pygmentize -V
 Pygments version 1.5, (c) 2006-2011 by Georg Brandl.


 Thanks

 -- Steve

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google 
 Groups reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to reviewboard...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Perl Syntax Highlighting working for .pm, but not .pl extensions

2014-08-28 Thread Steve
When we post code with .pm extensions, we get nice perl syntax 
highlighting, but we don't get syntax highlighting for files ending in .pl. 
 I've run the pygementize script from the command line and it recognizes 
.pl files as perl out-of-the-box and highlights them, but this in not 
working for some reason in RB. Is this a bug, or a configuration problem on 
our end?  Any tips on how to troubleshoot this?

Here's our version information:

$ rb-site --version
rb-site 1.7.14

$ pygmentize -V
Pygments version 1.5, (c) 2006-2011 by Georg Brandl.


Thanks

-- Steve

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Perl Syntax Highlighting working for .pm, but not .pl extensions

2014-08-28 Thread David Trowbridge
Steve,

It should work. We apply syntax highlighting based only on the file
extension, but I'm sure that pygments thinks that '.pl' is a perl file. The
one thing that you might be hitting is that we disable syntax highlighting
for very large files, because it can take a very long time otherwise.

-David


On Thu, Aug 28, 2014 at 8:58 AM, Steve seide.al...@gmail.com wrote:

 When we post code with .pm extensions, we get nice perl syntax
 highlighting, but we don't get syntax highlighting for files ending in .pl.
  I've run the pygementize script from the command line and it recognizes
 .pl files as perl out-of-the-box and highlights them, but this in not
 working for some reason in RB. Is this a bug, or a configuration problem on
 our end?  Any tips on how to troubleshoot this?

 Here's our version information:

 $ rb-site --version
 rb-site 1.7.14

 $ pygmentize -V
 Pygments version 1.5, (c) 2006-2011 by Georg Brandl.


 Thanks

 -- Steve

 --
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 ---
 You received this message because you are subscribed to the Google Groups
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Perl Syntax Highlighting working for .pm, but not .pl extensions

2014-08-28 Thread Steve
Knowing it should work helps.  The .pl files I'm looking at are smaller 
than the .pm files that work, so I'm going to rule out file size as the 
cause.  I'll try to isolate the problem some more.

Thanks

--Steve


On Thursday, August 28, 2014 2:01:21 PM UTC-7, David Trowbridge wrote:

 Steve,

 It should work. We apply syntax highlighting based only on the file 
 extension, but I'm sure that pygments thinks that '.pl' is a perl file. The 
 one thing that you might be hitting is that we disable syntax highlighting 
 for very large files, because it can take a very long time otherwise.

 -David


 On Thu, Aug 28, 2014 at 8:58 AM, Steve seide...@gmail.com javascript: 
 wrote:

 When we post code with .pm extensions, we get nice perl syntax 
 highlighting, but we don't get syntax highlighting for files ending in .pl. 
  I've run the pygementize script from the command line and it recognizes 
 .pl files as perl out-of-the-box and highlights them, but this in not 
 working for some reason in RB. Is this a bug, or a configuration problem on 
 our end?  Any tips on how to troubleshoot this?

 Here's our version information:

 $ rb-site --version
 rb-site 1.7.14

 $ pygmentize -V
 Pygments version 1.5, (c) 2006-2011 by Georg Brandl.


 Thanks

 -- Steve

 -- 
 Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
 ---
 Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
 ---
 Happy user? Let us know at http://www.reviewboard.org/users/
 --- 
 You received this message because you are subscribed to the Google Groups 
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to reviewboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
reviewboard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.