emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dtache b44b8ab0ad 2/2: Update README on remote support


From: ELPA Syncer
Subject: [elpa] externals/dtache b44b8ab0ad 2/2: Update README on remote support
Date: Fri, 28 Jan 2022 12:57:30 -0500 (EST)

branch: externals/dtache
commit b44b8ab0ad7db8d6fd90dff12339ea8b7ee52aca
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>

    Update README on remote support
    
    Mention that there is additional configuration needed early on. Also
    move remote support heading higher up.
---
 README.org | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/README.org b/README.org
index 0304fcba30..28a548001e 100644
--- a/README.org
+++ b/README.org
@@ -42,7 +42,7 @@ Arbitrary metadata can be captured when a session is started. 
An example further
 
 *** Remote
 
-Proper support for running session on a remote host.
+Proper support for running session on a remote host. See the =Remote suppport= 
section of the README for further details on how to configure =dtache= to work 
for a remote host.
 
 *** Actions
 
@@ -282,6 +282,23 @@ Apart from those variables there is also the different 
=action= variables, which
 | dtache-compile-session-action       | Actions for sessions launched with 
=dtache-compile=           |
 | dtache-org-session-action           | Actions for sessions launched with 
=dtache-org=               |
 
+** Remote support
+
+The =dtache= package supports 
[[https://www.gnu.org/software/emacs/manual/html_node/elisp/Connection-Local-Variables.html][Connection
 Local Variables]] which allows the user to customize the variables used by 
=dtache= when running on a remote host. This example shows how the following 
variables are customized for all remote hosts.
+
+#+begin_src elisp :lexical t :results none
+  (connection-local-set-profile-variables
+   'remote-dtache
+   '((dtache-env . "~/bin/dtache-env")
+     (dtache-shell-program . "/bin/bash")
+     (dtache-shell-history-file . "~/.bash_history")
+     (dtache-session-directory . "~/tmp")
+     (dtache-dtach-program . "/home/user/.local/bin/dtach")))
+
+  (connection-local-set-profiles
+   '(:application tramp :protocol "ssh") 'remote-dtache)
+#+end_src
+
 ** Completion annotations
 
 Users can customize the appearance of annotations in =dtache-open-session= by 
modifying the =dtache-annotation-format=. The default annotation format is the 
following.
@@ -339,23 +356,6 @@ For these situations =dtache= provides the 
=dtache-nonattachable-commands= varia
 
 Here a command beginning with =ls= would from now on be considered 
nonattachable.
 
-** Remote support
-
-The =dtache= package supports 
[[https://www.gnu.org/software/emacs/manual/html_node/elisp/Connection-Local-Variables.html][Connection
 Local Variables]] which allows the user to customize the variables used by 
=dtache= when running on a remote host. This example shows how the following 
variables are customized for all remote hosts.
-
-#+begin_src elisp :lexical t :results none
-  (connection-local-set-profile-variables
-   'remote-dtache
-   '((dtache-env . "~/bin/dtache-env")
-     (dtache-shell-program . "/bin/bash")
-     (dtache-shell-history-file . "~/.bash_history")
-     (dtache-session-directory . "~/tmp")
-     (dtache-dtach-program . "/home/user/.local/bin/dtach")))
-
-  (connection-local-set-profiles
-   '(:application tramp :protocol "ssh") 'remote-dtache)
-#+end_src
-
 * Versions
 
 Information about larger changes that has been made between versions can be 
found in the =CHANGELOG.org=



reply via email to

[Prev in Thread] Current Thread [Next in Thread]