星期四, 十月 12, 2006
LaTEX
well installing latex with emacs is such a complicated processing. I spend half a day to get this done.
soon after a much comprehensible tutorial of installing auctex under windows operation system will be posted here..
星期日, 十月 08, 2006
下载所需软件:
ntemacs http://ntemacs.sourceforge.net/
JDK1.5 http://ntemacs.sourceforge.net/
JDE http://jdee.sunsite.dk/rootpage.html#Downloading
cedet http://sourceforge.net/project/showfiles.php?group_id=17886&release_id=338764
elib http://jdee.sunsite.dk/elib-1.0.zip
先安装JDk,这里就不做讲解了.
ntemacs解压安装后,分别将jde,cedet,elib解压到emacs目录下的site-lisp(目录可自选)子目录下(如图).
然后找出你的"HOME"文件夹,这里的HOME文件夹其实是emacs安装好后自动选定的一个初始化文件夹,每台电脑的HOME文件夹有时会不一样.因些可以先运行emacs(/emacs/bin/runemacs.exe),然后依次按下ctrl+x ctrl+f 然后输入"~/"(不包括引号),按下回车.这时emacs会列出你电脑中HOME文件夹中的所以文件.
这里我的HOME文件夹是c:/Documents and Settings/aaaaaaa/Application Data/
找到HOME文件夹后我们要在它的里面新建一个叫".emacs"的文件.首先打开记事本然后把下面内容复制到记事本中.(注意绿色背景部分要根据你自己的文件所以目录做适当修改)
(add-to-list 'load-path (expand-file-name "D:/software/emacs/site-lisp/jde/lisp"))
(add-to-list 'load-path (expand-file-name "D:/software/emacs/site-lisp/cedet/semantic"))
(add-to-list 'load-path (expand-file-name "D:/software/emacs/site-lisp/cedet/speedbar"))
(add-to-list 'load-path (expand-file-name "D:/software/emacs/site-lisp/elib"))
(add-to-list 'load-path (expand-file-name "D:/software/emacs/site-lisp/cedet/eieio"))
(add-to-list 'load-path (expand-file-name "D:/software/emacs/site-lisp/cedet/common"))
;; Initialize CEDET.
(load-file (expand-file-name "D:/software/emacs/site-lisp/cedet/common/cedet.el"))
;; If you want Emacs to defer loading the JDE until you open a
;; Java file, edit the following line
(setq defer-loading-jde nil)
;; to read:
;;
;; (setq defer-loading-jde t)
;;
(if defer-loading-jde
(progn
(autoload 'jde-mode "jde" "JDE mode." t)
(setq auto-mode-alist
(append
'(("\.java\'" . jde-mode))
auto-mode-alist)))
(require 'jde))
;; Sets the basic indentation for Java source files
;; to two spaces.
(defun my-jde-mode-hook ()
(setq c-basic-offset 2))
(add-hook 'jde-mode-hook 'my-jde-mode-hook)
然后点保存,文件类型千选"all files",文件名写".emacs" .
保存好后会在"HOME"文件夹中出再".emacs"文件.(如图)
接下来我们要做的就是做一些设置工作.
首先运行emacs,然后按下alt+x,再打入customize-variable 回车.接着输入jde-jdk-registry按下回车.
这时会出再jdk的注册页面.点击INS按钮,添入JDK的版本号和安装路径,再按下state按钮选"save for future sessions",最后按finish按钮.(如图)
再设置一下编译器.运行emacs后,按下alt+x,再打入customize-variable 回车.接着输入jde-compiler 出现如下页面,选择你要使用的编译器.然后按state选"save fro future sessions".最后按下finish.
重新起动emacs后,打开你的java文件,你就可以用它来编程了.
下面联接是官方的安装使用说明(英文)
http://jdee.sunsite.dk/ (安装说明)
http://jdee.sunsite.dk/jdedoc/html/jde-ug/jde-ug.html (使用说明)
热力诱惑 PLAYGIRL重庆赛区麻辣登场
from sina Sent to you by nene25 via Google Reader: 热力诱惑 PLAYGIRL重庆赛区麻辣登场 via 百度互联网最新新闻 by 新浪 on May 10, 2007 雾呵护了皮肤,坡成全了身材,...
-
这两天天气不错昨天下午去了一次学校旁边的一个小镇,whaveine.那里也是一个quay景色不错.很安静.很多大房子好像是给有钱人住的地方,在河边的房子都有靠椅在门外.天气好可以坐在椅子上看着远处一片草地.
-
看了一个贴子.自己整理了一些图,可能有误. 恶性入侵物种具有令人难以置信的能力,它们不但能以巧妙的方式实现远距离传播,而且能在新的地区建立种群,扩大繁殖,成为优势种,甚至彻底改变一个区域的生境,使之不再适合本地土著生物群落的生存。CNG在这里列出经世界各国生物学家联合研究,The...
-
不好的事今天一下子都来了.就像是商量好的一样.从早上开始一件接一件,白天三件,晚上回家又来两件,一共五件.why???? 有点烦..............