From aa67e4897d1cbc9d7a55614de3722c420542d7a0 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 27 Oct 2021 16:28:11 +0200 Subject: [PATCH] Add the edit-server package to allow browser text area editing --- configuration.org | 21 +++++++++++++++++++++ customizations.el | 1 + 2 files changed, 22 insertions(+) diff --git a/configuration.org b/configuration.org index e41ebe7..0906f22 100644 --- a/configuration.org +++ b/configuration.org @@ -2511,6 +2511,27 @@ I don’t always use the package menu, but when i do, i want to do it in style (use-package ansible) #+end_src +** Edit browser textareas in Emacs + +#+begin_src emacs-lisp +(use-package edit-server + :ensure t + :commands edit-server-start + :init (if after-init-time + (edit-server-start) + (add-hook 'after-init-hook + #'(lambda() (edit-server-start)))) + :config (setq edit-server-new-frame-alist + '((name . "Edit with Emacs FRAME") + (top . 200) + (left . 200) + (width . 80) + (height . 25) + (minibuffer . t) + (menu-bar-lines . t) + (window-system . x)))) +#+end_src + * Dired related packages ** Collapse directories that only contain one file somewhere deep diff --git a/customizations.el b/customizations.el index 78e7081..f0074e5 100644 --- a/customizations.el +++ b/customizations.el @@ -71,6 +71,7 @@ docker-tramp dockerfile-mode editorconfig + edit-server electric-case electric-operator elpher