Emacs23 配置指南

Vim、Emacs配置和使用
回复
蛋壳羊
帖子: 113
注册时间: 2006-11-04 19:56

#91

帖子 蛋壳羊 » 2007-04-15 13:16

这么牛的软件还得好好研究下
distar
帖子: 140
注册时间: 2006-08-06 16:33
来自: czz028@163.com
联系:

#92

帖子 distar » 2007-04-20 11:03

楼主 请教个问题,之前我Emacs 23用的好好的,
但不知怎么回事,今天 一用 emacs 就有个提示
:/mnt/E/work$ emacs-23.0.0
Warning: Missing charsets in String to FontSet conversion

不过 除了上面那句话 其他的似乎都很正常!
distar
帖子: 140
注册时间: 2006-08-06 16:33
来自: czz028@163.com
联系:

#93

帖子 distar » 2007-04-20 11:16

呵呵 sorry 其实我自己以前已经解决了这个问题
头像
Chine
帖子: 204
注册时间: 2006-12-22 21:50
联系:

#94

帖子 Chine » 2007-05-25 19:19

如何增加字典?
头像
依寻依然
帖子: 1617
注册时间: 2006-10-31 14:49

#95

帖子 依寻依然 » 2007-05-31 23:47

ftp里面的deb包下载不了了
Borders are meant to be crossed
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#96

帖子 zhan » 2007-06-01 0:33

找我另一个提供了 xft 功能的那个包吧。

在这里 viewtopic.php?t=40210
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
signer
帖子: 12
注册时间: 2007-05-06 10:53

#97

帖子 signer » 2007-06-01 4:01

请问:
我想设置字体为Sitaram Solaris,然后在.emacs中加上

代码: 全选

(color-theme-Sitaram-Solaris);;选择 Sitaram Solaris的配色方案 
然后启动emacs后显示错误信息:
An error has occurred while loading `/home/signer/.emacs':
Symbol's function definition is void: color-theme-Sitaram-Solaris
这是什么原因呢?
signer
帖子: 12
注册时间: 2007-05-06 10:53

#98

帖子 signer » 2007-06-04 12:39

搞定了,原来置顶的配置方法中少了一行
(require 'color-theme);
加上去就可以了
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#99

帖子 zhan » 2007-06-04 13:10

谢谢指出问题,这个可能是因为当时我使用的 (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 词典查询等等。

过几天空闲多了我再把这个帖子整理一下。
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
shuhill
帖子: 62
注册时间: 2007-04-20 13:05

#100

帖子 shuhill » 2007-06-05 14:16

3bio 写了:我还不能呢!搞多几下再编译发现,我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


楼上的你写一下编译经验吧,呵呵
sudo apt-get install txtinfo
langzi1906s
帖子: 1
注册时间: 2007-06-26 21:53

emacs23显示中文字体的 问题

#101

帖子 langzi1906s » 2007-07-03 21:49

我 的emacs23是按照楼主的方法安装的 ,其它功能正常,只是显示中文字体时会出现下面的问题,还望高手指点一下
附件
两个window,一个正常显示,一个不能正常显示!
两个window,一个正常显示,一个不能正常显示!
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

Re: emacs23显示中文字体的 问题

#102

帖子 zhan » 2007-07-05 15:54

langzi1906s 写了:我 的emacs23是按照楼主的方法安装的 ,其它功能正常,只是显示中文字体时会出现下面的问题,还望高手指点一下
.emacs 有没有 编码相关 的设置,有的话去掉。

emacs23 对于编码不需要任何的设置.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
michael0417
帖子: 1
注册时间: 2007-07-16 9:32

[问题]

#103

帖子 michael0417 » 2007-07-20 13:12

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
xmp123
帖子: 21
注册时间: 2007-03-08 9:36
联系:

Configure的时候出问题啦.

#104

帖子 xmp123 » 2007-08-13 15:43

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...
这是怎么回事?

谢谢.
xmp123
帖子: 21
注册时间: 2007-03-08 9:36
联系:

换了个resource搞定了.

#105

帖子 xmp123 » 2007-08-13 17:25

如题.
回复