Re: cgit syntax highlight request

2023-05-11 Thread David Pirotte
> ... > The unscientific survey does lean toward adding color syntax > highlighting. Therefore I have enabled it on the cgit interface for > at least an experimental basis. It is active now. This uses the > "highlight" utility. This identifies file types by file suffix. > ... This is great, t

cgit syntax highlight request

2023-05-06 Thread Bob Proulx
Thanks to everyone who added comments to this topic. It's been a week for people to think about things and make comments. (And a week for me to be completely consumed by my own tasks.) The unscientific survey does lean toward adding color syntax highlighting. Therefore I have enabled it on the

Re: cgit syntax highlight request

2023-05-03 Thread David Pirotte
Hello, > I vote for no color. I vote for colorizing, and i agree that highlight is a better choice (it also does a better job imo). But this said, is it not possible to write a script, that the savannah admin could pass/use to configure cgit syntax-highlighting, that would first check for a proj

Re: [Savannah-hackers-public] cgit syntax highlight request

2023-04-29 Thread Corwin Brust
On Fri, Apr 28, 2023 at 4:45 PM Ian Kelling wrote: > > > Bob Proulx writes: > > > [[PGP Signed Part:Undecided]] > > Savannah Users, > > > > A user on IRC (daviid) has requested that cgit on Savannah be modified > > to perform syntax highlighting by default on the various source page > > display p

Re: cgit syntax highlight request

2023-04-29 Thread Bruno Haible
I vote for no color. > Colors are one > of those bike-shed items that everyone wants to be different. > Therefore the common ground is often the no-color option. I much > prefer if people clone to their own sandbox and then they can use > their own preferences for all bike-shed things like colors

Re: cgit syntax highlight request

2023-04-28 Thread Karl Berry
Should we leave color as it is now without? I vote for "no color". In the alternative, I'm in full agreement with using highlight, not Pygments, for the reasons stated (which I've also experienced). --thanks, karl.

Re: cgit syntax highlight request

2023-04-28 Thread Ian Kelling
Bob Proulx writes: > [[PGP Signed Part:Undecided]] > Savannah Users, > > A user on IRC (daviid) has requested that cgit on Savannah be modified > to perform syntax highlighting by default on the various source page > display pages. > > I did some research into this topic of cgit syntax highligh

Re: cgit syntax highlight request

2023-04-28 Thread Eric Wong
Bob Proulx wrote: > I did some research into this topic of cgit syntax highlighting. It > seems there are two popular ways to enable syntax highlighting in > cgit. One uses the Python "Pygments" and one uses the standalone > "highlight" utility. > > On IRC there were various comments about pygm

cgit syntax highlight request

2023-04-28 Thread Bob Proulx
Savannah Users, A user on IRC (daviid) has requested that cgit on Savannah be modified to perform syntax highlighting by default on the various source page display pages. I did some research into this topic of cgit syntax highlighting. It seems there are two popular ways to enable syntax highlig