On Sat, 02 Mar 2013, David Walser wrote:

> nicolas vigier wrote:
> > Please push desktop-common-data.
> > 
> > In this new version /usr/bin/editor has been changed to try to use
> > $VISUAL and $EDITOR instead of only $TEXTEDITOR :
> > http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?view=log
> 
> This was a bad change.  It was working fine :o(
> 
> http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?r1=7450&r2=7451

It was not working. You can try with a script like this to check that it
doesn't work :
  #!/bin/sh
  TEXTEDITOR="xvt -e vim"
  $TEXTEDITOR $@

It opens a new terminal with vim inside, but does not open the file.

Also opening a new terminal when you are already in a terminal is not
very nice.

Reply via email to