Patching exuberant-ctags for better PHP5 support in vim
by Sander MarechalThanks to the taglist vim plugin, vim users have access to a decent tag browser. A tag browser allows you to view a list of all variables, functions and classes and quickly jump to their definitions. Taglist is built on exuberant ctags so it support a large amount of languages. Unfortunately however, when the exuberant ctags people replaced their old PHP lexer with a brand new regexp-based parser the quality of parsing PHP code decreased dramatically. Ctags suddenly could not distinguish real class and function declarations from mere mentions of the words “class” and “function” in multi-line comments. This is because the ctags regular expression parses is inherently line oriented.
In this article I have two patches that greatly improve PHP support in exuberant-ctags. I will also show you how you can apply these patches on a Debian-based system.
Update 2009-07-07: David Mudrak has written an updated patch for Gentoo. I have ported his improvements back to my patch here. It fixed a problem with old-style functions without a visibility declaration and it applied the same trick to interfaces as well.
Final Judgment in SCO v. Novell: SCO Loses Again
- SCO's claims for Slander of Title (Count I) and Specific Performance (Count III) are dismissed [...]
- SCO's claims for Breach of Contract (Count II), Copyright Infringement (Count IV), and Unfair Competition (Count V) are dismissed [...]
- The remaining portions of SCO's claims [...] are voluntarily dismissed with prejudice, without the possibility of renewal following appeal.
Ah, what wonderful words to read. And about time too; It's been going on since January 2004. This should blast a giant hole in SCOs case against IBM since Novell is now authorised to indemnify IBM.
I suggest you hop over to Groklaw’s coverage of the final judgement. As usual it is an excellent read.
Where knowledge is free
I just spotted this wonderful poem about freedom on a photograph of the ODF Olympiad 2008 Malaysia. I thought it very apt for the issues facing us these days.
Where the mind is without fear and the head is held high.
Where knowledge is free.
Where the world has not been broken up into fragments by narrow domestic walls.
Where words come out from the depth of truth.
Where tireless striving stretches its arms towards perfection.
Where the clear stream of reason has not lost its way into the dreary desert sand of dead habit.
Where the mind is led forward by thee into ever-widening thought and action-into that heaven of freedom, my Father, let my country awake.
Rabindranath Tagore
Via the ODF Discuss mailinglist.