diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2017-02-18 14:51:46 -0800 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2017-02-18 14:51:46 -0800 |
commit | 483ae72926ec9e66ef0f2c3abe103c61f499950c (patch) | |
tree | 3527de2be293bd29061c492270d3ad55828b83c8 /emacs.d/lib/funcs.el | |
parent | [notes] up (diff) | |
download | emacs.d-483ae72926ec9e66ef0f2c3abe103c61f499950c.tar.gz |
[Emacs] Move all the configuration related to twitter to it's own file
The configuration for the style checker; the functions to create remote files on nest; etc. All are now living in a file with all things related to twitter.
Diffstat (limited to '')
-rw-r--r-- | emacs.d/lib/funcs.el | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/emacs.d/lib/funcs.el b/emacs.d/lib/funcs.el index bb7d211..81330f6 100644 --- a/emacs.d/lib/funcs.el +++ b/emacs.d/lib/funcs.el @@ -87,32 +87,9 @@ Visit the file after creation." (interactive "sName of temporary file: ") (fc/start--file (expand-file-name (format "/tmp/%s" file-name)))) -(defun fc/start-nest-tmp-file (file-name) - "Create a file in ~/tmp on nest for the give file name." - (interactive "sName of the temporary file: ") - (fc/start--file (expand-file-name (format "/nest.smfc.twitter.com:~/tmp/%s" file-name)))) - ;; open dired buffer with tramp on remote host (defun fc/remote--dired (host) "Open dired on a remote host." (dired (concat "/" host ":"))) -(defun fc/remote-nest-dired () - "Open dired on nest." - (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 'funcs) |