LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 897|回复: 7

emacs问题no window [已经解决]

[复制链接]
发表于 2007-8-17 13:55:24 | 显示全部楼层 |阅读模式
又来灌水了。

emerge emacs

后不能在X中出现窗口,只在terminal中运行。

emacs --version
GNU Emacs 21.4.2
Copyright (C) 2002 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

man emacs
You can set X default values for your Emacs windows in your .Xresources
       file (see xrdb(1)).  Use the following format:

我没有.Xresources文件啊。

[method]
emerge unmerge emacs

echo app-editors/emacs-cvs >> /etc/portage/package.unmask
echo "app-editors/emacs-cvs **" >> /etc/portage/package.keywords
echo "app-editors/emacs-cvs X gtk xft toolkit-scroll-bars" >> /etc/portage/package.use
echo "sys-devel/gettext emacs" >> /etc/portage/package.use
emerge emacs-cvs gettext dejavu
发表于 2007-8-17 13:58:36 | 显示全部楼层
eix -e emacs
建议用更漂亮的emacs-cvs
http://groups.google.com/group/gentoo-china/web/poguidexml#id7
回复 支持 反对

使用道具 举报

发表于 2007-8-17 15:25:45 | 显示全部楼层
有关emacs的一些设置,可以到[color="Red"]emacs中文网站去看。
回复 支持 反对

使用道具 举报

发表于 2007-8-17 17:51:38 | 显示全部楼层
是你emacs的use flag有问题吧,加上X和gtk
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-18 11:29:51 | 显示全部楼层
emerge unmerge emacs

echo app-editors/emacs-cvs >> /etc/portage/package.unmask
echo "app-editors/emacs-cvs **" >> /etc/portage/package.keywords
echo "app-editors/emacs-cvs gtk xft toolkit-scroll-bars" >> /etc/portage/package.use
echo "sys-devel/gettext emacs" >> /etc/portage/package.use
emerge emacs-cvs gettext dejavu

still no windows.

eix -e emacs
-su: eix: command not found

emerge eix
eix -e emacs
Can't open the database file /var/cache/eix for reading (mode = 'rb')
Did you forget to create it with 'update-eix'?
update-eix
Reading Portage settings ..
Building database (/var/cache/eix) ..
[0] /usr/portage/ (cache: metadata)
     Reading 100%
Applying masks ..
Database contains 11796 packages in 149 categories.
eix -e emacs
* app-editors/emacs
     Available versions:
        (18)    18.59-r4
        (21)    21.4-r4 ~21.4-r8 21.4-r12
        (22)    ~22.1
        {X Xaw3d alsa gif gtk gzip-el hesiod jpeg leim lesstif motif nls nosend$
     Homepage:            http://www.gnu.org/software/emacs/
     Description:         The extensible, customizable, self-documenting real-t$

* virtual/emacs
     Available versions:  21 ~22 [M]~23
     Homepage:            http://www.gentoo.org/proj/en/lisp/emacs/
     Description:         Virtual for GNU Emacs

Found 2 matches.

still no windows.

版主还是言简意赅,但是菜鸟还是不是太明白。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-18 11:46:30 | 显示全部楼层
nano -w /etc/portage/package.use
app-editors/emacs-cvs X gtk xft toolkit-scroll-bars
emerge emacs-cvs

Now it is ok.

Question: is "eix -e emacs" useful for X windows of emacs?
回复 支持 反对

使用道具 举报

发表于 2007-8-18 12:02:08 | 显示全部楼层
是emacs-cvs
用-e参数一定要eix -e emacs-cvs
什么叫X windows of emacs
回复 支持 反对

使用道具 举报

发表于 2007-8-18 15:31:37 | 显示全部楼层
Post by sinnud
Question: is "eix -e emacs" useful for X windows of emacs?
eix只是一个gentoo系统软件查询工具
-e参数的意思是严格匹配。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表