emacs and /etc/alternatives

Axel Thimm Axel.Thimm at ATrpms.net
Thu Mar 8 19:24:56 UTC 2007


On Thu, Mar 08, 2007 at 12:27:44PM -0500, John Dennis wrote:
> On Thu, 2007-03-08 at 12:02 -0500, Chip Coldwell wrote:
> > Currently, there are two versions of GNU emacs that can be installed:
> > emacs and emacs-nox.  The latter runs in a terminal emulator, the
> > former uses X windows.  I'm cleaning up the emacs spec file to meet
> > the Fedora review requirements, and I think the right thing to do
> > would be to have
> > 
> > /usr/bin/emacs-22.0.95
> > /usr/bin/emacs-22.0.95-nox
> > /usr/bin/emacs -> /etc/alternatives/emacs
> > /etc/alternatives/emacs -> /usr/bin/emacs-22.0.95[-nox]
> > 
> > In other words, let the /etc/alternatives symlink select which of the
> > two versions runs by default.
> > 
> > Is this the right thing to do?
> > If so, should the emacs-nox package have a "Conflicts: emacs" and
> > vice-versa?
> 
> My first question is why we have both an X capable and non-X capable
> version.

Good question, I guess emacs-nox has the benefit of not pulling in
half of the X11 libs and is therefore well suited for an X-less
minimal system.
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20070308/6be67a89/attachment.sig>


More information about the Fedora-maintainers mailing list