+ -
当前位置:首页 → 问答吧 → emacs问题no window [已经解决]

emacs问题no window [已经解决]

时间:2007-08-17

来源:互联网

又来灌水了。

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

作者: sinnud   发布时间: 2007-08-17

eix -e emacs
建议用更漂亮的emacs-cvs
http://groups.google.com/group/gento...poguidexml#id7

作者: zhllg   发布时间: 2007-08-17

有关emacs的一些设置,可以到emacs中文网站去看。

作者: zhou3345   发布时间: 2007-08-17

是你emacs的use flag有问题吧,加上X和gtk

作者: helium_sun   发布时间: 2007-08-17

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.

版主还是言简意赅,但是菜鸟还是不是太明白。

作者: sinnud   发布时间: 2007-08-18

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?

作者: sinnud   发布时间: 2007-08-18

是emacs-cvs
用-e参数一定要eix -e emacs-cvs
什么叫X windows of emacs

作者: zhllg   发布时间: 2007-08-18

引用:
作者: sinnud
Question: is "eix -e emacs" useful for X windows of emacs?
eix只是一个gentoo系统软件查询工具
-e参数的意思是严格匹配。

作者: zhou3345   发布时间: 2007-08-18

热门下载

更多