これが私がメーリングリストで得たものです。誰かの助けになることを願っています.Eric Ludlamに感謝します:D:
======================
1. First is the rumble about the emacs core / cedet git-trunk hussle. How do I check that current installation is running the latter ? ( I have done some .emacs modificaitons see below) .
emacs の起動後、以下を使用します。
Mx cedet-version RET
CEDET/bzr から 1.1 バージョンを探します。
これを試してみたところ、すべてが正しいバージョン番号を持っているわけではないことに気付きました。面白い。私はそれを調べる必要があります。
とにかく、次に試すことは次のとおりです。
Mx locate-library RET cedet RET
そして、それが正しいと思われる場所を指していることを確認してください。
2. I generally cannot get the proper autocomplete working for external libs - in this case the OGRE3D project, which all are in the /usr/include/OGRE. I suppose I have added to 'search path' include properly, semantic-describe-c-env. sees them added properly.
global-semantic-decoration-mode を有効にすると、ヘッダー ファイルを右クリックして、ヘッダーの場所を表示したり、まだ解析されているかどうかを表示したりするなど、いくつかのオプションが表示されます。
2.a What are the basic commands to the semantic parser ? , that is I need to force it to parse the desired includes.
インクルード メニューを使用して、ヘッダーを強制的に解析するか、そのインクルードにアクセスできます。見つからない場合は、そこから OGRE をパスに追加することもできます。
ヘッダーを表示する場合は、上院議員メニューを使用してファイルを強制的に再解析するか、次を使用できます。
Cu Mx ボビネート RET
それをするために。
Once I saw semantic parsing the OGRE files in the 'idle time'. Still the autocomplete does not work ( OGRE:RAY is not recongized as a type). senator-completition-menu-pop gives some non-matching 'c**p'
オートコンプリートは、さまざまな理由で失敗する可能性があります。理由を調べる最良の方法は次のとおりです。
Mx セマンティック分析デバッグ支援 RET
完成させたい場所で。ヘッダーファイル、シンボルなどについて教えてくれます。プリプロセッサ シンボルに何らかの設定が必要な可能性があります。
大規模で複雑なライブラリ ヘッダーの場合、セマンティックで適切なプリプロセッサ シンボルをセットアップして、ヘッダーの適切なビットがシンボルに対して解析されるようにするだけで十分な場合があります。完了したいシンボルがあるヘッダーにアクセスし、それが解析されたかどうかを確認する必要があります。使用:
Mx ボビアンテ RET
シンボルテーブルをダンプします。
2.b I know there are customize-group options for semantic, tough their description say little to me.
From the other post:
"Yes, there is a setup cost. You can use semanticdb.sh to pre-parse your code, but if you never open *every* file, you might end up with Emacs having such a huge data structure it gets larger that your machine can handle. If your project is small, this shouldn't be a problem." Well this might be, if that would parse OGRE.
ここでの問題は、インクルードの解析にあるとは思えません。私たちが対処しなければならない鬼のヘッダーには、何か新しいものがあると思います。
エリック
===================================