Re: [cssed-devel] Re: Plugin problems in BSD and MacOsX
Brought to you by:
iagorubio
From: Iago R. <iag...@hi...> - 2004-09-11 14:16:18
|
On Fri, 2004-09-10 at 19:52, Mich=C3=A8le Garoche wrote: > Le 10 sept. 2004, =C3=A0 18:12, Iago Rubio a =C3=A9crit : >=20 [snip] > > Michelle any idea ?? > > http://fink.sourceforge.net/pdb/package.php/exuberant-ctags > > > > It's maintained by pogma, can you ask him how we can know the ctags > > binary is exuberant ctags or not ? > On mac, you can have exuberant-ctags or ctags embedded into emacs and=20 > xemacs, so for me the binary should be exuberant ctags, as I don't see=20 > a way to use the ctags embedded into xemacs or emacs. The alternative=20 > allows to list all packages which uses ctags and defines a priority.=20 > Then a symlink is created to the package which has the higher priority.=20 > The user can change it as he wants. >=20 > Example: > update-alternatives --display ctags > ctags - status is manual. > link currently points to /sw/bin/ctags-exuberant > /sw/bin/ctags.xemacs - priority 60 > slave ctags.1: /sw/share/man/man1/ctags.1.xemacs > /sw/bin/ctags.emacs21 - priority 40 > slave ctags.1: /sw/share/man/man1/ctags.1.emacs21 > /sw/bin/ctags-exuberant - priority 70 > slave ctags.1: /sw/share/man/man1/ctags.1-exuberant > Current `best' version is /sw/bin/ctags-exuberant. Ok, I see. [snip] > > Using just the ctags program we can not search anything but C source > > code, that's not really useful for cssed. [snip] > > Nothing apropiated to use in cssed. > You can maybe search toutdoux and dtags, dtags is an interface for=20 > using ctags for xsltproc within toutdoux. It can give you hints. Will test it. > I've patched the line in configure this way, then it works: >=20 > dnl This plugin needs the ctags program > dnl AC_CHECK_PROG([CTAGS], [ctags], [no-ctags]) >=20 > dnl Exuberant ctags > AC_MSG_CHECKING(for Exuberant Ctags) > if ctags-exuberant --version > /dev/null 2>&1; then > AC_MSG_RESULT(yes)=09 > ctags=3Dyes > else > AC_MSG_ERROR(ctags-exuberant software not found) > ctags=3Dno Ok, thanks. Some changes in CVS. Please test it. Mostly: dnl ///////////////////////////////////////////////////// case "${OSTYPE}" in LINUX)=20 CTAGS=3Dctags ;; DARWIN) CTAGS=3Dctags-exuberant ;;=20 BSD) CTAGS=3Dexctags ;; *)=20 CTAGS=3Dctags ;;=20 esac dnl Exuberant ctags AC_MSG_CHECKING(for Exuberant Ctags) if $CTAGS --version > /dev/null 2>&1; then AC_MSG_RESULT(yes)=09 ctags=3Dyes else AC_MSG_ERROR(ctags-exuberant software not found) ctags=3Dno fi dnl ///////////////////////////////////////////////////// I should write some code, to use the $CTAGS in the command line invocation.=20 I will wait for your test, to see if it works on OsX. --=20 Iago Rubio =20 - Home page * http://www.iagorubio.com=20 - Last project * http://cssed.sourceforge.net =20 - GPG Keyserv * pgp.rediris.es id=3D0x909BD4DD |