1

http://cedet.sourceforge.net/にある情報と Alex Ott の記事 (http://alexott.net/en/writings/emacs-devenv/EmacsCedet ) を使用して、CEDET 1.1 で Emacs(v 23.3) をセットアップしました。.html)

init.el ファイルに関して、ほとんどのねじれをリンクに解決しました。

さて、問題です。私は自分で TAGS をビルドしているので、プロジェクトのルートに TAGS ファイルがあります。ただし、セマンティックは次のエラーでそのファイルと barfs を使用したくないようです:

Source file `/users/lshvarts/.emacs.d/cedet-1.1/semantic/ctags/semantic-ectag-util.el' newer than byte-compiled file
Exuberent CTags not found. Found ctags that comes with Emacs
semantic-ectag-test-version: Exuberent CTags not found. Use M-x semantic-ectag-version RET
Exuberent CTags not found. Use M-x semantic-ectag-version RET
Exuberent CTags not found. Found ctags that comes with Emacs

私が持っている Etag は最新バージョンではないかもしれませんが、なぜ Etag が明らかにそれを拒否するのか不思議です。
boxy:92> etags --version
etags (GNU Emacs 20.7)
Copyright (C) 1996 Free Software Foundation, Inc. and Ken Arnold
This program is distributed under the same terms as Emacs
boxy:93>

ヘルプ/洞察をいただければ幸いです。

4

2 に答える 2

3

必要はありませんがetagsExuberent CTags ! ectagslinux/mac リポジトリ (通常は name 、またはexuberant-ctagsDebian ) から、またはsiteからインストールできます。

于 2012-08-15T06:08:57.237 に答える
1

This is not exactly related to the problem you had, but I got the same error (Exuberent CTags not found. Use M-x semantic-ectag-version RET) after upgrading to ubuntu 12.04.

The problem was that ctags-exuberant --version returned a non numerical version:

Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Nov  9 2011, 17:40:39
  Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
  Optional compiled features: +wildcards, +regex

Just replace regex

"Exuberant Ctags \\([0-9.]+\\),"

by

"Exuberant Ctags \\([0-9.]+\\)[~,]"

in semantic-ectag-version (in semantic-ectag-util.el) and recompile the file.

于 2012-08-25T05:54:20.943 に答える