CVS Emacs23 for ubuntu

Of course command line. Follow me:

sudo apt-get install ssh cvs # cvs client
sudo apt-get install texinfo # for man package
export CVS_RSH="ssh"
cvs -z3 co -r emacs-unicode-2 emacs #get source
sudo apt-gt install build-essential
sudo apt-get build-dep emacs
sudo apt-get install xserver-xorg-dev

If you have some error when you had been run command "make bootstrap", such as

make[2]: *** No rule to make target
`/home/****/emacs/lisp/org/org-agenda.elc', needed by
`compile-main'. Stop

You should use the code:

cvs -z3 -d:pserver:anonym...@$address:/sources/emacs co emacs
$address: "" 、"" , and all

and then

make clear ; make bootstrap ; sudo make install

And then, I'll make that supporting chinese. Let's go.

vi /etc/X11/xorg.conf #add FontPath (e.g. simsun)
xlsfonts | grep gb2312 #make sure those fonts being included here
vi ~/.Xresources

add these code in your .Xresources
Emacs.Font: fontset-chinese

xrdb -merge .Xresources
sudo apt-get install xorg-dev
sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev # env of compiling

./configure --prefix=/usr --with-x-toolkit=gtk --with-xft #make sure in your emacs
make bootstrap
sudo make install
Or,use .emacs

chinese-gb2312:-*-wenquanyi bitmap song-medium-*-normal--14-*-*-*-*-*-iso10646-1,
chinese-gbk:-*-wenquanyi bitmap song-medium-*-normal--14-*-*-*-*-*-iso10646-1,
chinese-gb18030:-*-wenquanyi bitmap song-medium-*-normal--14-*-*-*-*-*-iso10646-1"
(setq default-frame-alist (append '((font . "fontset-mymono")) default-frame-alist))
(set-default-font "fontset-mymono")

Good Luck!


:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: