Package: zile
Version: 2.2.18-1
Severity: wishlist
Tags: patch

Please could you provide /usr/bin/emacs via /etc/alternatives ?  I think the
attached patch should do it (untested).

This is (sort of, if we ignore history) analogous to nvi providing vi.  Perhaps
that way an emacs-like editor could be added to the base system (we already have
nano/pico and vi).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)

Versions of packages zile depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libncurses5                  5.5-2       Shared libraries for terminal hand

zile recommends no packages.

-- no debconf information
--- zile-2.2.18/debian/postinst~        2006-09-12 18:55:45.000000000 +0200
+++ zile-2.2.18/debian/postinst 2006-09-12 18:58:05.000000000 +0200
@@ -5,4 +5,7 @@
 update-alternatives --install /usr/bin/editor editor /usr/bin/zile 30 \
      --slave /usr/share/man/man1/editor.1.gz editor.1.gz 
/usr/share/man/man1/zile.1.gz
 
+update-alternatives --install /usr/bin/emacs emacs /usr/bin/zile 0 \
+     --slave /usr/share/man/man1/emacs.1.gz emacs.1.gz 
/usr/share/man/man1/zile.1.gz
+
 #DEBHELPER#

Reply via email to