[Emacs] Orgmode improvements

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.
This commit is contained in:
Lucien Cartier-Tilet 2021-10-07 18:30:29 +02:00
parent 1647f49c2c
commit 4763c03d9f
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -2829,6 +2829,8 @@ extended however we like!
:commands (orgtbl-mode) :commands (orgtbl-mode)
:hook ((org-mode . visual-line-mode) :hook ((org-mode . visual-line-mode)
(org-mode . org-num-mode)) (org-mode . org-num-mode))
:custom-face
(org-macro ((t (:foreground "#b48ead"))))
:init :init
(auto-fill-mode -1) (auto-fill-mode -1)
:config :config
@ -3475,17 +3477,18 @@ hasle.
#+NAME: org-proj-config-setup #+NAME: org-proj-config-setup
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defvar phundrak//projects-config-target (defvar phundrak//projects-config-target
"/rsync:Tilo:~/www/phundrak.com/config" "/ssh:Tilo:~/www/phundrak.com/config"
"Points to where exported files for config.phundrak.com should be put") "Points to where exported files for config.phundrak.com should be put.")
(defvar phundrak//projects-config-source (defvar phundrak//projects-config-source
"~/org/config/" "~/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 (defvar phundrak//projects-config-language
"en" "en"
"Language of config.phundrak.com") "Language of the website config.phundrak.com.")
(defvar phundrak//projects-config-recursive (defvar phundrak//projects-config-recursive
t t
"Defines whether subdirectories should be parsed for config.phundrak.com") "Defines whether subdirectories should be parsed for config.phundrak.com.")
#+END_SRC #+END_SRC
Now, here is my configuration. In this snippet, my org files located in my 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)) "m" #'ivy-bibtex))
#+end_src #+end_src
#+begin_src emacs-lisp
(after! org
(require 'org-ref))
#+end_src
*** Visual Configuration *** Visual Configuration
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Org-mode-Visual-Configurationrol5fl6184j0 :CUSTOM_ID: Packages-Configuration-Org-mode-Visual-Configurationrol5fl6184j0