GNOME Bugzilla – Bug 148594
don't return to commandline until gedit quits
Last modified: 2004-12-22 21:47:04 UTC
Description of Problem: The 'gedit' command will return right away if there is already an existing gedit session. If gedit is being used as $EDITOR, this confuses programs like svn and cvs which wait for the editor program to return as a cue that the user has finished editing the commit messages. Steps to reproduce the problem: 1. Start gedit 2. set $EDITOR to 'gedit' 3. Run a command like 'svn commit' Actual Results: gedit connects to the existing session and returns right away. Expected Results: gedit wouldn't return until the user closed the window. How often does this happen? always Additional Information: something like a '--new-session' option would probably be enough for this to not be a problem. Personally, I would prefer if --new-session and --new-window were the defaults. Especially when you have several viewports/desktops, it is pain when a command like 'gedit blah.txt' steals the gedit window off a different viewport/desktop.
I'm marking this as a dup of 112908 since as far as I can see they're asking for the same thing... unfortunately this doesn't look easily fixable with the way gedit works currently. I may well be wrong though... *** This bug has been marked as a duplicate of 112908 ***