<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>评论：Exuberant Ctags中文手册</title>
	<atom:link href="http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/feed/" rel="self" type="application/rss+xml" />
	<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/</link>
	<description>关注Linux, Java, 开源软件和嵌入式系统</description>
	<lastBuildDate>Thu, 11 Mar 2010 14:24:45 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：hy434</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-1394</link>
		<dc:creator>hy434</dc:creator>
		<pubDate>Thu, 03 Dec 2009 04:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-1394</guid>
		<description>&lt;a href=&quot;#comment-1390&quot; rel=&quot;nofollow&quot;&gt;@Easwy &lt;/a&gt; 
Easwy，您好，我的变量是在公共域中定义的，不是局部变量。第一种方法我已经用过了，没有效果，解释出来的是x318 main.c ，我大概看了一下--regex-c的用法，感觉应该可以实现，但是最近工作很紧张，我想再深入的研究一下再和您联系，我看了一下您翻译的Ctags的说明文件，可能和sed命令差不多，我先学习一下吧，我是初学的，哈哈。</description>
		<content:encoded><![CDATA[<p><a href="#comment-1390" rel="nofollow">@Easwy </a><br />
Easwy，您好，我的变量是在公共域中定义的，不是局部变量。第一种方法我已经用过了，没有效果，解释出来的是x318 main.c ，我大概看了一下&#8211;regex-c的用法，感觉应该可以实现，但是最近工作很紧张，我想再深入的研究一下再和您联系，我看了一下您翻译的Ctags的说明文件，可能和sed命令差不多，我先学习一下吧，我是初学的，哈哈。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Easwy</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-1390</link>
		<dc:creator>Easwy</dc:creator>
		<pubDate>Wed, 02 Dec 2009 06:21:52 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-1390</guid>
		<description>&lt;a href=&quot;#comment-1388&quot; rel=&quot;nofollow&quot;&gt;@hy434&lt;/a&gt; 
注意到你说的是变量？是指局部变量吗？ctags默认是不为C语言的局部变量生成tag的。

你可以试一下

ctags -I__no_init --c-kinds=+l -R

如果不行，试一下：
ctags --c-kinds=+l --regex-c=/^__no_init[ \t]*[a-zA-Z0-9_]+[ \t]*([a-zA-Z0-9_]+)[ \t]*@[ \t]*[x0-9]+;/\1/l,local_variables -R

注意：由于博客程序的限制，两个&quot;-&quot;被显示成一个&quot;-&quot;了</description>
		<content:encoded><![CDATA[<p><a href="#comment-1388" rel="nofollow">@hy434</a><br />
注意到你说的是变量？是指局部变量吗？ctags默认是不为C语言的局部变量生成tag的。</p>
<p>你可以试一下</p>
<p>ctags -I__no_init &#8211;c-kinds=+l -R</p>
<p>如果不行，试一下：<br />
ctags &#8211;c-kinds=+l &#8211;regex-c=/^__no_init[ \t]*[a-zA-Z0-9_]+[ \t]*([a-zA-Z0-9_]+)[ \t]*@[ \t]*[x0-9]+;/\1/l,local_variables -R</p>
<p>注意：由于博客程序的限制，两个&#8221;-&#8221;被显示成一个&#8221;-&#8221;了</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：hy434</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-1388</link>
		<dc:creator>hy434</dc:creator>
		<pubDate>Wed, 02 Dec 2009 00:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-1388</guid>
		<description>Easwy,您好，我有一个问题在我第一次用Ctags时就遇到了，直到现在都还一直没能解决，我是做嵌入式的，所以有时会用到这样的变量定义方式 
__no_init UNION_INT trapezia_b @ 0x318;
__no_init UNION_INT trapezia_a @ 0x31a;
。。。。。。。。。。。。。。。。。。。。。。
其中UNION_INT是我定义的一种数据类型，trapezia_b是我定义的变量名，我用的是C语言。
请问您一下我能用Ctags的－I参数取得正确的变量标签吗？您能指点我一下吗？谢谢了！</description>
		<content:encoded><![CDATA[<p>Easwy,您好，我有一个问题在我第一次用Ctags时就遇到了，直到现在都还一直没能解决，我是做嵌入式的，所以有时会用到这样的变量定义方式<br />
__no_init UNION_INT trapezia_b @ 0&#215;318;<br />
__no_init UNION_INT trapezia_a @ 0&#215;31a;<br />
。。。。。。。。。。。。。。。。。。。。。。<br />
其中UNION_INT是我定义的一种数据类型，trapezia_b是我定义的变量名，我用的是C语言。<br />
请问您一下我能用Ctags的－I参数取得正确的变量标签吗？您能指点我一下吗？谢谢了！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Easwy</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-704</link>
		<dc:creator>Easwy</dc:creator>
		<pubDate>Tue, 07 Jul 2009 04:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-704</guid>
		<description>&lt;a href=&quot;#comment-703&quot; rel=&quot;nofollow&quot;&gt;@zzism&lt;/a&gt; 

你执行ctags时所用的应该是你的系统默认带的ctags，不是exuberant ctags。/usr/local/bin/ctgs是Emacs版本的ctags，也不是。
到网上重新下一个exuberant ctags吧，再编译一次。
设置一下PATH环境变量，把exuberant ctags所在的目录放在PATH的第一个</description>
		<content:encoded><![CDATA[<p><a href="#comment-703" rel="nofollow">@zzism</a> </p>
<p>你执行ctags时所用的应该是你的系统默认带的ctags，不是exuberant ctags。/usr/local/bin/ctgs是Emacs版本的ctags，也不是。<br />
到网上重新下一个exuberant ctags吧，再编译一次。<br />
设置一下PATH环境变量，把exuberant ctags所在的目录放在PATH的第一个</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：zzism</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-703</link>
		<dc:creator>zzism</dc:creator>
		<pubDate>Tue, 07 Jul 2009 03:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-703</guid>
		<description>噢，更新上面的拉，我打了/usr/local/bin/ctags - -version之后显示的是：
ctags (GNU Emacs 22.3)
Copyright (C) 2008 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README
恩？怎么回事？emacs？这是不是说明我的版本不对？是针对emacs版的？那重新设置路径要怎么做呢？搞不懂怎么会是emacs版的</description>
		<content:encoded><![CDATA[<p>噢，更新上面的拉，我打了/usr/local/bin/ctags &#8211; -version之后显示的是：<br />
ctags (GNU Emacs 22.3)<br />
Copyright (C) 2008 Free Software Foundation, Inc.<br />
This program is distributed under the terms in ETAGS.README<br />
恩？怎么回事？emacs？这是不是说明我的版本不对？是针对emacs版的？那重新设置路径要怎么做呢？搞不懂怎么会是emacs版的</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：zzism</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-702</link>
		<dc:creator>zzism</dc:creator>
		<pubDate>Tue, 07 Jul 2009 03:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-702</guid>
		<description>ctags - -version ，我打的是两个连续的-</description>
		<content:encoded><![CDATA[<p>ctags &#8211; -version ，我打的是两个连续的-</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：zzism</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-701</link>
		<dc:creator>zzism</dc:creator>
		<pubDate>Tue, 07 Jul 2009 03:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-701</guid>
		<description>谢谢easwy。
执行/usr/local/bin/ctags -R命令后，得到的结果是：
/usr/local/bin/ctags: no input files specified.
	Try `/usr/local/bin/ctags --help&#039; for a complete list of options.
然后&quot;ctags -v&quot;得到的结果是：
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
”ctags --version&quot;的结果是：
ctags: illegal option -- -
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...

这样，好像仍然看不出是什么版本噢？</description>
		<content:encoded><![CDATA[<p>谢谢easwy。<br />
执行/usr/local/bin/ctags -R命令后，得到的结果是：<br />
/usr/local/bin/ctags: no input files specified.<br />
	Try `/usr/local/bin/ctags &#8211;help&#8217; for a complete list of options.<br />
然后&#8221;ctags -v&#8221;得到的结果是：<br />
usage: ctags [-BFadtuwvx] [-f tagsfile] file &#8230;<br />
”ctags &#8211;version&#8221;的结果是：<br />
ctags: illegal option &#8212; -<br />
usage: ctags [-BFadtuwvx] [-f tagsfile] file &#8230;</p>
<p>这样，好像仍然看不出是什么版本噢？</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Easwy</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-699</link>
		<dc:creator>Easwy</dc:creator>
		<pubDate>Tue, 07 Jul 2009 01:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-699</guid>
		<description>&lt;a href=&quot;#comment-694&quot; rel=&quot;nofollow&quot;&gt;@zzism&lt;/a&gt; 
你试一下下面的命令：
/usr/local/bin/ctags -R

再用&quot;ctags -v&quot;命令或&quot;ctags - -version&quot; (两个连续的-号，在我的blog上两个-显示不出来，所以我在中间加了个空格)，看看你执行的是Exuberant ctags还是其它版本的ctags。如果是其它版本的ctags，你需要重新设置一下路径，确保执行的是Exuberant ctags。</description>
		<content:encoded><![CDATA[<p><a href="#comment-694" rel="nofollow">@zzism</a><br />
你试一下下面的命令：<br />
/usr/local/bin/ctags -R</p>
<p>再用&#8221;ctags -v&#8221;命令或&#8221;ctags &#8211; -version&#8221; (两个连续的-号，在我的blog上两个-显示不出来，所以我在中间加了个空格)，看看你执行的是Exuberant ctags还是其它版本的ctags。如果是其它版本的ctags，你需要重新设置一下路径，确保执行的是Exuberant ctags。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：zzism</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-694</link>
		<dc:creator>zzism</dc:creator>
		<pubDate>Mon, 06 Jul 2009 02:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-694</guid>
		<description>easwy，您好，我刚刚开始使用vim+ctags，碰到了一些问题。
我已经安装了ctags5.7，但是我用ctags -R,ctags -version,ctags -list-languages这些命令，都回答我类似这样的回复：
ctags: illegal option -- l
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...
我试了很多，最后只有ctags *可以做，这是怎么回事呢？
之前安装ctags，我输入了sudo make install后出现的信息是这样的：
Password:
cp ctags /usr/local/bin/ctags  &amp;&amp;  chmod 755 /usr/local/bin/ctags
cp ./ctags.1 /usr/local/man/man1/ctags.1  &amp;&amp;  chmod 644 /usr/local/man/man1/ctags.1
我不知道是不是我的安装有什么问题，我是个新手，完全不得要领，希望能得到您的帮助。</description>
		<content:encoded><![CDATA[<p>easwy，您好，我刚刚开始使用vim+ctags，碰到了一些问题。<br />
我已经安装了ctags5.7，但是我用ctags -R,ctags -version,ctags -list-languages这些命令，都回答我类似这样的回复：<br />
ctags: illegal option &#8212; l<br />
usage: ctags [-BFadtuwvx] [-f tagsfile] file &#8230;<br />
我试了很多，最后只有ctags *可以做，这是怎么回事呢？<br />
之前安装ctags，我输入了sudo make install后出现的信息是这样的：<br />
Password:<br />
cp ctags /usr/local/bin/ctags  &amp;&amp;  chmod 755 /usr/local/bin/ctags<br />
cp ./ctags.1 /usr/local/man/man1/ctags.1  &amp;&amp;  chmod 644 /usr/local/man/man1/ctags.1<br />
我不知道是不是我的安装有什么问题，我是个新手，完全不得要领，希望能得到您的帮助。</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Easwy</title>
		<link>http://easwy.com/blog/archives/exuberant-ctags-chinese-manual/#comment-645</link>
		<dc:creator>Easwy</dc:creator>
		<pubDate>Tue, 30 Jun 2009 01:54:30 +0000</pubDate>
		<guid isPermaLink="false">http://easwy.com/blog/?p=111#comment-645</guid>
		<description>&lt;a href=&quot;#comment-638&quot; rel=&quot;nofollow&quot;&gt;@vidala&lt;/a&gt; 
这个很难...ctags毕竟不是编译器</description>
		<content:encoded><![CDATA[<p><a href="#comment-638" rel="nofollow">@vidala</a><br />
这个很难&#8230;ctags毕竟不是编译器</p>
]]></content:encoded>
	</item>
</channel>
</rss>
