From ef3fc7ed059177692ad23d80d29ce313c6bfb6b8 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 22 Mar 2018 10:49:19 -0700 Subject: [emacs] Emacs is not a tool to operate hosts/clusters. --- emacs.d/lib/twitter.el | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'emacs.d') diff --git a/emacs.d/lib/twitter.el b/emacs.d/lib/twitter.el index 80f44b2..1d67008 100644 --- a/emacs.d/lib/twitter.el +++ b/emacs.d/lib/twitter.el @@ -72,17 +72,4 @@ (interactive) (fc/remote--dired "nest.smfc.twitter.com")) -;; un/monitor hosts by running mth remotely -(defun fc/silence-host (host) - (interactive "sHostname: ") - (let ((default-directory "/ssh:nest.smfc.twitter.com:")) - (start-file-process "mth" (get-buffer-create "*mth*") - "/usr/local/bin/mth" "silence" host "99 years"))) - -(defun fc/unsilence-host (host) - (interactive "sHostname: ") - (let ((default-directory "/ssh:nest.smfc.twitter.com:")) - (start-file-process "mth" (get-buffer-create "*mth*") - "/usr/local/bin/mth" "unsilence" host))) - (provide 'twitter) -- cgit 1.4.1