LinuxSir.cn,穿越时空的Linuxsir!

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

为什么vim要依赖Emacs?

[复制链接]
发表于 2005-12-4 11:56:11 | 显示全部楼层 |阅读模式
我刚刚emerge了个vim,可是发现Emacs也被安装上了。我记得vim可以独立的安装,为什么会依赖Emacs呢?
发表于 2005-12-4 12:06:29 | 显示全部楼层
不依赖吧,emerge -pv vim 也没看出来
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-4 12:53:06 | 显示全部楼层

这是我的Gentoo的vim的依赖关系,有下划线的就是Emacs

[ebuild  N    ] sys-apps/shadow-4.0.7-r4
[ebuild  N    ] sys-apps/pam-login-3.17
[ebuild  N    ] sys-libs/com_err-1.38
[ebuild  N    ] sys-libs/ss-1.38
[ebuild  N    ] sys-fs/e2fsprogs-1.38
[ebuild  N    ] app-crypt/hashalot-0.3-r1
[ebuild  N    ] sys-apps/util-linux-2.12r
[ebuild  N    ] media-libs/libpng-1.2.8
[ebuild  N    ] app-arch/bzip2-1.0.3-r5
[ebuild  N    ] x11-base/opengl-update-2.2.1
[ebuild  N    ] media-libs/freetype-2.1.9-r1
[ebuild  N    ] sys-devel/libtool-1.5.20
[ebuild  N    ] x11-misc/ttmkfdir-3.0.9-r3
[ebuild  N    ] media-libs/fontconfig-2.2.3
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r6
[ebuild  N    ] x11-libs/Xaw3d-1.5-r1
[ebuild  N    ] sys-apps/file-4.13
[ebuild  N    ] sys-apps/which-2.16
[ebuild  N    ] app-arch/cpio-2.6-r4
[ebuild  N    ] app-arch/rpm2targz-9.0-r3
[ebuild  N    ] sys-apps/utempter-0.5.5.6
[ebuild  N    ] x11-terms/xterm-204
[ebuild  N    ] media-libs/jpeg-6b-r5
[ebuild  N    ] media-libs/tiff-3.7.3
[ebuild  N    ] dev-libs/glib-2.6.5
[ebuild  N    ] dev-libs/atk-1.10.1
[ebuild  N    ] x11-libs/pango-1.8.1-r1
[ebuild  N    ] dev-perl/XML-Parser-2.34
[ebuild  N    ] dev-util/intltool-0.34.1
[ebuild  N    ] dev-libs/libxml2-2.6.22
[ebuild  N    ] x11-misc/shared-mime-info-0.16
[ebuild  N    ] x11-libs/gtk+-2.6.10-r1
[ebuild  N    ] gnome-base/libglade-2.5.1
[ebuild  N    ] media-libs/libart_lgpl-2.3.17
[ebuild  N    ] gnome-base/libgnomecanvas-2.10.2
[ebuild  N    ] dev-libs/popt-1.7-r1
[ebuild  N    ] dev-libs/libIDL-0.8.6
[ebuild  N    ] gnome-base/orbit-2.12.3
[ebuild  N    ] gnome-base/gconf-2.10.1-r1
[ebuild  N    ] gnome-base/libbonobo-2.10.1
[ebuild  N    ] media-libs/audiofile-0.2.6-r1
[ebuild  N    ] gnome-base/gnome-mime-data-2.4.2
[ebuild  N    ] sys-apps/attr-2.4.19-r1
[ebuild  N    ] sys-apps/acl-2.2.27
[ebuild  N    ] sys-apps/tcp-wrappers-7.6-r8
[ebuild  N    ] net-nds/openldap-2.2.28
[ebuild  N    ] net-print/cups-1.1.23-r1
[ebuild  N    ] net-fs/samba-3.0.14a-r2
[ebuild  N    ] net-nds/portmap-5b-r9
[ebuild  N    ] app-admin/fam-2.7.0-r2
[ebuild  N    ] gnome-base/gnome-vfs-2.10.1-r2
[ebuild  N    ] sys-devel/make-3.80-r2
[ebuild  N    ] sys-apps/sysvinit-2.86
[ebuild  N    ] sys-apps/coreutils-5.2.1-r6
[ebuild  N    ] sys-apps/baselayout-1.11.13-r1
[ebuild  N    ] sys-apps/hotplug-base-20040401
[ebuild  N    ] sys-fs/udev-070-r1
[ebuild  N    ] sys-kernel/gentoo-sources-2.6.14-r2
[ebuild  N    ] media-sound/alsa-headers-1.0.10_rc3
[ebuild  N    ] media-libs/alsa-lib-1.0.10_rc3
[ebuild  N    ] media-sound/esound-0.2.36-r1
[ebuild  N    ] gnome-base/libgnome-2.10.1-r1
[ebuild  N    ] gnome-base/libbonoboui-2.10.1
[ebuild  N    ] gnome-base/gnome-keyring-0.4.4
[ebuild  N    ] gnome-base/libgnomeui-2.10.1
[ebuild  N    ] x11-themes/hicolor-icon-theme-0.8
[ebuild  N    ] x11-themes/gnome-icon-theme-2.10.1
[ebuild  N    ] x11-themes/gtk-engines-2.6.5
[ebuild  N    ] x11-themes/gnome-themes-2.10.2
[ebuild  N    ] x11-libs/startup-notification-0.8
[ebuild  N    ] app-text/sgml-common-0.6.3-r4
[ebuild  N    ] app-text/opensp-1.5.1
[ebuild  N    ] app-text/openjade-1.3.2-r1
[ebuild  N    ] app-arch/unzip-5.52
[ebuild  N    ] app-text/docbook-sgml-dtd-4.1-r3
[ebuild  N    ] app-text/docbook-sgml-dtd-4.0-r3
[ebuild  N    ] dev-perl/SGMLSpm-1.03-r5
[ebuild  N    ] dev-util/dialog-1.0.20050206
[ebuild  N    ] sys-apps/ed-0.2-r6
[ebuild  N    ] net-libs/libwww-5.4.0-r4
[ebuild  N    ] app-text/tetex-2.0.2-r5
[ebuild  N    ] app-text/jadetex-3.13-r1
[ebuild  N    ] app-text/docbook-dsssl-stylesheets-1.79
[ebuild  N    ] app-text/docbook-sgml-dtd-3.0-r3
[ebuild  N    ] app-text/docbook-sgml-dtd-3.1-r3
[ebuild  N    ] app-text/docbook-xml-simple-dtd-4.1.2.4-r2
[ebuild  N    ] app-text/docbook-xml-simple-dtd-1.0-r1
[ebuild  N    ] sys-apps/module-init-tools-3.0-r2
[ebuild  N    ] media-libs/svgalib-1.9.21-r1
[ebuild  N    ] www-client/links-2.1_pre18
[ebuild  N    ] app-text/build-docbook-catalog-1.2
[ebuild  N    ] app-text/docbook-xsl-stylesheets-1.68.1-r1
[ebuild  N    ] app-text/docbook-xml-dtd-4.4
[ebuild  N    ] app-text/docbook-sgml-utils-0.6.14
[ebuild  N    ] app-text/docbook-xml-dtd-4.1.2-r5
[ebuild  N    ] dev-libs/libgpg-error-1.0-r1
[ebuild  N    ] dev-libs/libgcrypt-1.2.1
[ebuild  N    ] dev-libs/libxslt-1.1.15
[ebuild  N    ] app-text/scrollkeeper-0.3.14-r1
[ebuild  N    ] gnome-base/gnome-desktop-2.10.2
[ebuild  N    ] media-libs/giflib-4.1.4
[ebuild  N    ] x11-libs/openmotif-2.2.3-r3
[ebuild  N    ] app-editors/emacs-21.4-r1
[ebuild  N    ] sys-libs/gpm-1.20.1-r4
[ebuild  N    ] sys-libs/ncurses-5.4-r6
[ebuild  N    ] app-shells/bash-completion-config-0.8-r2
[ebuild  N    ] app-editors/vim-core-6.4
[ebuild  N    ] app-vim/gentoo-syntax-20050618
[ebuild  N    ] dev-util/cscope-15.5-r4
[ebuild  N    ] app-editors/gvim-6.4
我从来没有emerge emacs,我只emerge gvim,然后我的Gentoo上就同时安装了Emacs和Vim了。不知道是怎么会事。
回复 支持 反对

使用道具 举报

发表于 2005-12-4 13:01:44 | 显示全部楼层
是不是use flag里设了?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-4 13:18:38 | 显示全部楼层
#emerge -pv gvim
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-editors/gvim-6.4  +acl +bash-completion +cscope +gnome +gpm +gtk +motif +nls +perl +python -ruby 0 kB
这是我的gvim可能会用到的use参数,我的全局设置里面确实有emacs,但是gvim并没有用到emacs参数的。
回复 支持 反对

使用道具 举报

发表于 2005-12-4 13:25:53 | 显示全部楼层
不是你的vim依赖于emacs,可能是其他的软件包。我装vim就不需要emacs
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-4 14:00:25 | 显示全部楼层
运行命令equery g gvime
  1. * dependency graph for app-editors/gvim-6.4
  2. `-- app-editors/gvim-6.4
  3. `-- app-editors/vim-core-6.4
  4.   `-- app-shells/bash-completion-config-0.8-r2
  5.    `-- app-shells/bash-3.0-r12
  6. `-- x11-base/xorg-x11-6.8.2-r6 (virtual/x11)
  7.   `-- sys-libs/zlib-1.2.3
  8.   `-- sys-devel/flex-2.5.4a-r6
  9.   `-- dev-libs/expat-1.95.8
  10.   `-- media-libs/freetype-2.1.9-r1
  11.    `-- sys-libs/glibc-2.3.5-r2 (virtual/libc)
  12.     `-- sys-kernel/linux-headers-2.6.11-r2 (virtual/os-headers)
  13.     `-- sys-devel/gettext-0.14.4
  14.   `-- media-libs/fontconfig-2.2.3
  15.   `-- x11-base/opengl-update-2.2.1
  16.    `-- app-arch/bzip2-1.0.3-r5
  17.   `-- x11-misc/ttmkfdir-3.0.9-r3
  18.   `-- media-libs/libpng-1.2.8
  19.   `-- sys-libs/ncurses-5.4-r6
  20.    `-- sys-libs/gpm-1.20.1-r4
  21. `-- x11-libs/gtk+-2.8.7
  22. `-- gnome-base/libgnomeui-2.10.1
  23.   `-- x11-libs/pango-1.10.1
  24.   `-- dev-libs/popt-1.7-r1
  25.   `-- gnome-base/gconf-2.10.1-r1
  26.    `-- dev-libs/glib-2.8.4
  27.    `-- gnome-base/orbit-2.12.3
  28.     `-- dev-libs/libIDL-0.8.6
  29.     `-- dev-libs/openssl-0.9.7e-r1
  30.    `-- dev-libs/libxml2-2.6.22
  31.     `-- dev-lang/python-2.4.2
  32.      `-- sys-libs/readline-5.0-r2
  33.      `-- sys-libs/db-4.2.52_p2
  34.       `-- dev-java/blackdown-jre-1.4.2.02-r1 (virtual/jre) [ java ]
  35.        `-- dev-java/java-config-1.2.11-r1
  36.        `-- sys-apps/sed-4.1.4
  37.      `-- sys-libs/gdbm-1.8.3-r1
  38.   `-- gnome-base/libgnome-2.10.1-r1
  39.    `-- gnome-base/libbonobo-2.10.1
  40.    `-- gnome-base/gnome-vfs-2.10.1-r2
  41.     `-- app-admin/fam-2.7.0-r2 (virtual/fam)
  42.      `-- net-nds/portmap-5b-r9
  43.     `-- gnome-base/gnome-mime-data-2.4.2
  44.     `-- x11-misc/shared-mime-info-0.16
  45.     `-- net-libs/gnutls-1.2.3
  46.      `-- dev-libs/libgcrypt-1.2.1
  47.       `-- dev-libs/libgpg-error-1.0-r1
  48.      `-- app-crypt/opencdk-0.5.5
  49.      `-- dev-libs/lzo-1.08-r1
  50.      `-- dev-libs/libtasn1-0.2.13
  51.       `-- dev-lang/perl-5.8.6-r6
  52.        `-- sys-devel/libperl-5.8.6-r1
  53.       `-- sys-devel/bison-1.875d
  54.        `-- sys-devel/m4-1.4.3
  55.     `-- net-fs/samba-3.0.14a-r2
  56.      `-- sys-apps/acl-2.2.27
  57.       `-- sys-apps/attr-2.4.19-r1
  58.      `-- net-print/cups-1.1.23-r1
  59.       `-- sys-libs/pam-0.78-r2
  60.        `-- sys-libs/cracklib-2.8.3-r1
  61.        `-- sys-libs/pwdb-0.62
  62.       `-- media-libs/tiff-3.7.3
  63.        `-- media-libs/jpeg-6b-r5
  64.      `-- net-nds/openldap-2.1.30-r4
  65.       `-- sys-apps/tcp-wrappers-7.6-r8
  66.    `-- media-sound/esound-0.2.36-r1
  67.     `-- media-libs/audiofile-0.2.6-r1
  68.     `-- media-libs/alsa-lib-1.0.10_rc3
  69.      `-- sys-kernel/gentoo-sources-2.6.14-r2 (virtual/alsa)
  70.       `-- sys-devel/make-3.80-r2
  71.       `-- sys-fs/udev-070-r1 (virtual/dev-manager)
  72.        `-- sys-apps/hotplug-base-20040401
  73.        `-- sys-apps/baselayout-1.11.13-r1
  74.         `-- sys-apps/sysvinit-2.86
  75.         `-- sys-apps/coreutils-5.2.1-r6
  76.      `-- media-sound/alsa-headers-1.0.10_rc3
  77.   `-- gnome-base/libgnomecanvas-2.10.2
  78.    `-- gnome-base/libglade-2.5.1
  79.     `-- dev-libs/atk-1.10.1
  80.    `-- media-libs/libart_lgpl-2.3.17
  81.   `-- gnome-base/libbonoboui-2.10.1
  82.   `-- gnome-base/gnome-keyring-0.4.4
  83. `-- x11-libs/openmotif-2.2.3-r3
复制代码

这是我的gvim的依赖关系树,在其中并没有看到Emacs。
回复 支持 反对

使用道具 举报

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

本版积分规则

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