[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache 087e8f4c73 019/158: Update README
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache 087e8f4c73 019/158: Update README |
Date: |
Wed, 19 Jan 2022 18:57:41 -0500 (EST) |
branch: externals/dtache
commit 087e8f4c73bbd5d7029cb310c9ee7234cc7c2edb
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Update README
The readme file was incorrectly merged.
---
README.org | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/README.org b/README.org
index c90047d02c..73f2968ccd 100644
--- a/README.org
+++ b/README.org
@@ -239,27 +239,6 @@ Here the command beginning with =ls= would from now on be
using redirect only.
For inspiration on how to configure =dtache-list-sessions= to use evil
bindings see
[[https://gitlab.com/niklaseklund/dotfiles/blob/master/.config/emacs/init.el#L1393][Niklas
Eklund's Emacs config]].
-* Tips & Tricks
-** Advice functions
-
-The following two functions are examples on how to create functions that can
be used to advice other functions in order to replace =compile= and
=async-shell-command= with =dtache-start-session=
-
-#+begin_src elisp
- (defun dtache-compile-advice (orig-fun &rest args)
- "Function to replace usage of `compile' before calling ORIG-FUN with ARGS."
- (cl-letf (((symbol-function 'compile)
- (lambda (args)
- (dtache-start-session (car args)))))
- (apply orig-fun args)))
-
- (defun dtache-start-session-advice (orig-fun &rest args)
- "Function to replace usage of `async-shell-command' before calling
ORIG-FUN with ARGS."
- (cl-letf (((symbol-function 'async-shell-command)
- (lambda (args)
- (dtache-start-session (car args)))))
- (apply orig-fun args)))
-#+end_src
-
* Credits
I got inspired by =Ambrevar's= pursuits on
[[https://ambrevar.xyz/emacs-eshell/][using eshell as his main shell]], and his
[[https://github.com/Ambrevar/dotfiles/blob/master/.emacs.d/lisp/package-eshell-detach.el][package-eshell-detach]]
got me into the idea of using =dtach= as a base for detachable shell commands.
- [elpa] externals/dtache b47bc3be09 061/158: Update copyright years, (continued)
- [elpa] externals/dtache b47bc3be09 061/158: Update copyright years, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 182ab7ccc6 064/158: Add integration with consult, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache ea6d8ae426 068/158: Add missing autoloads, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache e2efe466e0 076/158: Improve error handling with dtache-valid-session, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 79f1d905a9 078/158: Add example of how to enhance a command with dtach, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache dae6db33db 083/158: Fix various minor problems, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 52e839ff4a 007/158: Update README with links, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 7e8727f3a2 020/158: Add TODO to investigate unknown inactive sessions, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b94baaeecd 021/158: Fix bug in setup notification, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 763246bffe 026/158: Remove explicit dependency on dtache-env, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 087e8f4c73 019/158: Update README,
ELPA Syncer <=
- [elpa] externals/dtache d574161815 042/158: Simplify buffer handling, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 1878cefb2f 038/158: Remove embark dependency, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 3c61776c7f 014/158: Fix dtache initialization, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 7c07950642 043/158: Implement better encapsulation of database, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 42569d1c5f 036/158: Update broken tests, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache ddf9bb6ade 039/158: Add action map example, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache c70c9366a5 028/158: Update test to test with/without dtache-env, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache d5aa90356a 029/158: Add CHANGELOG to project, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 4751b4d812 046/158: Implement a general timer function, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 1bc60af5a0 040/158: Update changelog and readme, ELPA Syncer, 2022/01/19