After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 102310 - Document --new-window, --new-document, --quit
Document --new-window, --new-document, --quit
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.0.5
Other Linux
: High trivial
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
Depends on:
Blocks:
 
 
Reported: 2003-01-01 18:39 UTC by Max Gilead
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
doc diff (1.27 KB, patch)
2003-01-02 14:06 UTC, Dennis Haney
none Details | Review
doc diff, forgot some . (1.27 KB, patch)
2003-01-02 14:07 UTC, Dennis Haney
none Details | Review

Description Max Gilead 2003-01-01 18:39:52 UTC
If one instance of gEdit is already running it's impossible to run another
instance of gEdit. This is a blocker bug as it renders gEdit unusable for
many uses, including editing CVS messages or short editing purposes (which
as far as I know it's designed for).

I'm using gEdit version 2.0.6 (not listen in 'version' list above)

If I might suggest something I think it would be best if gEdit opened files
with separate editor instances by default and there should be a
command-line switch (eg. --reuse) which would cause gEdit to try to reuse
already running instance if one is found.

Regards,
Max
Comment 1 Andrew Sobala 2003-01-01 20:31:36 UTC

*** This bug has been marked as a duplicate of 89883 ***
Comment 2 Max Gilead 2003-01-01 20:51:24 UTC
So it's not a limitation of gEdit itself but rather a small but
important manual bug.

I'd suggest adding this section to the file data/gedit.1 at line 29:

.TP
\fB\-\-new\-window\fR
Opens file in a new window.

Regards,
Max
Comment 3 Andrew Sobala 2003-01-01 21:30:42 UTC
And it may need documenting in the manual and the popt table.
Retitling; won't happen before 2.4 due to string freeze.
Comment 4 Andrew Sobala 2003-01-02 01:04:54 UTC
I was talking rubbish; of course it's in the popt table :-)
Comment 5 Paolo Maggi 2003-01-02 11:13:55 UTC
I think we can update the man page since, AFAIK, no one is translating it.
Could you please, provide a patch?

Note that the new options are:

  --quit: Quit an existing instance of gedit

  --new-window: Create a new toplevel window in an                   
                   existing instance of gedit

   --new-document: Create a new document in an existing              
                       instance of gedit
Comment 6 Dennis Haney 2003-01-02 14:06:00 UTC
Created attachment 13310 [details] [review]
doc diff
Comment 7 Dennis Haney 2003-01-02 14:07:09 UTC
Created attachment 13311 [details] [review]
doc diff, forgot some .
Comment 8 Paolo Maggi 2003-01-04 18:59:20 UTC
Could please someone proof read gedit.1 file?
Comment 9 James Willcox 2003-01-05 05:10:38 UTC
Yep, I've proofread it and cleaned it up a bit.  Closing the bug.