怎么配置Emacs编程?

软件和网站开发以及相关技术探讨
回复
killerpro
帖子: 22
注册时间: 2007-05-11 16:54

怎么配置Emacs编程?

#1

帖子 killerpro » 2007-06-02 1:41

听说Emacs配置好后的功能很强大……
我想试着用它来编程,好像还要设置调到gcc的~~~
那到底应该怎么配置??
请问…… :D
头像
KyTor
帖子: 222
注册时间: 2006-12-05 22:23
来自: http://www.wengyuanhang.com/
联系:

#2

帖子 KyTor » 2007-07-16 17:42

习惯用vim,make
虔诚的信徒啊!请相信KyTor吧!
http://www.wengyuanhang.com/
------------------
愿上帝赐我平静,接受我无法改变的事;
愿上帝赐我勇气,改变我能够改变的事;
愿上帝赐我智慧,能明辨这两者的差异;
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#3

帖子 bones7456 » 2007-07-16 17:53

这个不是人学的,号称神的编辑器呢
关注我的blog: ε==3
xf3i
帖子: 82
注册时间: 2007-08-03 14:37

#4

帖子 xf3i » 2007-08-19 18:52

1.安装emacs
2.将下面这些东西写道~/.emacs文件里。如果没有此文件自己建



(set-language-environment 'Chinese-GB)
(set-keyboard-coding-system 'euc-cn)
(set-clipboard-coding-system 'euc-cn)
(set-terminal-coding-system 'euc-cn)
(set-buffer-file-coding-system 'euc-cn)
(set-selection-coding-system 'euc-cn)
(modify-coding-system-alist 'process "*" 'euc-cn)
(setq default-process-coding-system
'(euc-cn . euc-cn))
(setq-default pathname-coding-system 'euc-cn)




;;y/n instead of yes/no
(fset 'yes-or-no-p 'y-or-n-p)

;;display time
(display-time)

;;display column and line
(column-number-mode t)

;;emphasize selected
(transient-mark-mode t)

;;matched brack
(show-paren-mode t)
(setq show-paren-style 'parentheses)

(set-clipboard-coding-system 'ctext)

(setq-default make-backup-files nil)

(setq kill-ring-max 200)

(setq default-fill-column 60)


;;(setq-default indent-tabs-mode nil)
;;(setq-default-tab-width 8)
;;(setq tab-stop-list())
;;(loop for x downfrom 40 to 1 do
;; (setq tab-stop-list(cons (* x 4) tab-stop-list)))


(setq scroll-margin 3
scroll-conservatively 10000)

(setq default-major-mode 'text-mode)

;;(mouse-avoidance-mode 'animate)

(auto-image-file-mode)

(global-font-lock-mode t)
头像
boydd
帖子: 255
注册时间: 2007-05-10 19:42
来自: 南京, Deutschland, Karlsruhe
联系:

#5

帖子 boydd » 2007-08-20 2:56

一开始去水木清华的emacs版看看学着怎么使用安装
最后只要一个http://www.emacswiki.org/cgi-bin/wiki足矣
gofisher
帖子: 22
注册时间: 2007-08-20 16:03

#6

帖子 gofisher » 2007-08-24 14:08

火星人的工具。
回复