[Geany-devel] [PATCH] Open files in Geany at the same workspace

Erik de Castro Lopo mle+tools at xxxxx
Tue Sep 28 23:52:19 UTC 2010


Colomban Wendling wrote:

> So I would like to get the old behavior back. I see 2 solutions:
> 1) remove this patch;
> 2) add an option to choose whether we want one instance per workspace or
> not.
> 
> I think nobody wants solution 1, so let's forget about it and
> investigate a bit solution 2.

I'm fine with solution 2, would not be fine with solution 1 :-).

> 3) this is the most complicated but also the one that seems to have the
> less flaws: still add workspace suffix, but when checking if there is a
> running instance to which send the requests, ignore that workspace
> information if the pre-workspace option is not checked. It needs to list
> the available socket(s), and then select the one we want (probably the
> first or the one closets to the current desktop), but it fixes flaws I
> see in both methods 1) and 2).

I prefer this solution, mainly because it doesn't have the problems the
other two solutions have.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Devel mailing list