|
From: Daniel J S. <dan...@ie...> - 2006-04-26 20:29:01
|
Timoth=E9e Lecomte wrote: > Hmm... It may not be what you wanted to say, but we can take that as an > extra argument to remove the feature, i.e .there's another obstacle tha= t > makes it unreliable : the focus-stealing-prevention mechanism that is > activated by default on several desktops. Just saying the current implementation isn't super useful. But a focus-s= tealing-prevention is also problematic. > That makes me think of a different approach to associate a console wind= ow > and a plot window : make the prompt and the window title change > accordingly. >=20 > Advantage : both of them are really managed by gnuplot, so that is > reliable and cross-platform. > Drawback : not as straightforward, >=20 > For example, the first instance of gnuplot would have the prompt > "gnuplot>", and the window would be entitled "gnuplot", a second instan= ce > could have the prompt "gnuplot(2)>", and the window would be entitled > "gnuplot(2)", etc. >=20 > Many programs I know are able to recognize if an instance is already > running. So I guess we could be able to do it too, and to use this > information to change the prompt. >=20 > Is that satisfying ? Right now in Gnome I see that if I have two versions of gnuplot and gnupl= ot_x11, the windows created for the two different gnuplot_x11 are combine= d in the same menu group; so yeah that could be useful. (Not something I= 'm pining for, though.) Dan |