GNOME Bugzilla – Bug 592645
Don't exit second instance when set as $EDITOR
Last modified: 2009-08-22 19:36:02 UTC
Forwarded from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468578 Currently, the gedit binary's behaviour when called when an instance of gedit ist already open is the following: 1) Files named on the command line open as new tabs in the existing instance 2) The new instance exits This is problematic for most utilities using an external text editor, because they usually 1) call $EDITOR and 2) wait for that process to exit and 3) assume that you are now finished editing the file(s). Obviously, when EDITOR=gedit, there's a good chance that you haven't even started editing. Therefore, I suggest that gedit should have an additional mode specifically for use as $EDITOR, in which the new gedit process stays open (sleeping, if necessary) until all files mentioned on the command line have been closed in whatever gedit instance they are being edited in.
Please file suggestions as suggestions. Probably a duplicate.
*** This bug has been marked as a duplicate of bug 112908 ***