[PATCH] Very trival patch to make use of alternatives system

Olaf Conradi oohlaf at gmail.com
Wed May 3 22:10:37 BST 2006


On 03/05/06, Olaf Conradi <oohlaf at gmail.com> wrote:
> On 03/05/06, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:
> > Olaf Conradi wrote:
> > > Hi
> > >
> > > We should first try to invoke 'editor' to make use of the alternatives
> > > system present on Debian and derivatives (Ubuntu, etc).
> >
> > Shouldn't that be sensible-editor?
>
> Not according to debian-policy:
> http://www.debian.org/doc/debian-policy/ch-customized-programs.html

Hmm, I misread that, the last line says:

A program may also use the VISUAL environment variable to determine
the user's choice of editor. If it exists, it should take precedence
over EDITOR. This is in fact what /usr/bin/sensible-editor does.

 -Olaf




More information about the bazaar mailing list