From 65ca648248acbf5d8530886881db136799daa6fb Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 3 Feb 2021 09:10:08 -0600 Subject: Add feed --- config.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index eceff89..189bafd 100644 --- a/config.org +++ b/config.org @@ -2001,7 +2001,9 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast ("https://hamster.dance/blog/rss/" tildes) ("https://m455.neocities.org/feed.rss" tildes fwends) ("https://eli.li/feed.rss" tildes fwends) - ("https://aiweirdness.com/rss" tech))) + ("https://aiweirdness.com/rss" tech) + ("https://spwhitton.name/blog/index.rss" blags) + )) #+end_src *** COMMENT Elfeed-protocol -- cgit 1.4.1-21-gabe81 From 039bed0dae73d9724000c48758498d3e42e91695 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 3 Feb 2021 09:11:15 -0600 Subject: Change elfeed entry pane position --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index 189bafd..21120c6 100644 --- a/config.org +++ b/config.org @@ -1929,7 +1929,7 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast #+end_src #+begin_src emacs-lisp :noweb-ref settings - (setq-default elfeed-goodies/entry-pane-position 'bottom + (setq-default elfeed-goodies/entry-pane-position 'top elfeed-goodies/powerline-default-separator nil elfeed-goodies/tag-column-width 16) #+end_src -- cgit 1.4.1-21-gabe81 From 773255857f68f2870c9a1dd1de1584d972022356 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 3 Feb 2021 12:49:09 -0600 Subject: Change visual-fill-column and visual-line modes --- config.org | 61 ++++++++++++++++++++++--------------------------------------- 1 file changed, 22 insertions(+), 39 deletions(-) diff --git a/config.org b/config.org index 21120c6..41eec49 100644 --- a/config.org +++ b/config.org @@ -210,26 +210,6 @@ This is extremely fiddly and I'd love another option. (define-key acdw/map (kbd "M-o") #'crux-other-window-or-switch-buffer) #+end_src -*** Visual fill column mode - -In reading-intensive views, this mode keeps the text from getting too -wide. - -#+begin_src emacs-lisp :noweb-ref packages - (straight-use-package 'visual-fill-column) -#+end_src - -#+begin_src emacs-lisp :noweb-ref settings - (setq-default visual-fill-column-center-text t) -#+end_src - -#+begin_src emacs-lisp :noweb-ref hooks - (add-hook 'visual-line-mode-hook #'visual-fill-column-mode) - - (with-eval-after-load 'visual-fill-column - (advice-add 'text-scale-adjust :after #'visual-fill-column-adjust)) -#+end_src - *** The *Help* window I want to select the *Help* window by default, so I can easily quit it. @@ -1270,30 +1250,13 @@ that's the only time I accidentally call it, anyway. *** Auto-fill vs. Visual-line -I've mostly been using visual-line mode, and it's been pretty good. -There are some times, however, when lines are just ... really long, -and they wrap weird or whatever. Not to mention, in Org mode, -=visual-line-mode= screws up the bindings for line movement. So -here's what I'm going to do. - -1. Enable =visual-line-mode= with =text-mode=, but /not/ with - =org-mode=. - - #+begin_src emacs-lisp :noweb-ref hooks - (defun hook--visual-line-mode () - (unless (eq major-mode 'org-mode) - (visual-line-mode +1))) - - (add-hook 'text-mode-hook #'hook--visual-line-mode) - #+end_src - -2. Enable =auto-fill-mode= with text modes. +1. Enable =auto-fill-mode= with text modes. #+begin_src emacs-lisp :noweb-ref hooks (add-hook 'text-mode-hook #'auto-fill-mode) #+end_src -3. /Just/ in case ... let's "fix" =visual-line-mode= if we're in =org-mode=. +2. /Just/ in case ... let's "fix" =visual-line-mode= if we're in =org-mode=. #+begin_src emacs-lisp :noweb-ref hooks (defun hook--visual-line-fix-org-keys () @@ -1310,6 +1273,26 @@ I think that'll work -- I only care about line aesthetics with text. Programming modes should be /allowed/ to have long lines, regardless of how /terrible/ it is to have them. +*** Visual fill column mode + +In reading-intensive views, this mode keeps the text from getting too +wide. + +#+begin_src emacs-lisp :noweb-ref packages + (straight-use-package 'visual-fill-column) +#+end_src + +#+begin_src emacs-lisp :noweb-ref settings + (setq-default visual-fill-column-center-text t) +#+end_src + +#+begin_src emacs-lisp :noweb-ref hooks + (add-hook 'visual-fill-column-mode-hook #'visual-line-mode) + + (with-eval-after-load 'visual-fill-column + (advice-add 'text-scale-adjust :after #'visual-fill-column-adjust)) +#+end_src + *** Stay snappy with long-lined files #+begin_src emacs-lisp :noweb-ref modes -- cgit 1.4.1-21-gabe81 From 201662e822c0ee99e69531930dd2dbc72c6db2df Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 3 Feb 2021 12:49:42 -0600 Subject: Add feed --- config.org | 1 + 1 file changed, 1 insertion(+) diff --git a/config.org b/config.org index 41eec49..ef4b912 100644 --- a/config.org +++ b/config.org @@ -1933,6 +1933,7 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast #+begin_src emacs-lisp :noweb-ref settings (setq elfeed-feeds `( + ("https://atthis.link/rss.xml" blags tech) ("https://rachelbythebay.com/w/atom.xml" blags tech) ("https://notes.neeasade.net/rss_full.xml" blags tech) ("https://www.uninformativ.de/blog/feeds/en.atom" blags tech) -- cgit 1.4.1-21-gabe81 From b6106f27b066f8595ef88b343cfb3170bbd0cae0 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 11:04:14 -0600 Subject: Comment out fixed-pitch font It inherits from default. --- config.org | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config.org b/config.org index ef4b912..845de14 100644 --- a/config.org +++ b/config.org @@ -385,9 +385,9 @@ On Linux, I have a custom build of Iosevka that I like. :family "Iosevka Acdw" :height 105) - (set-face-attribute 'fixed-pitch nil - :family "Iosevka Acdw" - :height 105) + ;; (set-face-attribute 'fixed-pitch nil + ;; :family "Iosevka Acdw" + ;; :height 105) #+end_src But on Windows, I use Consolas. @@ -400,6 +400,9 @@ But on Windows, I use Consolas. (set-face-attribute 'fixed-pitch nil :family "Consolas" :height 110) + ;; (set-face-attribute 'fixed-pitch nil + ;; :family "Consolas" + ;; :height 100) #+end_src *** Underlines -- cgit 1.4.1-21-gabe81 From 8d601e4c154723729645d29744bbe4c158e58ac4 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 11:04:46 -0600 Subject: Change Windows font height With a wider fill-column, I need a smaller font to fit a half-monitor-width window. --- config.org | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config.org b/config.org index 845de14..016207b 100644 --- a/config.org +++ b/config.org @@ -395,11 +395,8 @@ But on Windows, I use Consolas. #+begin_src emacs-lisp :noweb-ref windows-specific (set-face-attribute 'default nil :family "Consolas" - :height 110) + :height 100) - (set-face-attribute 'fixed-pitch nil - :family "Consolas" - :height 110) ;; (set-face-attribute 'fixed-pitch nil ;; :family "Consolas" ;; :height 100) -- cgit 1.4.1-21-gabe81 From cecef505681acbd7759daf800bfa2732a593cf72 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 11:06:54 -0600 Subject: Add The Advocate --- config.org | 1 + 1 file changed, 1 insertion(+) diff --git a/config.org b/config.org index 016207b..eec8ab1 100644 --- a/config.org +++ b/config.org @@ -1987,6 +1987,7 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast ("https://eli.li/feed.rss" tildes fwends) ("https://aiweirdness.com/rss" tech) ("https://spwhitton.name/blog/index.rss" blags) + ("https://www.theadvocate.com/search/?f=rss&t=article&l=50" news) )) #+end_src -- cgit 1.4.1-21-gabe81 From 3dcf6cd0458c2118e7cba10bf783583385fc55cc Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 11:08:39 -0600 Subject: Whitespace --- config.org | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/config.org b/config.org index eec8ab1..2086a54 100644 --- a/config.org +++ b/config.org @@ -1945,7 +1945,7 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast ("https://www.murilopereira.com/index.xml" blags tech) ("https://botanistinthekitchen.blog/feed/" blags food) ("https://www.careercenterbr.com/feed/" work) - ("https://blog.ebrpl.com/feed/" work) + ("https://blog.ebrpl.com/feed/" work) (,(concat "https://lemmy.ml/feeds/front/" ; long-ass url "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9." @@ -1959,32 +1959,32 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast "https://tilde.news/rss?token=" "FvdFj8rQkhrBy9j1yON1t6RYKDdcuG1MoUlyvRICmbgDGCf2JTWAEObDhdgt") news tildes tech) - ("https://www.acdw.net/atom.xml" fwends) + ("https://www.acdw.net/atom.xml" fwends) ("https://envs.net/~lucidiot/rsrsss/feed.xml" fwends) ("https://planet.emacslife.com/atom.xml" emacs) ("http://tilde.town/~lucidiot/fridaypostcard.xml" tildes art) - ("https://quasivoid.net/feed.atom" tildes) - ("https://benjaminwil.info/feed.xml" tildes fwends) - ("https://benjaminwil.info/antisocial/feed.xml" tildes) - ("https://blog.ryliejamesthomas.net/feed/" tildes) - ("https://p1k3.com/feed" tildes) - ("https://cosmic.voyage/rss.xml" tildes fiction sci-fi) - ("https://jackreid.xyz/index.xml" tildes) - ("http://lambdacreate.com/static/feed.rss" tildes fwends) - ("https://gaffen.co.uk/feed.xml" tildes) - ("https://gmb.21x2.net/rss.xml" tildes) - ("https://www.insom.me.uk/feed.xml" tildes) - ("https://invisibleup.com/atom.xml" tildes) - ("https://m455.casa/feed.rss" tildes fwends) - ("https://petras.space/index.xml" tildes) - ("https://www.benovermyer.com/post/index.xml" tildes) - ("https://tilde.town/~trm/blog/atom.xml" tildes) - ("https://tilde.team/feed.rss" tildes) - ("http://ajroach42.com/feed.xml" tildes) - ("http://tilde.town/~mroik/blog/rss.xml" tildes) - ("https://hamster.dance/blog/rss/" tildes) - ("https://m455.neocities.org/feed.rss" tildes fwends) - ("https://eli.li/feed.rss" tildes fwends) + ("https://quasivoid.net/feed.atom" tildes) + ("https://benjaminwil.info/feed.xml" tildes fwends) + ("https://benjaminwil.info/antisocial/feed.xml" tildes) + ("https://blog.ryliejamesthomas.net/feed/" tildes) + ("https://p1k3.com/feed" tildes) + ("https://cosmic.voyage/rss.xml" tildes fiction sci-fi) + ("https://jackreid.xyz/index.xml" tildes) + ("http://lambdacreate.com/static/feed.rss" tildes fwends) + ("https://gaffen.co.uk/feed.xml" tildes) + ("https://gmb.21x2.net/rss.xml" tildes) + ("https://www.insom.me.uk/feed.xml" tildes) + ("https://invisibleup.com/atom.xml" tildes) + ("https://m455.casa/feed.rss" tildes fwends) + ("https://petras.space/index.xml" tildes) + ("https://www.benovermyer.com/post/index.xml" tildes) + ("https://tilde.town/~trm/blog/atom.xml" tildes) + ("https://tilde.team/feed.rss" tildes) + ("http://ajroach42.com/feed.xml" tildes) + ("http://tilde.town/~mroik/blog/rss.xml" tildes) + ("https://hamster.dance/blog/rss/" tildes) + ("https://m455.neocities.org/feed.rss" tildes fwends) + ("https://eli.li/feed.rss" tildes fwends) ("https://aiweirdness.com/rss" tech) ("https://spwhitton.name/blog/index.rss" blags) ("https://www.theadvocate.com/search/?f=rss&t=article&l=50" news) -- cgit 1.4.1-21-gabe81 From 08395cc26d2d5b4b61d80f6073a8e9580f26818c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 12:26:09 -0600 Subject: Re-enable fixed-pitch The default fixed-pitch is ugly; I don't know why. --- config.org | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config.org b/config.org index 2086a54..6ca306e 100644 --- a/config.org +++ b/config.org @@ -385,9 +385,9 @@ On Linux, I have a custom build of Iosevka that I like. :family "Iosevka Acdw" :height 105) - ;; (set-face-attribute 'fixed-pitch nil - ;; :family "Iosevka Acdw" - ;; :height 105) + (set-face-attribute 'fixed-pitch nil + :family "Iosevka Acdw" + :height 105) #+end_src But on Windows, I use Consolas. @@ -397,9 +397,9 @@ But on Windows, I use Consolas. :family "Consolas" :height 100) - ;; (set-face-attribute 'fixed-pitch nil - ;; :family "Consolas" - ;; :height 100) + (set-face-attribute 'fixed-pitch nil + :family "Consolas" + :height 100) #+end_src *** Underlines -- cgit 1.4.1-21-gabe81 From 2afc43ca2c44e862b6fe4107d0da10e1edcfffce Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 12:27:00 -0600 Subject: Add a link to check out later --- config.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config.org b/config.org index 6ca306e..2ada3a3 100644 --- a/config.org +++ b/config.org @@ -1380,6 +1380,9 @@ It manages my whitespace for me, anyway. ** The Mark +see also +- [[https://spwhitton.name/blog/entry/transient-mark-mode/][Gnu Emacs' Transient Mark mode]], Sean Whitton + *** Repeat popping the mark without repeating the prefix argument #+begin_src emacs-lisp :noweb-ref settings -- cgit 1.4.1-21-gabe81