Emacs23 配置指南
-
- 帖子: 140
- 注册时间: 2006-08-06 16:33
- 来自: czz028@163.com
- 联系:
-
- 帖子: 140
- 注册时间: 2006-08-06 16:33
- 来自: czz028@163.com
- 联系:
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
谢谢指出问题,这个可能是因为当时我使用的 (load-file "xxxx.el")的原因,这样就可以不需要 (require .....)的那一句,后来我没有用这个方案了,但是这个帖子也没有跟着更新了,所以实在是有些惭愧。
(load-file xxx)的这种方法主要问题是不灵活,每加入一个新的扩展都要 load 一次,后来就改用 (load-path ....)的方法,把 (add-to-list ...)和 (load-file ... )都去掉了,这样就是需要 (require ....) 那一句的。
后来我发现 color-theme 的插件和某些其他的插件有些冲突,就没有使用这个了,直接在 (custom-face )中指定了几种需要的色彩,把那个 tabbar 也去掉了, setnu 也换了,dict 词典的那个换成了 sdcv 词典查询等等。
过几天空闲多了我再把这个帖子整理一下。
(load-file xxx)的这种方法主要问题是不灵活,每加入一个新的扩展都要 load 一次,后来就改用 (load-path ....)的方法,把 (add-to-list ...)和 (load-file ... )都去掉了,这样就是需要 (require ....) 那一句的。
后来我发现 color-theme 的插件和某些其他的插件有些冲突,就没有使用这个了,直接在 (custom-face )中指定了几种需要的色彩,把那个 tabbar 也去掉了, setnu 也换了,dict 词典的那个换成了 sdcv 词典查询等等。
过几天空闲多了我再把这个帖子整理一下。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
-
- 帖子: 62
- 注册时间: 2007-04-20 13:05
sudo apt-get install txtinfo3bio 写了:我还不能呢!搞多几下再编译发现,我make bootstrap都出错,真够背的。
make[2]: *** [bootstrap-emacs] 错误 127
make[2]: Leaving directory `/home/sango/Download/emacs/src'
make[1]: *** [bootstrap-build] 错误 2
make[1]: Leaving directory `/home/sango/Download/emacs'
make: *** [bootstrap] 错误 2
楼上的你写一下编译经验吧,呵呵
-
- 帖子: 1
- 注册时间: 2007-06-26 21:53
emacs23显示中文字体的 问题
我 的emacs23是按照楼主的方法安装的 ,其它功能正常,只是显示中文字体时会出现下面的问题,还望高手指点一下
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
Re: emacs23显示中文字体的 问题
.emacs 有没有 编码相关 的设置,有的话去掉。langzi1906s 写了:我 的emacs23是按照楼主的方法安装的 ,其它功能正常,只是显示中文字体时会出现下面的问题,还望高手指点一下
emacs23 对于编码不需要任何的设置.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
-
- 帖子: 1
- 注册时间: 2007-07-16 9:32
[问题]
make bootstrap 这一步编译的链接阶段出现错误:
请高手指点,还需要安装什么链接库
编译之前的环境准备均按帖子的步骤做的:
sudo apt-gt install build-essential
sudo apt-get build-dep emacs21
sudo apt-get install xserver-xorg-dev
sudo apt-get install xorg-dev
sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev
sudo apt-get install libgtk2.0-dev
系统环境信息:
Linux michael-desktop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
gcc 版本 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
GNU Make 3.81
详细错误信息:
gcc -nostdlib `./prefix-args -Xlinker -z nocombreloc` -Wl,-znocombreloc -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o gtkutil.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o vm-limit.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -lncurses -lm -lgcc -lc -lgcc /usr/lib/crtn.o
abbrev.o: In function `abbrev_check_chars':
/home/michael/emacs/src/abbrev.c:201: undefined reference to `SYNTAX_ENTRY_FOLLOW_PARENT'
collect2: ld 返回 1
make[2]: *** [temacs] 错误 1
make[2]: Leaving directory `/home/michael/emacs/src'
make[1]: *** [bootstrap-build] 错误 2
make[1]: Leaving directory `/home/michael/emacs'
make: *** [bootstrap] 错误 2
请高手指点,还需要安装什么链接库
编译之前的环境准备均按帖子的步骤做的:
sudo apt-gt install build-essential
sudo apt-get build-dep emacs21
sudo apt-get install xserver-xorg-dev
sudo apt-get install xorg-dev
sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev
sudo apt-get install libgtk2.0-dev
系统环境信息:
Linux michael-desktop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 GNU/Linux
gcc 版本 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
GNU Make 3.81
详细错误信息:
gcc -nostdlib `./prefix-args -Xlinker -z nocombreloc` -Wl,-znocombreloc -o temacs pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o xfaces.o xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o gtkutil.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o unexelf.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o composite.o md5.o terminfo.o lastfile.o vm-limit.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpthread -lSM -lICE -ltiff -ljpeg -lpng -lz -lm -lgif -lXpm -lX11 -lncurses -lm -lgcc -lc -lgcc /usr/lib/crtn.o
abbrev.o: In function `abbrev_check_chars':
/home/michael/emacs/src/abbrev.c:201: undefined reference to `SYNTAX_ENTRY_FOLLOW_PARENT'
collect2: ld 返回 1
make[2]: *** [temacs] 错误 1
make[2]: Leaving directory `/home/michael/emacs/src'
make[1]: *** [bootstrap-build] 错误 2
make[1]: Leaving directory `/home/michael/emacs'
make: *** [bootstrap] 错误 2
-
- 帖子: 21
- 注册时间: 2007-03-08 9:36
- 联系:
Configure的时候出问题啦.
Hey...
I configure的时候出现如下的错误 (我是直接从cvs拉下的代码)
checking for X... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking for X... true
configure: error: You seem to be running X, but no X development libraries
were found. You should install the relevant development files for X
and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support, pass
--without-x
to configure.
而是我:
sudo apt-get install libgtk2.0-dev
但是:
您希望继续执行吗?[Y/n]y
错误 http://security.ubuntu.com feisty-security/main libfreetype6-dev 2.2.1-5ubuntu1.1
无法连接上 security.ubuntu.com:80 (82.211.81.138),连接超时
0% [正在连接 security.ubuntu.com (82.211.81.138)]
好像是连不上security.ubuntu.com...
这是怎么回事?
谢谢.
I configure的时候出现如下的错误 (我是直接从cvs拉下的代码)
checking for X... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking for X... true
configure: error: You seem to be running X, but no X development libraries
were found. You should install the relevant development files for X
and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make
sure you have development files for image handling, i.e.
tiff, gif, jpeg, png and xpm.
If you are sure you want Emacs compiled without X window support, pass
--without-x
to configure.
而是我:
sudo apt-get install libgtk2.0-dev
但是:
您希望继续执行吗?[Y/n]y
错误 http://security.ubuntu.com feisty-security/main libfreetype6-dev 2.2.1-5ubuntu1.1
无法连接上 security.ubuntu.com:80 (82.211.81.138),连接超时
0% [正在连接 security.ubuntu.com (82.211.81.138)]
好像是连不上security.ubuntu.com...
这是怎么回事?
谢谢.
-
- 帖子: 21
- 注册时间: 2007-03-08 9:36
- 联系:
换了个resource搞定了.
如题.