当前位置: 首页>>技术教程>>正文


emacs和emacs-lucid软件包之间的区别

,

问题描述

安装Ubuntu(13.10)之后,我在软件中心找到了两个版本的Emacs 24:

  1. GNU Emacs 24(emacs24)

  2. GNU Emacs 24(emacs24-透明)

我不了解它们之间的区别以及安装哪个版本更好。我将emacs与scheme,clips和其他功能语言一起使用。我更喜欢哪个版本?

最佳方案

  • 不带后缀的emacs是Emacs的GTK +版本

  • -nox后缀的emacs-nox是不支持X服务器的emacs版本。

  • 后缀为-lucidemacs-lucid包括具有清晰用户界面的Emacs。

现在的问题是“什么是清醒接口?”当然,在这种情况下,包装说明没有帮助。幸运的是,我发现了一个bug report试图解决该问题:

But what is a Lucid user interface? Presumably it means “the user interface offered by emacs23-lucid”, which is still unhelpful.

The changelog.Debian.gz tells me it is “an emacsVER-lucid package for those who still want the non-GTK+ version” — that is, the UI

(1) looks like old emacs
(2) does not use GTK+

— which seem like useful data for a person deciding whether to install it.

The reader is also curious about the relationship, if any, to Lucid, Inc.

进一步阅读:

Lucid, Inc’s “Lucid Emacs” was the fork that became XEmacs. So it would seem that emacs23-lucid is the version of GNU Emacs designed to look like nineties versions of XEmacs? See

http://www.gnu.org/s/libtool/manual/emacs/Lucid-Resources.html#Lucid-Resources

Installing them and comparing (on Squeeze) I see that emacs23’s splash screen says “This is GNU EMacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)” while emacs23-lucid’s has “(x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)”. It’s older and greyer-looking than the GTK+ version, but nowhere near as grey as xemacs21…

然后我们希望将其作为下一个描述(看起来更清晰):

Maybe the description could be something like:

Description: The GNU Emacs editor (non-GTK+ GUI) GNU Emacs is the extensible self-documenting text editor. This package contains a version of Emacs with a graphical user interface based on the old XEmacs-style Lucid widget set.

您可以了解有关此”Lucid” here的更多信息。

次佳方案

如果您使用GTK Emacs,则会受到以下错误的困扰:https://bugzilla.gnome.org/show_bug.cgi?id=85715。基本上,如果您的X服务器崩溃了,那么Emacs也会崩溃,即使它是作为守护程序启动的也是如此。它几乎肯定不会被修复。这就是为什么我使用Lucid GUI。

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/9061.html,未经允许,请勿转载。