From 4763c03d9f6885807246695a26d1bdf04765109e Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 7 Oct 2021 18:30:29 +0200 Subject: [PATCH] [Emacs] Orgmode improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Better `org-macro' face to make it more visible. For some reason, Emacs doesn’t like copying files over the `rsync' protocol anymore, but the `ssh' protocol is fine ¯\_(ツ)_/¯ Loading org-mode will now also load org-ref by default. --- org/config/emacs.org | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 76df5b9..2bbe25b 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -2829,6 +2829,8 @@ extended however we like! :commands (orgtbl-mode) :hook ((org-mode . visual-line-mode) (org-mode . org-num-mode)) + :custom-face + (org-macro ((t (:foreground "#b48ead")))) :init (auto-fill-mode -1) :config @@ -3475,17 +3477,18 @@ hasle. #+NAME: org-proj-config-setup #+BEGIN_SRC emacs-lisp (defvar phundrak//projects-config-target - "/rsync:Tilo:~/www/phundrak.com/config" - "Points to where exported files for config.phundrak.com should be put") + "/ssh:Tilo:~/www/phundrak.com/config" + "Points to where exported files for config.phundrak.com should be put.") + (defvar phundrak//projects-config-source "~/org/config/" - "Points to where the sources for config.phundrak.com are") + "Points to where the sources for config.phundrak.com are.") (defvar phundrak//projects-config-language "en" - "Language of config.phundrak.com") + "Language of the website config.phundrak.com.") (defvar phundrak//projects-config-recursive t - "Defines whether subdirectories should be parsed for config.phundrak.com") + "Defines whether subdirectories should be parsed for config.phundrak.com.") #+END_SRC Now, here is my configuration. In this snippet, my org files located in my @@ -3687,6 +3690,11 @@ The project is then defined like so: "m" #'ivy-bibtex)) #+end_src +#+begin_src emacs-lisp + (after! org + (require 'org-ref)) +#+end_src + *** Visual Configuration :PROPERTIES: :CUSTOM_ID: Packages-Configuration-Org-mode-Visual-Configurationrol5fl6184j0