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

Dimitar Zhekov dimitar.zhekov at xxxxx
Sat Oct 2 12:58:12 UTC 2010


On Wed, 29 Sep 2010 18:00:06 +0100
Nick Treleaven <nick.treleaven at btinternet.com> wrote:

> On Wed, 29 Sep 2010 09:52:19 +1000
> Erik de Castro Lopo <mle+tools at mega-nerd.com> wrote:
> 
> > > 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.
> 
> In any case, the patch introduced a bug where 2nd instances still load
> the session files. So I think we'll need to revert it until there's a
> fix.

So both require traversing the possible sockets. It can be something
like this <attachment>. But I'd personally prefer the patch removed...

-- 
E-gards: Jimmy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: same_workspace.txt
URL: <http://lists.geany.org/pipermail/devel/attachments/20101002/82f5a498/attachment.txt>


More information about the Devel mailing list