aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/elfeed.org26
-rw-r--r--config/emacs.el37
-rw-r--r--config/emacs.org28
3 files changed, 84 insertions, 7 deletions
diff --git a/config/elfeed.org b/config/elfeed.org
index f898995..5f5db9c 100644
--- a/config/elfeed.org
+++ b/config/elfeed.org
@@ -38,7 +38,9 @@ I like to get new information about recent studies related to technology.
*** [[http://www.nature.com/nmat/current_issue/rss/][Nature]]
Nature is a prestigious journal with a good bit of good content.
** YouTube :youtube:
-These are YouTube channels that I find interesting enough to keep up with:
+These are YouTube channels that I find interesting enough to keep up with. Note that I keep
+up with a variety of thinkers that I may or may not disagree with, but they are nonetheless
+the most intellectual version of what their general cohort say:
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g][PBS Space Time]]
PBS space time is a channel that discusses various (sometimes cutting edge) topics in Physics in an expert manner.
I find that they are highly accurate, and the host is highly educated in Physics.
@@ -47,6 +49,28 @@ ScienceClic is another YouTube channel that does an especially good job at cover
*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCMxiv15iK_MFayY_3fU9loQ][UnHerd]] :podcast:
UnHerd is one of the best, most interesting political podcasts, period, in my opinion. Though, do note that learning
about politics is kind of pointless.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC8oZG4c6FzOX4pbdpZBeCPw][Huey Li]]
+He's a comedian and kind of a China hater.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC554eY5jNUfDq3yDOJYirOQ][Destiny]]
+He debates people on various issues.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCYO_jab_esuFRV4b17AJtAw][3blue1brown]]
+Makes really good educational videos. I hope to make videos like this one day.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCGSGPehp0RWfca-kENgBJ9Q][Jreg]]
+Makes good videos about basically anything.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA][Luke Smith]]
+Makes good videos about Linux and life stuff.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCSNBahoyPlMUz-3U2e_Czcw][Bridges]] :podcast:
+This podcast is run by Destiny, and it features good guests.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCdBXOyqr8cDshsp7kcKDAkg][Big A]]
+Marketing Monday features good economics content.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCTpmmkp1E4nmZqWPS-dl5bg][Quanta Magazine]]
+See above.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC5PPbhNfajmhPq7RvkMgVmw][Ceadda of Mercia]]
+Videos about NRx.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA][Mental Outlaw]]
+Linux videos.
+*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCU1oodg2ptN51N5rwevwnng][Unlearning Economics]]
+Videos about economics from a Marxist perspective.
** Misc.
This is a section dedicated to everything that does not fit the above categories
or is newly added from [[file:qutebrowser.org][Qutebrowser]] with the xr keybinding.
diff --git a/config/emacs.el b/config/emacs.el
index ef53838..4eba87a 100644
--- a/config/emacs.el
+++ b/config/emacs.el
@@ -1,3 +1,7 @@
+(setq system-email "ret2pop@gmail.com")
+(setq system-username "prestonpan")
+(setq system-fullname "Preston Pan")
+
(require 'tex-site)
(pixel-scroll-precision-mode 1)
(setq scroll-conservatively 101)
@@ -353,8 +357,8 @@ Otherwise, just insert the typed character."
(use-package magit)
(setq
- erc-nick "prestonpan"
- erc-user-full-name "Preston Pan")
+ erc-nick system-username
+ erc-user-full-name system-fullname)
(defun prestonpan ()
(interactive)
@@ -451,6 +455,29 @@ Otherwise, just insert the typed character."
:config
(elfeed-org))
+(use-package elfeed-tube
+ :after elfeed
+ :demand t
+ :config
+ ;; (setq elfeed-tube-auto-save-p nil) ; default value
+ ;; (setq elfeed-tube-auto-fetch-p t) ; default value
+ (elfeed-tube-setup)
+
+ :bind (:map elfeed-show-mode-map
+ ("F" . elfeed-tube-fetch)
+ ([remap save-buffer] . elfeed-tube-save)
+ :map elfeed-search-mode-map
+ ("F" . elfeed-tube-fetch)
+ ([remap save-buffer] . elfeed-tube-save)))
+
+(use-package elfeed-tube-mpv
+ :bind (:map elfeed-show-mode-map
+ ("C-c C-f" . elfeed-tube-mpv-follow-mode)
+ ("C-c C-c" . elfeed-tube-mpv)
+ ("C-c C-w" . elfeed-tube-mpv-where)
+ :map elfeed-search-mode-map
+ ("M" . elfeed-tube-mpv)))
+
(use-package treemacs)
(use-package treemacs-evil
:after (treemacs evil))
@@ -506,8 +533,8 @@ Otherwise, just insert the typed character."
;; (latex-preview-pane-enable))
;; SMTP settings:
-(setq user-mail-address "ret2pop@gmail.com")
-(setq user-full-name "Preston Pan")
+(setq user-mail-address system-email)
+(setq user-full-name system-fullname)
(setq sendmail-program "msmtp"
send-mail-function 'smtpmail-send-it
message-sendmail-f-is-evil t
@@ -529,7 +556,7 @@ Otherwise, just insert the typed character."
(setq mu4e-compose-dont-reply-to-self t)
(setq mu4e-change-filenames-when-moving t)
(setq mu4e-get-mail-command "mbsync ret2pop")
- (setq mu4e-compose-reply-ignore-address '("no-?reply" "ret2pop@gmail.com"))
+ (setq mu4e-compose-reply-ignore-address (list "no-?reply" system-email))
(setq mu4e-html2text-command "w3m -T text/html" ; how to hanfle html-formatted emails
mu4e-update-interval 300 ; seconds between each mail retrieval
mu4e-headers-auto-update t ; avoid to type `g' to update
diff --git a/config/emacs.org b/config/emacs.org
index 373a5e2..18841ab 100644
--- a/config/emacs.org
+++ b/config/emacs.org
@@ -554,6 +554,32 @@ elfeed to fetch feeds found on my website:
:config
(elfeed-org))
#+end_src
+Then we set up elfeed-tube for Youtube video RSS feeds (so I don't ever have to use the web
+interface and can control it from emacs):
+#+begin_src emacs-lisp
+ (use-package elfeed-tube
+ :after elfeed
+ :demand t
+ :config
+ ;; (setq elfeed-tube-auto-save-p nil) ; default value
+ ;; (setq elfeed-tube-auto-fetch-p t) ; default value
+ (elfeed-tube-setup)
+
+ :bind (:map elfeed-show-mode-map
+ ("F" . elfeed-tube-fetch)
+ ([remap save-buffer] . elfeed-tube-save)
+ :map elfeed-search-mode-map
+ ("F" . elfeed-tube-fetch)
+ ([remap save-buffer] . elfeed-tube-save)))
+
+ (use-package elfeed-tube-mpv
+ :bind (:map elfeed-show-mode-map
+ ("C-c C-f" . elfeed-tube-mpv-follow-mode)
+ ("C-c C-c" . elfeed-tube-mpv)
+ ("C-c C-w" . elfeed-tube-mpv-where)
+ :map elfeed-search-mode-map
+ ("M" . elfeed-tube-mpv)))
+#+end_src
** Project Drawer
#+begin_src emacs-lisp
(use-package treemacs)
@@ -651,7 +677,7 @@ Email in emacs can be done with Mu4e.
(setq mu4e-compose-dont-reply-to-self t)
(setq mu4e-change-filenames-when-moving t)
(setq mu4e-get-mail-command "mbsync ret2pop")
- (setq mu4e-compose-reply-ignore-address (add-to-list '("no-?reply") system-email))
+ (setq mu4e-compose-reply-ignore-address (list "no-?reply" system-email))
(setq mu4e-html2text-command "w3m -T text/html" ; how to hanfle html-formatted emails
mu4e-update-interval 300 ; seconds between each mail retrieval
mu4e-headers-auto-update t ; avoid to type `g' to update