home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / help-lucid-emacs / text0263.txt < prev    next >
Encoding:
Text File  |  1993-07-14  |  1.2 KB  |  34 lines

  1.  
  2.  
  3. >>>>> On Tue, 04 May 93 12:55:09 MDT, kkolling@mv.us.adobe.com said:
  4.  
  5. kkolling> Is there a way to get a shell in a window without blowing
  6. kkolling> away the current file window?  That is, if I have a window
  7. kkolling> open on file foo, I seem to have to do the following to get
  8. kkolling> both foo and a shell visible:
  9.  
  10. kkolling> execute a shell command, which has the side-effect of "hiding" foo.
  11.  
  12. olstad answers> What do you mean, "hiding"?
  13.  
  14. kkolling> execute a find-file of some form to reload foo, after
  15. kkolling>      which both live happily together.
  16.  
  17. olstad answers> I must be misunderstanding you.  Are you saying that the file's
  18. buffer is killed when you do ``M-x shell-command RET some_command RET''? Try
  19. visiting a file and then executing a shell command.  Then do C-x C-b
  20. to see if the file still has a buffer.
  21.  
  22.  
  23. What I mean is this:
  24.  
  25. Initial state:                                 file foo is visible
  26. Execute shell command:                         only shell is visible
  27. Curse, and execute find-file-in-other-window:  both shell and file are visible
  28.  
  29. The last state is the one I want.  For some reason, executing a shell command
  30. does the equivalent of a delete-window.  The buffer for file foo still
  31. exists, but I have to make it visible again.
  32.  
  33.  
  34.