[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache 90c3d1dd90 147/158: Indent all package files
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache 90c3d1dd90 147/158: Indent all package files |
Date: |
Wed, 19 Jan 2022 18:58:08 -0500 (EST) |
branch: externals/dtache
commit 90c3d1dd90f563883f4ce8375b9d4aa6accfa0ef
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Indent all package files
---
dtache-eshell.el | 6 +++---
dtache-shell.el | 18 +++++++++---------
dtache.el | 26 +++++++++++++-------------
3 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/dtache-eshell.el b/dtache-eshell.el
index 1a0086abf4..95b5d8ae01 100644
--- a/dtache-eshell.el
+++ b/dtache-eshell.el
@@ -54,9 +54,9 @@
(let* ((current-host (dtache--host))
(sessions
(thread-last (dtache-get-sessions)
- (seq-filter (lambda (it)
- (string= (dtache--session-host it) current-host)))
- (seq-filter #'dtache--determine-session-state))))
+ (seq-filter (lambda (it)
+ (string= (dtache--session-host it)
current-host)))
+ (seq-filter #'dtache--determine-session-state))))
(dtache-completing-read sessions)))
(defun dtache-eshell-get-dtach-process ()
diff --git a/dtache-shell.el b/dtache-shell.el
index 1506776735..08766033a2 100644
--- a/dtache-shell.el
+++ b/dtache-shell.el
@@ -56,9 +56,9 @@
(let* ((current-host (dtache--host))
(sessions
(thread-last (dtache-get-sessions)
- (seq-filter (lambda (it)
- (string= (dtache--session-host it) current-host)))
- (seq-filter (lambda (it) (eq 'active
(dtache--determine-session-state it)))))))
+ (seq-filter (lambda (it)
+ (string= (dtache--session-host it)
current-host)))
+ (seq-filter (lambda (it) (eq 'active
(dtache--determine-session-state it)))))))
(dtache-completing-read sessions)))
;;;; Commands
@@ -122,12 +122,12 @@ cluttering the comint-history with dtach commands."
"Save `shell' history."
(with-connection-local-variables
(unless (string-prefix-p dtache--shell-command-buffer (buffer-name))
- (let* ((inhibit-message t)
- (comint-input-ring-file-name
- (concat
- (file-remote-p default-directory)
- dtache-shell-history-file)))
- (comint-write-input-ring)))))
+ (let* ((inhibit-message t)
+ (comint-input-ring-file-name
+ (concat
+ (file-remote-p default-directory)
+ dtache-shell-history-file)))
+ (comint-write-input-ring)))))
(defun dtache-shell-override-history (orig-fun &rest args)
"Override history to read `dtache-shell-history-file' in ORIG-FUN with ARGS.
diff --git a/dtache.el b/dtache.el
index ec0fa322a2..d25b166979 100644
--- a/dtache.el
+++ b/dtache.el
@@ -540,8 +540,8 @@ Optionally SUPPRESS-OUTPUT."
(apply #'start-file-process-shell-command
`("dtache" nil ,(dtache-dtach-command
dtache--current-session t))))
(cl-letf* ((dtache-session-mode 'create-and-attach)
- ((symbol-function #'set-process-sentinel) #'ignore)
- (buffer (generate-new-buffer-name
dtache--shell-command-buffer)))
+ ((symbol-function #'set-process-sentinel) #'ignore)
+ (buffer (generate-new-buffer-name
dtache--shell-command-buffer)))
(setq dtache-enabled nil)
(funcall #'async-shell-command (dtache-dtach-command
dtache--current-session t) buffer)
(with-current-buffer buffer (setq dtache--buffer-session
dtache--current-session))))))
@@ -599,8 +599,8 @@ Optionally SUPPRESS-OUTPUT."
(thread-last (dtache--db-get-sessions)
(seq-filter (lambda (it) (eq 'active (dtache--session-state
it))))
(seq-remove (lambda (it) (when (dtache--session-missing-p it)
- (dtache--db-remove-entry it)
- t)))
+ (dtache--db-remove-entry it)
+ t)))
(seq-do #'dtache--start-session-monitor))
;; Add `dtache-shell-mode'
@@ -669,7 +669,7 @@ Optionally CONCAT the command return command into a string."
(with-connection-local-variables
(let* ((dtache-session-mode (cond ((eq dtache-session-mode 'attach) 'attach)
((not (dtache--session-attachable
session)) 'create)
- (t dtache-session-mode)))
+ (t dtache-session-mode)))
(socket (dtache--session-file session 'socket t))
(dtach-arg (dtache--dtach-arg)))
(setq dtache--buffer-session session)
@@ -690,16 +690,16 @@ Optionally CONCAT the command return command into a
string."
,(shell-quote-argument (dtache--dtache-command
session)))
" ")
`(,dtach-arg ,socket "-z"
- ,dtache-shell-program "-c"
- ,(dtache--dtache-command session)))))))
+ ,dtache-shell-program "-c"
+ ,(dtache--dtache-command session)))))))
(defun dtache-attachable-command-p (command)
"Return t if COMMAND is attachable."
(if (thread-last dtache-nonattachable-commands
- (seq-filter (lambda (regexp)
- (string-match-p regexp command)))
- (length)
- (= 0))
+ (seq-filter (lambda (regexp)
+ (string-match-p regexp command)))
+ (length)
+ (= 0))
t
nil))
@@ -1069,7 +1069,7 @@ If SESSION is nonattachable fallback to a command that
doesn't rely on tee."
(redirect
(if (dtache--session-attachable session)
(format "2>&1 | tee %s" log)
- (format "&> %s" log)))
+ (format "&> %s" log)))
(env (if dtache-env dtache-env (format "%s -c" dtache-shell-program)))
(command
(shell-quote-argument
@@ -1176,7 +1176,7 @@ the current time is used."
(dtache--session-working-directory session)))
(if-let ((remote (file-remote-p working-directory)))
(string-remove-prefix remote working-directory)
- working-directory)))
+ working-directory)))
;;;; Minor modes
- [elpa] externals/dtache 051968ec99 111/158: Update dtache extension headers, (continued)
- [elpa] externals/dtache 051968ec99 111/158: Update dtache extension headers, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache e1ebc053bb 116/158: Avoid saving history file for dtache-shell-command, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 561f67d075 121/158: Make remove entry delete session log, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b285ac5a0f 128/158: Update version schema for sessions, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 0e0e8c6394 126/158: Update docstring, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 31d7ffd5f7 131/158: Rename redirect-only to attachable, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 3da7747fa1 130/158: Update Versions/Contributions/Credits, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 2337bb132f 132/158: Update mode symbols, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 53cc38b385 137/158: Update Customization section in README, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 02ee0a9487 140/158: Utilize filenotify for remote sessions, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 90c3d1dd90 147/158: Indent all package files,
ELPA Syncer <=
- [elpa] externals/dtache 89df9371db 145/158: Use timer only on local macOS host, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache c91ce5fd9a 151/158: Fix error on remote hosts with dtache-attach, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 3d89804c20 155/158: Improve dtache--update-session, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 6037219c0a 018/158: Update documentation, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 199c4cffaa 070/158: Update incorrect regexp for dtache-message, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b2b2b6ecd1 138/158: Fix error in dtache-attach, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 28cb384d96 143/158: Update attach with fallback, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 7ddd1e29ef 146/158: Fix error on remote hosts, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 9e0acd552d 150/158: Fix typo in dtache-test-dtach-command test, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b8ab11cda6 091/158: Make sure to set current session in shell command, ELPA Syncer, 2022/01/19