[Pkg-mc-devel] Bug#549202: mc does not use sensible-editor if $EDITOR is not defined

Wookey wookey at debian.org
Thu Oct 1 12:35:38 UTC 2009


Package: mc
Version: 2:4.7.0-pre1-3
Severity: normal

if:
update-alternatives is set to use a particular editor (jed)
mc is set to use external editor
$EDITOR is not set to anything
then
editing a file in mc runs vi

if $EDITOR is now set, then
editing a file in mc runs the editor specified in $EDITOR

On a debian system mc should fall back to use 'sensible-editor' or
'editor', when $EDITOR is not set, thus respecting the alternatives mechansim.

It should only fall back to 'vi' as last resort if 'sensible-editor'
fails.

Thanx for your work on mc - it really is appreciated.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mc depends on:
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  libglib2.0-0                  2.20.5-1   The GLib library of C routines
ii  libgpm2                       1.20.4-3.2 General Purpose Mouse - shared lib
ii  libslang2                     2.1.4-3    The S-Lang programming library - r

Versions of packages mc recommends:
ii  imagemagick                  7:6.5.5.3-1 image manipulation programs

Versions of packages mc suggests:
pn  arj                      <none>          (no description available)
ii  bzip2                    1.0.5-3         high-quality block-sorting file co
pn  dbview                   <none>          (no description available)
ii  file                     5.03-1          Determines file type using "magic"
ii  links                    2.2-1+b1        Web browser running in text mode
ii  lynx                     2.8.8dev.1-1    Text-mode WWW Browser (transitiona
ii  mime-support             3.46-1          MIME files 'mime.types' & 'mailcap
ii  odt2txt                  0.4-1           simple converter from OpenDocument
ii  perl                     5.10.0-25       Larry Wall's Practical Extraction 
ii  unzip                    6.0-1           De-archiver for .zip files
ii  w3m                      0.5.2-2.1       WWW browsable pager with excellent
ii  xpdf                     3.02-1.4+lenny1 Portable Document Format (PDF) sui
ii  zip                      3.0-1           Archiver for .zip files

-- no debconf information





More information about the Pkg-mc-devel mailing list