emacs and /etc/alternatives

Ian Burrell ianburrell at gmail.com
Thu Mar 8 18:33:17 UTC 2007


On 3/8/07, Andrew Haley <aph at redhat.com> wrote:
> Jesse Keating writes:
>  >
>  > Or simply name the binary of one emacs-nox and the other emacs.  If nothing
>  > else conflicts that is.
>
> Mmm, but that surely means that if you type "emacs foo.c" it'll just
> say "command not found".
>

Which is why /usr/bin/emacs is currently a shell script that chooses
between emacs-x and emacs-nox.

The alternatives system is the standard way of choosing between two
different versions of a command and might work beter for this.

 - Ian




More information about the Fedora-maintainers mailing list