From 8275dafb71c83158439a2832397c1e997c6b713a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 1 Feb 2021 10:52:36 -0600 Subject: work updates --- config.org | 93 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 59 insertions(+), 34 deletions(-) diff --git a/config.org b/config.org index eceff89..8daa8a0 100644 --- a/config.org +++ b/config.org @@ -224,7 +224,7 @@ wide. #+end_src #+begin_src emacs-lisp :noweb-ref hooks - (add-hook 'visual-line-mode-hook #'visual-fill-column-mode) +; (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)) @@ -658,6 +658,14 @@ minor-modes from the modeline. :repo "raxod502/blackout")) #+end_src +**** Which-function mode + +Shows where we are in the modeline. + +#+begin_src emacs-lisp :noweb-ref modes + (which-function-mode +1) +#+end_src + *** Setting faces It took me a while to find a function that'll let me customize faces @@ -760,7 +768,12 @@ to /hide/ those contents. read-file-name-completion-ignore-case t) #+end_src -*** Selectrum :package: +*** COMMENT Selectrum :package: + +*COMMENT 2021-02-01*: For some reason, selectrum will randomly do a thing where +it, like, flashes up and down in the minibuffer? I don't know how to explain +it, it's super weird. I guess I should file a bug report ... but until then, +I'll just use =icomplete-vertical=. My minibuffer completion system uses =selectrum=, =prescient=, =company=, and =marginalia=. At some point, I'd like to take a deep dive in =embark= @@ -775,6 +788,17 @@ for now .... I just want to see my completions. (selectrum-mode +1) #+end_src +*** Icomplete + +#+begin_src emacs-lisp :noweb-ref packages + (straight-use-package 'icomplete-vertical) +#+end_src + +#+begin_src emacs-lisp :noweb-ref modes + (icomplete-mode +1) + (icomplete-vertical-mode +1) +#+end_src + *** Prescient :package: #+begin_src emacs-lisp :noweb-ref packages @@ -1929,7 +1953,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 @@ -1949,8 +1973,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://rachelbythebay.com/w/atom.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) ("http://blog.z3bra.org/rss/feed.xml" blags tech) @@ -1961,9 +1984,9 @@ 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) - (,(concat - "https://lemmy.ml/feeds/front/" ; long-ass url + ("https://blog.ebrpl.com/feed/" work) + (,(concat ; long-ass url + "https://lemmy.ml/feeds/front/" "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9." "eyJpZCI6MTY4MjQsImlzcyI6ImxlbW15Lm1sIn0" ".yE2zUGjvlEuTZZi3TiF9HR7L7ITM9f_" @@ -1974,34 +1997,36 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast (,(concat ; long-ass url "https://tilde.news/rss?token=" "FvdFj8rQkhrBy9j1yON1t6RYKDdcuG1MoUlyvRICmbgDGCf2JTWAEObDhdgt") - news tildes tech) - ("https://www.acdw.net/atom.xml" fwends) + news tilde tech) + ("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://aiweirdness.com/rss" tech))) + ("http://tilde.town/~lucidiot/fridaypostcard.xml" tilde art) + ("https://quasivoid.net/feed.atom" tilde) + ("https://benjaminwil.info/feed.xml" tilde fwends) + ("https://benjaminwil.info/antisocial/feed.xml" tilde) + ("https://blog.ryliejamesthomas.net/feed/" tilde) + ("https://p1k3.com/feed" tilde) + ("https://cosmic.voyage/rss.xml" tilde fiction sci-fi) + ("https://jackreid.xyz/index.xml" tilde) + ("http://lambdacreate.com/static/feed.rss" tilde fwends) + ("https://gaffen.co.uk/feed.xml" tilde) + ("https://gmb.21x2.net/rss.xml" tilde) + ("https://www.insom.me.uk/feed.xml" tilde) + ("https://invisibleup.com/atom.xml" tilde) + ("https://m455.casa/feed.rss" tilde fwends) + ("https://petras.space/index.xml" tilde) + ("https://www.benovermyer.com/post/index.xml" tilde) + ("https://tilde.town/~trm/blog/atom.xml" tilde) + ("https://tilde.team/feed.rss" tilde) + ("http://ajroach42.com/feed.xml" tilde) + ("http://tilde.town/~mroik/blog/rss.xml" tilde) + ("https://hamster.dance/blog/rss/" tilde) + ("https://m455.neocities.org/feed.rss" tilde fwends) + ("https://eli.li/feed.rss" tilde fwends) + ("https://aiweirdness.com/rss" tech) + ("http://tilde.town/~m455/javapool.rss" tilde) + )) #+end_src *** COMMENT Elfeed-protocol -- cgit 1.4.1-21-gabe81 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 From 8956d173a37cd1a18aa2036156f63cc2d5d05bc5 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 16:18:20 -0600 Subject: Switch out icomplete for selectrum --- config.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 17faf7f..4877dcb 100644 --- a/config.org +++ b/config.org @@ -749,7 +749,7 @@ to /hide/ those contents. read-file-name-completion-ignore-case t) #+end_src -*** COMMENT Selectrum :package: +*** Selectrum :package: *COMMENT 2021-02-01*: For some reason, selectrum will randomly do a thing where it, like, flashes up and down in the minibuffer? I don't know how to explain @@ -769,7 +769,7 @@ for now .... I just want to see my completions. (selectrum-mode +1) #+end_src -*** Icomplete +*** COMMENT Icomplete #+begin_src emacs-lisp :noweb-ref packages (straight-use-package 'icomplete-vertical) -- cgit 1.4.1-21-gabe81 From baee294ae2cdcfade65676274b418282928f343a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 17:53:06 -0600 Subject: Add elfeed db as a submodule --- .gitignore | 3 +++ .gitmodules | 3 +++ var/elfeed/db | 1 + 3 files changed, 7 insertions(+) create mode 100644 .gitmodules create mode 160000 var/elfeed/db diff --git a/.gitignore b/.gitignore index e7db798..82566c8 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,9 @@ !var/ var/* !var/elpher-bookmarks.el +!var/elfeed/ +var/elfeed/* +!var/elfeed/db !etc/ etc/* diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..017ee57 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "var/elfeed/db"] + path = var/elfeed/db + url = https://tildegit.org/acdw/elfeed-db diff --git a/var/elfeed/db b/var/elfeed/db new file mode 160000 index 0000000..d3b0798 --- /dev/null +++ b/var/elfeed/db @@ -0,0 +1 @@ +Subproject commit d3b0798c4d07ffec773a522bc1b50cf857b4041b -- cgit 1.4.1-21-gabe81 From dc30a4c7558d67dfc3f2c673999a5307151c582f Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 17:57:14 -0600 Subject: Change elfeed-show-mode-hook --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index 4877dcb..5dba137 100644 --- a/config.org +++ b/config.org @@ -1947,7 +1947,7 @@ See [[https://github.com/redguardtoo/mastering-emacs-in-one-year-guide/blob/mast #+begin_src emacs-lisp :noweb-ref hooks (defun hook--elfeed-show () - (visual-line-mode +1)) + (visual-fill-column-mode +1)) (add-hook 'elfeed-show-mode-hook #'hook--elfeed-show) #+end_src -- cgit 1.4.1-21-gabe81 From ec9a06bf004853e05d5579746e36e0f3ba10cfe2 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 4 Feb 2021 17:58:29 -0600 Subject: Update elfeed-db A submodule is probably literally the worst way to do this. --- var/elfeed/db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/elfeed/db b/var/elfeed/db index d3b0798..775f089 160000 --- a/var/elfeed/db +++ b/var/elfeed/db @@ -1 +1 @@ -Subproject commit d3b0798c4d07ffec773a522bc1b50cf857b4041b +Subproject commit 775f08926041efaed1b1402cfe5eba0938648665 -- cgit 1.4.1-21-gabe81