From 928596a2002bfa24f216c923656a00b74a88c736 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 23 Jul 2019 00:17:27 +0200 Subject: [PATCH] Remove collab/{floobits,impatient-mode} modules The state of peer programming in Emacs isn't great. The floobits module is only one line of code and doesn't warrant its own module. impatient-mode is a little more useful, but is too niche and not exclusively for peer programming, so I'm not convinced it belongs in this category. Since there are no other good options, I'm just getting rid of the category altogether. --- init.example.el | 4 ---- modules/collab/floobits/packages.el | 4 ---- modules/collab/impatient-mode/autoload.el | 24 ----------------------- modules/collab/impatient-mode/packages.el | 5 ----- 4 files changed, 37 deletions(-) delete mode 100644 modules/collab/floobits/packages.el delete mode 100644 modules/collab/impatient-mode/autoload.el delete mode 100644 modules/collab/impatient-mode/packages.el diff --git a/init.example.el b/init.example.el index 0ced5928b..01815d9a1 100644 --- a/init.example.el +++ b/init.example.el @@ -163,10 +163,6 @@ ;; +wordnut ; wordnet (wn) search ;; +langtool) ; a proofreader (grammar/style check) for Emacs - :collab - ;;floobits ; peer programming for a price - ;;impatient-mode ; show off code over HTTP - :config ;; For literate config users. This will tangle+compile a config.org ;; literate config in your `doom-private-dir' whenever it changes. diff --git a/modules/collab/floobits/packages.el b/modules/collab/floobits/packages.el deleted file mode 100644 index 98eb4d29b..000000000 --- a/modules/collab/floobits/packages.el +++ /dev/null @@ -1,4 +0,0 @@ -;; -*- no-byte-compile: t; -*- -;;; collab/foobits/packages.el - -(package! floobits) diff --git a/modules/collab/impatient-mode/autoload.el b/modules/collab/impatient-mode/autoload.el deleted file mode 100644 index 41047d359..000000000 --- a/modules/collab/impatient-mode/autoload.el +++ /dev/null @@ -1,24 +0,0 @@ -;;; collab/impatient-mode/autoload.el -*- lexical-binding: t; -*- - -;;;###autoload -(defun +impatient-mode/toggle () - "Toggle `impatient-mode' in the current buffer." - (interactive) - (unless (process-status "httpd") - (httpd-start)) - (impatient-mode) - (if impatient-mode - (add-hook 'kill-buffer-hook '+impatient-mode--cleanup-impatient-mode) - (+impatient-mode--cleanup-impatient-mode))) - -(defun +impatient-mode--cleanup-impatient-mode () - (unless (cl-loop for buf in (doom-buffer-list) - if (buffer-local-value 'impatient-mode buf) - return t) - (httpd-stop) - (cl-loop for buf in (doom-buffer-list) - if (buffer-local-value 'impatient-mode buf) - do - (with-current-buffer buf - (impatient-mode -1))) - (remove-hook 'kill-buffer-hook '+impatient-mode--cleanup-impatient-mode))) diff --git a/modules/collab/impatient-mode/packages.el b/modules/collab/impatient-mode/packages.el deleted file mode 100644 index 2469c675e..000000000 --- a/modules/collab/impatient-mode/packages.el +++ /dev/null @@ -1,5 +0,0 @@ -;; -*- no-byte-compile: t; -*- -;;; collab/impatient-mode/packages.el - -(package! htmlize) -(package! impatient-mode)