---
title: "emacs的C开发环境"
author: "lisanping"
date: "2009-02-21T14:58:37Z"
tags: ["C", "C#", "C++", "Emacs", "LISP"]
slug: "emacs-c"
draft: false
lastmod: "2009-04-24T09:31:54Z"
id: 373743
url: "https://lisanping.iteye.com/blog/373743"
---

今天把把emacs的C开发环境鼓捣出来，首先上图： 1.color theme color-theme.el ;; color theme (require ‘color-theme) (color-theme-classic) 2.line number 我用的是wp-line-number 参考网站：http://homepage1.nifty.com/blankspace/emacs/elisp.html ;;line number (set-scroll-bar-mode nil) ;no scroll bar (require ‘wb-line-number) (wb-line-number-toggle) 3.cedet(Collection of Emacs Development Environment Tools) 这是个非常强大的东东，专门为emacs开发的用于开发环境的工具 参考地址：http://cedet.sourceforge.net/ ;; Load CEDET (load-file “/usr/share/emacs/site-lisp/cedet/common/cedet.el”) ;; Enabling various SEMANTIC minor modes.  See semantic/INSTALL for more ideas. ;; Select one of the following: ;; * This enables the database and idle reparse engines ;;(semantic-load-enable-minimum-features) ;; * This enables some tools useful for coding, such as summary \[...]