multishell-autoloads.el 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. ;;; multishell-autoloads.el --- automatically extracted autoloads
  2. ;;
  3. ;;; Code:
  4. (add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
  5. ;;;### (autoloads nil "multishell" "multishell.el" (24066 55384 139305
  6. ;;;;;; 633000))
  7. ;;; Generated autoloads from multishell.el
  8. (autoload 'multishell-pop-to-shell "multishell" "\
  9. Easily navigate to and within multiple shell buffers, local and remote.
  10. Use a single `universal-argument' (\\[universal-argument]) to launch and choose between
  11. nalternate shell buffers, and a doubled universal argument to also set your
  12. choice as the ongoing default. Append a path to a new shell name to launch
  13. a shell in that directory, and use Emacs tramp syntax to launch a remote
  14. shell. There is a shortcut to manage your list of current and
  15. historical shells, collectively, using `multishell-list' - see below.
  16. Customize-group `multishell' to set up a key binding and tweak behaviors.
  17. Manage your collection of current and historical shells by
  18. recursively invoking \\[multishell-pop-to-shell] at the
  19. `multishell-pop-to-shell' universal argument prompts, eg:
  20. \\[universal-argument] \\[multishell-pop-to-shell] \\[multishell-pop-to-shell]
  21. \(That will be just a few keys if you do the above
  22. customization.) Hit ? in the listing buffer for editing commands.
  23. ==== Basic operation:
  24. - If the current buffer is shell-mode (or shell-mode derived)
  25. buffer then focus is moved to the process input point.
  26. (You can use a universal argument go to a different shell
  27. buffer when already in a buffer that has a process - see
  28. below.)
  29. - If not in a shell buffer (or with universal argument), go to a
  30. window that is already showing the (a) shell buffer, if any.
  31. In this case, the cursor is left in its prior position in the
  32. shell buffer. Repeating the command will then go to the
  33. process input point, per the first item in this list.
  34. We respect `pop-up-windows', so you can adjust it to set the
  35. other-buffer/same-buffer behavior.
  36. - Otherwise, start a new shell buffer, using the current
  37. directory as the working directory.
  38. If a buffer with the resulting name exists and its shell process
  39. was disconnected or otherwise stopped, it's resumed.
  40. ===== Universal arg to start and select between named shell buffers:
  41. You can name alternate shell buffers to create or return to, by
  42. prefixing your \\[multishell-pop-to-shell] invocation with single or double
  43. `universal-argument', \\[universal-argument]:
  44. - With a single universal argument, prompt for the buffer name
  45. to use (without the asterisks that shell mode will put around
  46. the name), defaulting to 'shell'.
  47. Completion is available.
  48. This combination makes it easy to start and switch across
  49. multiple shell restarts.
  50. - A double universal argument will prompt for the name *and* set
  51. the default to that name, so the target shell becomes the
  52. primary.
  53. See `multishell-primary-name' for info about preserving the
  54. setting across emacs restarts.
  55. - Manage your collection of current and historical shells by
  56. recursively invoking \\[multishell-pop-to-shell] at either of the
  57. `multishell-pop-to-shell' universal argument prompts, or at any
  58. time via \\[multishell-list]. Hit ? in the listing buffer for
  59. editing commands.
  60. ===== Select starting directory and remote host:
  61. The shell buffer name you give to the prompt for a universal arg
  62. can include an appended path. That will be used for the startup
  63. directory. You can use tramp remote syntax to specify a remote
  64. shell. If there is an element after a final '/', that's used for
  65. the buffer name. Otherwise, the host, domain, or path is used.
  66. For example:
  67. * '#root/sudo:root@localhost:/etc' for a buffer named \"*#root*\" with a
  68. root shell starting in /etc.
  69. * '/ssh:example.net:' for a shell buffer in your homedir on example.net.
  70. The buffer will be named \"*example.net*\".
  71. * '#ex/ssh:example.net|sudo:root@example.net:/var/log' for a root shell
  72. starting in /var/log on example.net named \"*#ex*\".
  73. * 'interior/ssh:gateway.corp.com|ssh:interior.corp.com:' to go
  74. via gateway.corp.com to your homedir on interior.corp.com. The
  75. buffer will be named \"*interior*\". You could append a sudo
  76. hop to the path, combining the previous example, and so on.
  77. File visits from the shell, and many common emacs activities like
  78. dired, will be on the host where the shell is running, in the
  79. auspices of the target account, and relative to the current
  80. directory.
  81. You can change the startup path for a shell buffer by editing it
  82. at the completion prompt. The new path will not take effect for
  83. an already-running shell.
  84. To remove a shell buffer's history entry, kill the buffer and
  85. affirm removal of the entry when prompted.
  86. ===== Activate savehist to retain shell buffer names and paths across Emacs restarts:
  87. To have emacs maintain your history of shell buffer names and paths,
  88. customize the savehist group to activate savehist.
  89. \(fn &optional ARG NAME HERE)" t nil)
  90. ;;;***
  91. ;;;### (autoloads nil "multishell-list" "multishell-list.el" (24066
  92. ;;;;;; 55384 119305 513000))
  93. ;;; Generated autoloads from multishell-list.el
  94. (autoload 'multishell-list "multishell-list" "\
  95. Edit your current and historic list of shell buffers.
  96. If optional COMPLETING is nil, we present the full
  97. `multishell-history' list in a popped buffer named '*Shells*'.
  98. In the buffer, hit ? or h for a list of commands.
  99. When optional COMPLETING is non-nil, it must be a list of
  100. multishell-history completion candidate entries, as provided by
  101. `completing-read'. Then we present the list as a part of
  102. minibuffer completion.
  103. You can get to the shells listing by recursively invoking
  104. \\[multishell-pop-to-shell] at the `multishell-pop-to-shell'
  105. `universal-argument' prompts.
  106. \(fn &optional COMPLETING)" t nil)
  107. ;;;***
  108. ;;;### (autoloads nil nil ("multishell-pkg.el") (24066 55384 658069
  109. ;;;;;; 744000))
  110. ;;;***
  111. ;; Local Variables:
  112. ;; version-control: never
  113. ;; no-byte-compile: t
  114. ;; no-update-autoloads: t
  115. ;; End:
  116. ;;; multishell-autoloads.el ends here