Emacs23 配置指南
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
不过似乎最新的代码已经没有问题了。刚才无聊编译了一把。
附截图,字体非常漂亮.
启动参数
代码: 全选
$ ./configure --prefix=/usr --enable-font-backend --with-xft --with-freetype --with-gtk
$ make bootstrap
启动参数
代码: 全选
emacs --enable-font-backend -fn "Bitstream Vera Sans Mono-12"
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
好是好了,可是中文不怎么样。
感觉,郁闷,在 edgy 环境下面做了一个 deb 包,现在是教育网,连 ftp 上传超慢 。看看有没有兄弟有兴趣。
感觉,郁闷,在 edgy 环境下面做了一个 deb 包,现在是教育网,连 ftp 上传超慢 。看看有没有兄弟有兴趣。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
哭了,最初没有加上 xpm 的库,编译成功了,后来build-dep了一下,编译报错....原来的包还被删除了
代码: 全选
i486-linux-gnu-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 font.o xfont.o ftfont.o xftfont.o ftxfont.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 -lungif -lXpm -lXft -lfontconfig -lncurses -lm -lgcc -lc -lgcc /usr/lib/crtn.o
`/bin/pwd`/temacs --batch --load loadup bootstrap
Aborted
make[3]: *** [bootstrap-emacs] Error 134
make[3]: Leaving directory `/home/zhan/emacs-23.0.0.1/src'
make[2]: *** [bootstrap-build] Error 2
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
-
- 帖子: 73
- 注册时间: 2006-04-21 20:33
- 来自: 湖南
- 联系:
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
-
- 帖子: 65
- 注册时间: 2006-06-07 13:25
关于楼主的问题:
;(setq pop3-leave-mail-on-server t);;这一句是说不要把服务器上的信件删除,但是这样每次把没有删除的信件又取回来一次,很烦,所以我去掉了,那位高手知道如何不删除信件又不重复取信的方法,麻烦告诉我一声,谢谢
看这个:
Because of the copyright situation we can't use this code in Gnus. We
are aware that the `pop3-leave-mail-on-server' feature in Gnus version
is insufficient [1], but there's not much we can do about it unless
someone who is willing to assign papers reimplements UILD support for
`pop3.el', see also [2].
[1] http://thread.gmane.org/b9yy8hzy9ej.fsf%40jpl.org
http://www.google.com/groups?as_umsgid= ... %40jpl.org
[2] http://thread.gmane.org/gmane.emacs.xemacs.beta/16846
--
;(setq pop3-leave-mail-on-server t);;这一句是说不要把服务器上的信件删除,但是这样每次把没有删除的信件又取回来一次,很烦,所以我去掉了,那位高手知道如何不删除信件又不重复取信的方法,麻烦告诉我一声,谢谢
看这个:
Because of the copyright situation we can't use this code in Gnus. We
are aware that the `pop3-leave-mail-on-server' feature in Gnus version
is insufficient [1], but there's not much we can do about it unless
someone who is willing to assign papers reimplements UILD support for
`pop3.el', see also [2].
[1] http://thread.gmane.org/b9yy8hzy9ej.fsf%40jpl.org
http://www.google.com/groups?as_umsgid= ... %40jpl.org
[2] http://thread.gmane.org/gmane.emacs.xemacs.beta/16846
--
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
-
- 帖子: 65
- 注册时间: 2006-06-07 13:25
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
中文字体搞定了.比较惊险.
关键点在于删除一些字体.我把步骤列出来.可能有一定的风险,自己小心.
首先用下面的脚本把字体链接去掉.
然后我把 xorg里面的fontpath全部注释掉了,这步不知道是否有用.
然后在emacs选中一个字,用 M-x describe-char ,取得字体信息,比如 mincho什么的.然后 apt-cache search 这个字体,把这个字体卸载了,然后再打开emacs看看字体怎么样,如果不满意,就继续进行.
我现在是 ar pl shanheisun un ,在我的LCD上看起来还行.就没有继续尝试了.
这个方法得到了FlawZero@newsmth的帮助,在此感谢.
关键点在于删除一些字体.我把步骤列出来.可能有一定的风险,自己小心.
首先用下面的脚本把字体链接去掉.
然后我把 xorg里面的fontpath全部注释掉了,这步不知道是否有用.
然后在emacs选中一个字,用 M-x describe-char ,取得字体信息,比如 mincho什么的.然后 apt-cache search 这个字体,把这个字体卸载了,然后再打开emacs看看字体怎么样,如果不满意,就继续进行.
我现在是 ar pl shanheisun un ,在我的LCD上看起来还行.就没有继续尝试了.
代码: 全选
!/usr/bin/env python
import os
FONTPATH = '/usr/share/X11/fonts/misc' #'/usr/share/fonts/X11/misc'
def process(line):
tokens = line.split(' -')
if len(tokens) > 1:
parts = tokens[1].split('-')
if len(parts) > 1 and not parts[-2].startswith('iso'):
return os.path.join(FONTPATH, tokens[0])
fontlist = [process(line) for line in open(os.path.join(FONTPATH, 'fonts.dir'))]
fontlist = filter(None, fontlist)
for font in fontlist:
os.unlink(font)
os.system('mkfontdir %s' % FONTPATH)
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
-
- 帖子: 39
- 注册时间: 2006-09-16 12:27
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
到 wiki 的快速设置指南中更改源列表 (sources.list),然后按照一楼的步骤是能成功的.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn