Migrate from specific variable-pitch to mixed-pitch project
This commit is contained in:
parent
913e09d436
commit
5c11765f82
5 changed files with 10 additions and 17 deletions
|
@ -66,7 +66,7 @@ I would like a dedicate perspective to Mastodon, and I would like a leader key s
|
|||
Let’s turn on non-fixed-width fonts to make everything easier to read:
|
||||
#+begin_src emacs-lisp
|
||||
(use-package mastodon
|
||||
:hook (mastodon-mode . variable-pitch-mode))
|
||||
:hook (mastodon-mode . mixed-pitch-mode))
|
||||
#+end_src
|
||||
Starting the =mastodon= perspective, I set some initial windows:
|
||||
#+begin_src emacs-lisp
|
||||
|
@ -152,7 +152,7 @@ For some reason, you need [[https://github.com/Fanael/rainbow-identifiers][rainb
|
|||
In the Telega chat’s, let’s turn on non-fixed-width fonts:
|
||||
#+begin_src emacs-lisp
|
||||
(use-package telega
|
||||
:hook (telega-chat-mode . variable-pitch-mode))
|
||||
:hook (telega-chat-mode . mixed-pitch-mode))
|
||||
#+end_src
|
||||
* RPG DM
|
||||
Been working on my [[https://gitlab.com/howardabrams/emacs-rpgdm][RPG DM project]] for getting Emacs helping as a /Dungeon Master's Assistant/. The idea is to be able to roll dice and whatnot. What I find most useful is the [[https://gitlab.com/howardabrams/emacs-rpgdm/-/blob/main/rpgdm-tables.el][random tables]].
|
||||
|
|
|
@ -346,6 +346,14 @@ Which font to choose?
|
|||
|
||||
(font-monitor-size-default)
|
||||
#+end_src
|
||||
** Mixed Pitch
|
||||
[[https://github.com/emacsmirror/mixed-pitch][Mixed pitch]] is a minor mode that enables mixing fixed-pitch (also known as fixed-width or monospace) and variable-pitch (AKA “proportional”) fonts. It tries to be smart about which fonts get which face.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package mixed-pitch
|
||||
:hook
|
||||
(text-mode . mixed-pitch-mode))
|
||||
#+end_src
|
||||
** Zooming or Increasing Font Size
|
||||
Do we want to increase the size of font in a single window (using =text-scale-increase=), or globally (using my new =font-size-increase=)?
|
||||
|
||||
|
|
|
@ -58,12 +58,6 @@ Let's get our feeds from a collection of org mode files. By default, Doom config
|
|||
(elfeed-search-update))
|
||||
#+end_src
|
||||
|
||||
Let’s turn on non-fixed-width fonts to make everything easier to read:
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package elfeed
|
||||
:hook (elfeed-show-mode . variable-pitch-mode))
|
||||
#+end_src
|
||||
|
||||
According to Ben Maughan and [[http://pragmaticemacs.com/emacs/to-eww-or-not-to-eww/][this Pragmatic Emacs essay]], we could easily browse an article in the GUI browser instead of EWW with capital B:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
|
|
@ -268,13 +268,6 @@ And decrease the prominence of the property drawers:
|
|||
(set-face-attribute 'org-property-value nil :height 0.85)
|
||||
(set-face-attribute 'org-special-keyword nil :height 0.85)
|
||||
#+end_src
|
||||
This process allows us to use =variable-pitch= mode for all org documents.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package org
|
||||
;; TODO: Using the latest org-mode
|
||||
;; :straight (:type built-in)
|
||||
:hook (org-mode . variable-pitch-mode))
|
||||
#+end_src
|
||||
* Org Modern
|
||||
The [[https://github.com/minad/org-modern][org-modern]] project attempts to do a lot of what I was doing in this file.
|
||||
#+begin_src emacs-lisp
|
||||
|
|
|
@ -1039,7 +1039,6 @@ Also, I like Markdown is look like a word processor, similarly to my org files:
|
|||
:mode ((rx ".md" string-end) . gfm-mode)
|
||||
:init (setq markdown-command "multimarkdown"
|
||||
markdown-header-scaling t)
|
||||
:hook (markdown-mode . variable-pitch-mode)
|
||||
:general
|
||||
(:states 'normal :no-autoload t :keymaps 'markdown-mode-map
|
||||
", l" '("insert link" . markdown-insert-link) ; Also C-c C-l
|
||||
|
@ -1090,7 +1089,6 @@ Using [[https://polymode.github.io/][polymode]], let’s add syntax coloring to
|
|||
Support for [[https://docutils.sourceforge.io/rst.html][reStructuredText]] is [[https://www.emacswiki.org/emacs/reStructuredText][well supported]] in Emacs.
|
||||
#+begin_src emacs-lisp
|
||||
(use-package rst
|
||||
:hook (rst-mode . variable-pitch-mode)
|
||||
:config
|
||||
(set-face-attribute 'rst-literal nil :font ha-fixed-font))
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue