Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
So, the real problem is to allow SWITCH_BUFFER to switch to a
buffer that is opened in another window. Can you do it?
Abdelrazak> We need to pass the LyXView id to the LFUN.
I think a better solution would be to first switch to the proper
LyXView, and then buffer-switch in that LyXView. No need to pass the
LyXView id after all.
Do you mean that switch_buffer should change view?
No, in order to restore a session properly, this or that LyXView should
be switched to this or that buffer. But, as said above we can have this
feature without modifying buffer-switch.
THis is wrong IMO.
SWITCH_BUFFER should display the buffer in current view if it is not
here already. This is what emacs does BTW.
Agreed of course ;-)
Abdel.