[cedet-semantic] determining exuberant ctags version
Brought to you by:
zappo
From: Mandar M. <ma...@is...> - 2011-06-14 10:59:31
|
Hi, I've recently started using a fresh install of Ubuntu 11.04. Most of my emacs related files, including CEDET, reside in ~/.emacs.d, so these were not changed by the upgrade. Even after installing exuberant ctags, CEDET was unable to recognise its presence. The problem was traced to the following: 1. ctags --version prints: Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert 2. The version number does not match the original regexp on line 144 of cedet/semantic/ctags/semantic-ectag-util.el. I've changed this to: (if (re-search-forward "Exuberant Ctags \\([0-9.]+\\)[^0-9.]" nil t) This works for me. In some ways, this looks logical too -- match a sequence of digits and dots until you encounter something that is not a digit or dot. If you think this is all right, you could incorporate this into the trunk. I'm sorry I can't provide a proper patch. I did this before my emacs was properly setup, and I don't have the original against which to do a diff. Best wishes, Mandar. |