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

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

[elpa] externals/detached 87037e0b9f: Add section in README to explain a


From: ELPA Syncer
Subject: [elpa] externals/detached 87037e0b9f: Add section in README to explain attach and output
Date: Wed, 25 May 2022 12:57:31 -0400 (EDT)

branch: externals/detached
commit 87037e0b9f947d8b150820817f1da60b1dc2a7cf
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>

    Add section in README to explain attach and output
---
 README.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/README.md b/README.md
index d70dc5fd2d..b26a0357d9 100644
--- a/README.md
+++ b/README.md
@@ -255,6 +255,14 @@ Users are encouraged to define the `detached-env` 
variable. It should point to t
 (setq detached-env "/path/to/repo/detached-env")
 ```
 
+## Show session output when attaching
+
+By default the `detached-show-output-on-attach` is set to nil. However if the 
user enables this feature it means that all the output from a session will be 
shown when attaching to a session. To be able to do this the 
`detached-show-output-command` is used. This is set to use `cat` to display the 
output. Many times with long sessions showing all the output might not be 
necessary, or desireable. A good alternative is then to use `tail` as the 
command. For example by showing the last 50 lin [...]
+
+``` emacs-lisp
+(setq detached-show-output-command "tail --lines=50")
+```
+
 ## Metadata annotators
 
 The user can configure any number of annotators to run upon creation of a 
session. The package comes with a function which captures the git branch name, 
if the session is started in a git repository.



reply via email to

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