Address an indent issue.

This commit is contained in:
Howard Abrams 2022-04-04 15:04:20 -07:00
parent d216ba8149
commit 87ba4bf2fd

View file

@ -44,6 +44,11 @@ Oh, and as I indent lists, they should change the /bulleting/ in a particular se
(setq org-list-demote-modify-bullet '(("*" . "+") ("+" . "-") ("-" . "-")
("1." . "a.") ("a." . "1.")))
#+END_SRC
The =org-indent-indentation-per-level=, which defaults to =2= doesnt really work well with variable-width fonts, so lets make the spaces at the beginning of the line fixed:
#+BEGIN_SRC emacs-lisp
(set-face-attribute 'org-indent nil :inherit 'fixed-pitch)
#+END_SRC
** Typographic Quotes
According to [[http://endlessparentheses.com/prettify-your-quotation-marks.html][Artur Malabarba]] of [[http://endlessparentheses.com/prettify-you-apostrophes.html][Endless Parenthesis]] blog, I type a /straight quote/, ", Emacs actually inserts Unicode rounded quotes, like “this”. This idea isnt how a file is /displayed/, but actually how the file is /made/. Time will tell if this idea works with my auxiliary functions on my phone, like [[https://play.google.com/store/apps/details?id=com.orgzly&hl=en_US&gl=US][Orgzly]] and [[https://github.com/amake/orgro][Orgro]].
@ -105,7 +110,7 @@ First step is to make all Org header levels to use the variable font, and be the
(when window-system
(let ((default-color (face-attribute 'default :foreground)))
(dolist (face '(org-level-1 org-level-2 org-level-3 org-level-4 org-level-5 org-level-6 org-level-7 org-level-8))
(set-face-attribute face nil
(set-face-attribute face nil :height 1.1
:foreground default-color :weight 'bold :font ha-variable-font))))
#+END_SRC
@ -116,7 +121,7 @@ Next, we just need to change the header sizes:
(set-face-attribute 'org-level-1 nil :height 2.2)
(set-face-attribute 'org-level-2 nil :height 1.8)
(set-face-attribute 'org-level-3 nil :height 1.4)
(set-face-attribute 'org-level-4 nil :height 1.1))
(set-face-attribute 'org-level-4 nil :height 1.2))
#+END_SRC
While we are at it, lets make sure the code blocks are using my fixed with font: