Abdelrazak Younes wrote: > Angus Leeming wrote: >> What happens in the (hypothetical for now) case when we have two >> LyXViews neither of which have focus and the LyXServer receives >> the setBuffer LFUN? Which LyXView do we choose is "active"?
> We will need to adjust the protocol... > ... Are there many of these client programs? That use the LyXServer? There are a number of bibliography database programs. Pybliographer is the one I'm familiar with but there are others. There's also the LyXSocket stuff which is conceptually similar (uses sockets rather than FIFO pipes) and which can be used today, right now by xdvi, kdvi, emacs, gedit... There's lots that is a mess about the LFUN language (ad hoc, no formal grammar, etc) but it is powerful and will become more so if someone adds the ability to return queried-for information like these LyXView IDs that you mention. Regards, Angus