Package: reportbug
Version: 3.12
Severity: normal

I assume that when lacking both $EDITOR and $VISUAL, reportbug will
use the system set /usr/bin/editor. However this setting is not
respected. If I interpret the editor that reportbug launched
correctly, it selected the highest priority editor.

But this is wrong. The system wide setting that admin has set should
be used.

FURTHER INFORMATION

  $ echo ${EDITOR:-none} - ${VISUAL:-none}
  none - none

  $ update-alternatives --config editor

  Selection    Alternative
  -----------------------------------------------
        1        /usr/bin/nvi
        2        /bin/nano
   +    3        /usr/bin/joe
  *     4        /usr/bin/jmacs
        5        /usr/bin/jstar
        6        /usr/bin/jpico
        7        /usr/bin/rjoe

  $ update-alternatives --display editor
  editor - status is manual.
   link currently points to /usr/bin/jmacs
  /usr/bin/nvi - priority 19
   slave editor.1.gz: /usr/share/man/man1/nvi.1.gz
  /bin/nano - priority 40
   slave editor.1.gz: /usr/share/man/man1/nano.1.gz
  /usr/bin/joe - priority 70
   slave editor.1.gz: /usr/share/man/man1/joe.1.gz
  /usr/bin/jmacs - priority 50
   slave editor.1.gz: /usr/share/man/man1/jmacs.1.gz
  /usr/bin/jstar - priority 50
   slave editor.1.gz: /usr/share/man/man1/jstar.1.gz
  /usr/bin/jpico - priority 50
   slave editor.1.gz: /usr/share/man/man1/jpico.1.gz
  /usr/bin/rjoe - priority 25
   slave editor.1.gz: /usr/share/man/man1/rjoe.1.gz
  Current `best' version is /usr/bin/joe.

-- Package-specific info:
** Environment settings:
VISUAL="env TERM=vt100 emacs -q -nw -no-site-file "
EMAIL="[EMAIL PROTECTED]"
DEBFULLNAME="Jari Aalto"
NAME="Jari Aalto"

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)

Versions of packages reportbug depends on:
ii  python2.3                     2.3.5-3    An interactive high-level object-o

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to