[gnu.emacs] vm doesn't restore more than window when quitting

chris@asylum.gsfc.nasa.gov (Chris Shenton) (09/07/89)

I am using vm 4.40. If I have one window (say, an edit buffer), then I use vm,
then quit vm, it restores my old window.

If, however, I had more than one window open, it restores only one window when
I exit vm. Is there a fix?

Thanks.

kjones@talos.uucp (Kyle Jones) (09/08/89)

Chris Shenton writes:
 > I am using vm 4.40. If I have one window (say, an edit buffer), then
 > I use vm, then quit vm, it restores my old window.
 > 
 > If, however, I had more than one window open, it restores only one
 > window when I exit vm. Is there a fix?

Well, the issue is complicated by the fact that more than one VM session
can be active at a time.  That is, there's one session per active
folder.  Should all of them save the current window state when they
start or just the first one?  If the former, then what should be done if
you exit the sessions in a different order than you started them?

If you view VM as a subroutine then restoration is logical.  In truth
VM is more like a coroutine, as are most (GNU) Emacs major modes.  I'm
not sure window restoration is appropriate.

[ Further discussion on this topic should probably occur in the info-vm
  mailing list. ]

sft@cbnewsc.ATT.COM (scott.thompson) (09/08/89)

From article <8909062053.AA05089@asylum.gsfc.nasa.gov>, by chris@asylum.gsfc.nasa.gov (Chris Shenton):
| I am using vm 4.40. If I have one window (say, an edit buffer), then I use vm,
| then quit vm, it restores my old window.
| 
| If, however, I had more than one window open, it restores only one window when
| I exit vm. Is there a fix?
| 
| Thanks.

There is no fix as this is not a bug, this was discussed before.  Just
enter recursive edit before vm.

-- 
  Scott Thompson (IH 6W-207), AT&T Bell Labs, Naperville, Il. 60566

       VOICE: (312)-979-2237     UUCP: ...!att!ihlpa!sft