首页 > CEDET, IDE, 初级 > Emacs才是世界上最强的IDE - CEDET的安装

Emacs才是世界上最强的IDE - CEDET的安装

2009年11月24日 ahei 发表评论 阅读评论

在准备写Emacs才是世界上最强大的IDE系列文章时,由于以前用的是cedet1.0pre6版本,速度比较慢,而且精确度也不高,所以就没有打算写它,昨天晚上在水木群里听一位网友介绍说cedet的cvs版本速度很快,而且精确度不错,所以晚上就down下cvs的版本试了一把,越试越感觉不错,就有了写cedet的想法。从头开始,先说安装吧。

cedet的安装挺简单,只要仔细看好cedet的说明就可以了,不过我昨天晚上没仔细看好说明,安装的时候碰到一个问题,所以我还是准备写一下安装过程。(如果你用apt-get, 或者emerge安装,首先要看下它们的版本,1.0pre6和其之前的版本都不要安装,语法分析会很慢的。)

首先下载cedet的cvs版本:

1
2
cvs -d:pserver:anonymous@cedet.cvs.sourceforge.net:/cvsroot/cedet login
cvs -z3 -d:pserver:anonymous@cedet.cvs.sourceforge.net:/cvsroot/cedet co -P cedet

然后编译:

  • linux下:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    
    cd cedet
    touch `find . -name Makefile` (cvs版本不需要这个)
    a) make
    或
    b) make EMACS=<your favorite emacs>
    或
    c) make MAKEINFO=/usr/local/bin/makeinfo
    或
    d) make MAKEINFO=echo
    如果编译过程中发生类似找不到loaddef文件,custom-autoload以及其他奇怪的错误,执行:
    a) make clean-autoloads
    b) make clean-all
    然后再重新编译。编译错误还有可能是make版本引起的,请使用GNU make,或者使用windows下的安装方法。
  • windows下(当然linux下这样也可以):

    1
    2
    3
    4
    5
    6
    
    emacs -q --no-site-file -l cedet-build.el -f cedet-build
    或
    在emacs中打开cedet-build.el文件,然后
    M-x eval-buffer
    M-x cedet-build-in-default-emacs
    编译过程中如果发生超过emacs堆栈大小的错误,退出emacs再重新编译即可。

说完安装,再说一下简单的使用,把下面的代码贴到你的.emacs里面:

1
2
3
4
5
6
7
8
9
10
11
12
(add-to-list 'load-path "path-of-cedet/common")
(require 'cedet)
(require 'semantic-ia)
 
;; Enable EDE (Project Management) features
(global-ede-mode 1)
 
(semantic-load-enable-excessive-code-helpers)
(semantic-load-enable-semantic-debugging-helpers)
 
;; Enable SRecode (Template management) minor-mode.
(global-srecode-minor-mode 1)

现在开始享受cedet吧。

关于cedet的进一步使用,我会再写专门的文章介绍,敬请期待,:)。

分享家:Addthis中国
GD Star Rating
loading...
Emacs才是世界上最强的IDE - CEDET的安装, 8.0 out of 10 based on 21 ratings 标签:autoload, buffer, CEDET, ede, Emacs, IDE, linux, lisp, mode, org, screenshot, semantic, srecode, windows, 安装, 编译

相关日志

分类: CEDET, IDE, 初级
  1. 2016年4月7日21:21 | #1

    Jeremy M. Felton and Natasha J. Felton to Paul A. Sadowsky and Julia E. Sadowsky, 43 Cypress St., $179,000. louis vuitton outlet But Trump said Tuesday that Rubio should drop out of the race if he doesn’t win any of the Super Tuesday contests. g http://www.raybansunglassesbuy.co.uk
    Nancy Reagan’s casket carried from funeral home nfl jerseys Mesquite senior Tyler Day was fifth in Div.
    The Lakers led 13-10 after one quarter, 26-21 at halftime and 42-39 after three quarters, but weren t able to finish it off. George s group goes out with three conference and district titles, but it still stings. louis vuitton handbags Harper revealed that her role as Olivia is challenging as well because her previous roles have been dramatically different. t http://www.coachhandbags.me
    The Coast Guard has found debris from the two helicopters in a widening search area, stretching from Kahuku to Waianae and seven miles offshore http://www.louisvuittonhandbagsrack.us.com We know what happened to Hollister when they decided not to build the 400 block out as planned from the reconstruction plans; sad but true.
    q It turns out this is a variation of a very old northern European dish. I took some liberties with the seasonings, and eliminated the animal products, but otherwise tried to replicate most of the traditional ingredients. After several experiments, I was ready with my answer to his challenge – a rich, hearty stew, with carrots, barley, and potatoes, seasoned with garlic, onions, and cumin. My father-in-law was really happy with this, so I’ve been making it for him ever since. coach outlet You need to realize that a big part of Fashion Week is its ”hurry up and wait” pace. oakley glasses
    to 5 p. http://www.michaelkorshandbagsrack.us.com Fortwo days. http://www.louisvuittonhandbagsrack.us.com
    The Oregon State Beavers may have missed on the top five prospects in the state of Oregon, but they landed a good one in Oregon City wide receiver/kick returner. michael kors outlet However, in the wake of her narrow victory in Iowa and her defeat in New Hampshire, the media is reporting that she has a problem with women voters in general and young women in particular. n michael kors handbags
    D student who was an expert on throughout the U. cheap michael kors bags For health purposes a person should have a regular sleeppattern and a regular schedule.
    The first is for children 4-5 years old for $15 per child. cheap air jordans No nation should perceive the patrols as a threat, he added.
    She is a human resources specialist for Sephora in San Francisco. coach outlet online Email her at agematters@pcoa.
    This weekend at Joe’s Grotto on 13825 N. coach handbags Centered on Lozano, the ring operated from June 2013 through Aug.
    d Officers responded to the Cheverly Station Apartment complex on Landover Road around 10:30 p. http://www.michaelkorshandbagsrack.us.com Guys are still busting their butts and everything.
    There’s a well known one around here coined the Palm to Pines Scenic Byway (CA-74), which heads out of the city up and up the nearest mountainside, complete with dicey switchbacks. coach outlet store online No planning, no schedule to keep, just doing. n coach outlet
    Martin and Coldplay have a good ear for pop hooks and although they try hard, have difficulty commanding a stage as big as this. michael kors outlet While I didn’t try that on the Edge, it never even got into the red on the battery indicator while doing normal tasks all day.
    d “This is the best I’ve felt in weeks,” Bowler said. “I have a very capable homie here who can help me get stuff done.” coach handbags Earle took control with a 123 lead, including five points from Brown, before leading 187. x
    These firms must beengaged in the commercialization of bioscience research andbiotechnology, andor the sale of products in the areas of medicaldevices and equipment; drugs, pharmaceuticals and diagnostics;agricultural feedstock and chemicals; research, testing and medicallabs; or bioscience-related distribution—the industry categoriesrecognized together as the biosciences in Arizona’s Bioscience Roadmap. michael kors outlet Nearly all were appointed by Popes John Paul II and Benedict XVI. michael kors outlet
    “There was a period of grieving and, ‘Oh my god, what am I going to do? This is all I know how to do,’ ” Brown said. http://www.michaelkorshandbagsbuy.us.com Arkansas scored a run in the third on Clark Eagan’s basesloaded walk, then tied it 22 in the seventh on a sacrifice fly by Jake Arledge that scored Michael Bernal. y coach outlet store online
    Line a baking sheet with parchment. cheap jordan shoes In “The Great Wall,” Damon plays a wandering European mercenary in the pre-gunpowder era who stumbles across the titular structure and learns what it’s really for.
    It seems like only yesterday that a group of artists coated the walls and floor of a Marigny warehouse space near the railroad tracks with brown paper and invited the public to spend all or part of the next 24 hours drawing, drawing and drawing some more, with free materials provided at the site. http://www.coachoutletstores.net.co Customers logged in those days could have seen basic information about other customers, including names, addresses, dates of birth and prescription history. a cheap michael kors bags
    Remove from heat and add sugar, flour, baking soda and vanilla coach factory outlet Lloyd Asato, executive director of the Asian Pacific Community in Action, said Asian voters are still a group worth being courted by candidates.

    [回复]

评论分页
1 2 3 4 37107
  1. 2010年3月18日05:59 | #1
  2. 2011年7月16日22:17 | #2
  3. 2012年3月21日11:26 | #3
:wink: :-| :-x :twisted: :) 8-O :( :roll: :-P :oops: :-o :mrgreen: :lol: :idea: :-D :evil: :cry: 8) :arrow: :-? :?: :!: