Bug#728480: ipe: calls gedit (hard-coded choice of text editor?)

Francesco Poli invernomuto at paranoici.org
Wed Nov 6 20:59:53 UTC 2013


On Tue, 05 Nov 2013 21:48:19 -0600 Steve M. Robbins wrote:

> On November 6, 2013 12:07:07 AM Francesco Poli wrote:
[...]
> > On Mon, 04 Nov 2013 23:01:36 -0600 Steve M. Robbins wrote:
[...]
> > > No, it uses the setting of $EDITOR.
> > > See http://ipe7.sourceforge.net/manual/manual_50.html
> > 
[...]
> > The problem is: I don't have any value set for the EDITOR environment
> > variable!
> 
> OK, fair enough.  Still: you have an easy workaround for this bug.

Yes, but I am not sure how the workaround should be set up.

The EDITOR environment variable is supposed to be used by any
interested program, isn't it?

Hence, if I

$ export EDITOR='vim'

then graphical applications like Ipe won't automatically spawn a
terminal emulator to run VIM within.
I tried with Ipe and the result was funny: the XTerm I had used to
start Ipe was reused to host VIM. This may work in some cases, but not
if I start ipe in background

$ ipe &

and then go on using the terminal emulator for other tasks...

The alternative may be to

$ export EDITOR='uxterm -e vim'

but this won't work when honored by textual applications outside X11
(for instance, if I am using a textual program from the console,
without starting an X session).

Maybe I should just set the variable on the fly when starting Ipe:

$ EDITOR='uxterm -e vim' ipe

but this is boring to type again and again...
Of course I can define

$ alias ipe="EDITOR='uxterm -e vim' ipe"

but this does not seem to be too clean...   :-(


Any suggestions?
Thanks a lot for your kind assistance!


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20131106/90c22989/attachment.sig>


More information about the debian-science-maintainers mailing list