<?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>评论：用CEDET浏览和编辑C++代码</title>
	<atom:link href="http://emacser.com/cedet.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://emacser.com/cedet.htm</link>
	<description>没有我做不到的，只有你想不到的</description>
	<lastBuildDate>Fri, 03 Feb 2012 13:47:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：Meteor Liu</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-21697</link>
		<dc:creator>Meteor Liu</dc:creator>
		<pubDate>Fri, 03 Feb 2012 10:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-21697</guid>
		<description>&lt;a href=&quot;#comment-21676&quot; rel=&quot;nofollow&quot;&gt;@beyond291&lt;/a&gt;, 
1. 拷个autoconf.h放到别的地方，然后semantic-lex-c-preprocessor-symbol-file加入新的。
2. 我前面说的ede-cpp-root-project方法应该可以</description>
		<content:encoded><![CDATA[<p><a href="#comment-21676" rel="nofollow">@beyond291</a>,<br />
1. 拷个autoconf.h放到别的地方，然后semantic-lex-c-preprocessor-symbol-file加入新的。<br />
2. 我前面说的ede-cpp-root-project方法应该可以</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：beyond291</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-21676</link>
		<dc:creator>beyond291</dc:creator>
		<pubDate>Fri, 03 Feb 2012 07:15:49 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-21676</guid>
		<description>&lt;a href=&quot;#comment-21672&quot; rel=&quot;nofollow&quot;&gt;@Meteor Liu&lt;/a&gt;, 
CONFIG_XXX都是在内核的autoconf.h文件里定义的，
我在内核配置里没有启用CONFIG_SUSPEND，因为不需要这个特性。
我已经通过semantic-lex-c-preprocessor-symbol-file把autoconf.h
加入到semantic里了。我的情况是在我不需要CONFIG_SUSPEND的情况下，
上面#ifdef CONFIG_SUSPEND范围里依然还可以进行匹配。
因为有时需要先写好CONFIG_SUSPEND里的代码，
然后再启用内核的CONFIG_SUSPEND功能。
相当于其他文件里CONFIG_SUSPEND不生效，本文件里生效。
这样是否可行？
谢谢！</description>
		<content:encoded><![CDATA[<p><a href="#comment-21672" rel="nofollow">@Meteor Liu</a>,<br />
CONFIG_XXX都是在内核的autoconf.h文件里定义的，<br />
我在内核配置里没有启用CONFIG_SUSPEND，因为不需要这个特性。<br />
我已经通过semantic-lex-c-preprocessor-symbol-file把autoconf.h<br />
加入到semantic里了。我的情况是在我不需要CONFIG_SUSPEND的情况下，<br />
上面#ifdef CONFIG_SUSPEND范围里依然还可以进行匹配。<br />
因为有时需要先写好CONFIG_SUSPEND里的代码，<br />
然后再启用内核的CONFIG_SUSPEND功能。<br />
相当于其他文件里CONFIG_SUSPEND不生效，本文件里生效。<br />
这样是否可行？<br />
谢谢！</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Meteor Liu</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-21672</link>
		<dc:creator>Meteor Liu</dc:creator>
		<pubDate>Fri, 03 Feb 2012 06:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-21672</guid>
		<description>&lt;a href=&quot;#comment-21666&quot; rel=&quot;nofollow&quot;&gt;@beyond291&lt;/a&gt;, 
全局的话可以设置semantic-lex-c-preprocessor-symbol-file，
工程的话可以建立ede-cpp-root-project，在:spp-table里把预处理符号加进去</description>
		<content:encoded><![CDATA[<p><a href="#comment-21666" rel="nofollow">@beyond291</a>,<br />
全局的话可以设置semantic-lex-c-preprocessor-symbol-file，<br />
工程的话可以建立ede-cpp-root-project，在:spp-table里把预处理符号加进去</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：beyond291</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-21666</link>
		<dc:creator>beyond291</dc:creator>
		<pubDate>Fri, 03 Feb 2012 06:21:57 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-21666</guid>
		<description>最近从vim切换到emacs，做嵌入式linux驱动开发，经过折腾基本上可以使用semantic来进行内核编程补全。
但发现一个不爽的地方就是源代码里有#ifdef MACRO_XXX #endif括起来的地方，如果MACRO_XXX没有定义，那么在这个#ifdef和#endif之间里的代码则无法进行补全。
#ifdef    CONFIG_SUSPEND
/*
 * When SPI wake up from off-mode, CS is in activate state. If it was in
 * unactive state when driver was suspend, then force it to unactive state at
 * wake up.
 */
static int omap2_mcspi_resume(struct device *dev)
{
        struct spi_master	*master = dev_get_drvdata(dev);
        struct omap2_mcspi	*mcspi = spi_master_get_devdata(master);
        struct omap2_mcspi_cs *cs;

        .....
#endif
那么在这代码中比如cs则无法进行成员补全，非#ifdef和#endif区域里则没有这个问题，
不知道有没有好解决方式</description>
		<content:encoded><![CDATA[<p>最近从vim切换到emacs，做嵌入式linux驱动开发，经过折腾基本上可以使用semantic来进行内核编程补全。<br />
但发现一个不爽的地方就是源代码里有#ifdef MACRO_XXX #endif括起来的地方，如果MACRO_XXX没有定义，那么在这个#ifdef和#endif之间里的代码则无法进行补全。<br />
#ifdef    CONFIG_SUSPEND<br />
/*<br />
 * When SPI wake up from off-mode, CS is in activate state. If it was in<br />
 * unactive state when driver was suspend, then force it to unactive state at<br />
 * wake up.<br />
 */<br />
static int omap2_mcspi_resume(struct device *dev)<br />
{<br />
        struct spi_master	*master = dev_get_drvdata(dev);<br />
        struct omap2_mcspi	*mcspi = spi_master_get_devdata(master);<br />
        struct omap2_mcspi_cs *cs;</p>
<p>        &#8230;..<br />
#endif<br />
那么在这代码中比如cs则无法进行成员补全，非#ifdef和#endif区域里则没有这个问题，<br />
不知道有没有好解决方式</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：lyn</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-18219</link>
		<dc:creator>lyn</dc:creator>
		<pubDate>Thu, 29 Dec 2011 04:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-18219</guid>
		<description>(define-key semantic-tag-folding-mode-map (kbd &quot;C-_&quot;) &#039;semantic-tag-folding-fold-all)
(define-key semantic-tag-folding-mode-map (kbd &quot;C-+&quot;) &#039;semantic-tag-folding-show-all))
多了尾部的一个右括号</description>
		<content:encoded><![CDATA[<p>(define-key semantic-tag-folding-mode-map (kbd &#8220;C-_&#8221;) &#8217;semantic-tag-folding-fold-all)<br />
(define-key semantic-tag-folding-mode-map (kbd &#8220;C-+&#8221;) &#8217;semantic-tag-folding-show-all))<br />
多了尾部的一个右括号</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Meteor Liu</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-17393</link>
		<dc:creator>Meteor Liu</dc:creator>
		<pubDate>Thu, 22 Dec 2011 13:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-17393</guid>
		<description>&lt;a href=&quot;#comment-17381&quot; rel=&quot;nofollow&quot;&gt;@ryan&lt;/a&gt;, 
putty?
看样子是你的终端不支持这个按键，你绑个别的键吧</description>
		<content:encoded><![CDATA[<p><a href="#comment-17381" rel="nofollow">@ryan</a>,<br />
putty?<br />
看样子是你的终端不支持这个按键，你绑个别的键吧</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：ryan</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-17381</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Thu, 22 Dec 2011 12:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-17381</guid>
		<description>hi,我在定义
(define-key c-mode-base-map [M-f12] &#039;eassist-switch-h-cpp)
之后使用该键组合时得到这样的错误：
ESC  is undefined

C-h-c得到：
ESC (translate from ESC M-[2 4 ~) is undefined

any idea?</description>
		<content:encoded><![CDATA[<p>hi,我在定义<br />
(define-key c-mode-base-map [M-f12] &#8216;eassist-switch-h-cpp)<br />
之后使用该键组合时得到这样的错误：<br />
ESC  is undefined</p>
<p>C-h-c得到：<br />
ESC (translate from ESC M-[2 4 ~) is undefined</p>
<p>any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：在Emacs下用C/C++编程 &#124; 搜索引擎技术博客</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-15945</link>
		<dc:creator>在Emacs下用C/C++编程 &#124; 搜索引擎技术博客</dc:creator>
		<pubDate>Fri, 09 Dec 2011 04:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-15945</guid>
		<description>[...] 用CEDET浏览和编辑C++代码 (163) [...]</description>
		<content:encoded><![CDATA[<p>[...] 用CEDET浏览和编辑C++代码 (163) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：在Emacs中使用gdb调试程序 &#124; 搜索引擎技术博客</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-15944</link>
		<dc:creator>在Emacs中使用gdb调试程序 &#124; 搜索引擎技术博客</dc:creator>
		<pubDate>Fri, 09 Dec 2011 04:05:03 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-15944</guid>
		<description>[...] 用CEDET浏览和编辑C++代码 (83) [...]</description>
		<content:encoded><![CDATA[<p>[...] 用CEDET浏览和编辑C++代码 (83) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：Meteor Liu</title>
		<link>http://emacser.com/cedet.htm/comment-page-6#comment-12043</link>
		<dc:creator>Meteor Liu</dc:creator>
		<pubDate>Wed, 05 Oct 2011 14:32:19 +0000</pubDate>
		<guid isPermaLink="false">http://emacser.com/?p=40990#comment-12043</guid>
		<description>&lt;a href=&quot;#comment-12032&quot; rel=&quot;nofollow&quot;&gt;@楼兰&lt;/a&gt;, 
我试了你这样的目录结构，用&quot;../common&quot;这样的相对路径是可以解析补全的。
你打开gate/gate_service.c后查看一下semantic-dependency-system-include-path变量。
另外，检查一下是不是和其它配置冲突了。

qt我没用过，不清楚。</description>
		<content:encoded><![CDATA[<p><a href="#comment-12032" rel="nofollow">@楼兰</a>,<br />
我试了你这样的目录结构，用&#8221;../common&#8221;这样的相对路径是可以解析补全的。<br />
你打开gate/gate_service.c后查看一下semantic-dependency-system-include-path变量。<br />
另外，检查一下是不是和其它配置冲突了。</p>
<p>qt我没用过，不清楚。</p>
]]></content:encoded>
	</item>
</channel>
</rss>

