From f6aef4673ee17af2a66f155253518a9d0f27f9ae Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 26 Jun 2025 16:52:22 -0500 Subject: Thursday, June 26, 2025 at 04:52:27 PM CDT --- assets/abbrev_defs | 9 +++++-- assets/elfeed-dashboard.org | 1 - assets/elfeed-feeds.org | 8 +++--- todo.org | 63 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 74 insertions(+), 7 deletions(-) diff --git a/assets/abbrev_defs b/assets/abbrev_defs index 1fa02e908..d23885e0b 100644 --- a/assets/abbrev_defs +++ b/assets/abbrev_defs @@ -42,6 +42,7 @@ ("anually" "annually" nil :count 0) ("aparent" "apparent" nil :count 0) ("aparrent" "apparent" nil :count 0) + ("appaling" "appalling" nil :count 0) ("apparant" "apparent" nil :count 0) ("aquaintance" "acquaintance" nil :count 0) ("aquire" "acquire" nil :count 0) @@ -75,7 +76,6 @@ ("calender" "calendar" nil :count 0) ("camoflage" "camouflage" nil :count 0) ("camoflague" "camouflage" nil :count 0) - ("cancelled" "i'd" nil :count 0) ("carribean" "caribbean" nil :count 0) ("catagory" "category" nil :count 0) ("caugt" "caught" nil :count 0) @@ -93,6 +93,7 @@ ("colum" "column" nil :count 0) ("comitted" "committed" nil :count 0) ("commited" "committed" nil :count 0) + ("commmitting" "not" nil :count 0) ("communicaiton" "communication" nil :count 1) ("comparsion" "comparison" nil :count 0) ("competetive" "competitive" nil :count 0) @@ -153,6 +154,7 @@ ("finidng" "finding" nil :count 0) ("finshed" "finished" nil :count 0) ("firey" "fiery" nil :count 0) + ("firsst" "" nil :count 0) ("flekey" "is" nil :count 0) ("forevr" "forever" nil :count 0) ("foriegn" "foreign" nil :count 0) @@ -244,7 +246,7 @@ ("onlly" "i'm" nil :count 0) ("oppositiion" "the" nil :count 0) ("orignal" "original" nil :count 0) - ("ot" "to" nil :count 9) + ("ot" "to" nil :count 10) ("otehr" "other" nil :count 3) ("otes" "notes" nil :count 0) ("outgoign" "outgoing" nil :count 0) @@ -282,6 +284,7 @@ ("readible" "readable" nil :count 0) ("realy" "really" nil :count 0) ("reat" "great" nil :count 0) + ("recceived" "payment's" nil :count 0) ("rececently" "recently" nil :count 0) ("rececipts" "receipts" nil :count 0) ("receivved" "received" nil :count 0) @@ -295,6 +298,7 @@ ("relevent" "relevant" nil :count 0) ("religius" "religious" nil :count 0) ("religous" "religious" nil :count 0) + ("remeditation" "schedule" nil :count 0) ("removign" "removing" nil :count 0) ("repitition" "repetition" nil :count 0) ("requireemnts" "requirements" nil :count 0) @@ -365,5 +369,6 @@ ("windsheild" "windshield" nil :count 0) ("withold" "withhold" nil :count 0) ("workign" "working" nil :count 3) + ("wouldln't" "it" nil :count 0) )) diff --git a/assets/elfeed-dashboard.org b/assets/elfeed-dashboard.org index 85361df9b..8f079d94a 100644 --- a/assets/elfeed-dashboard.org +++ b/assets/elfeed-dashboard.org @@ -43,7 +43,6 @@ #+STARTUP: showall showstars indent #+KEYMAP: u | elfeed-dashboard-query "+unread" #+KEYMAP: m | elfeed-dashboard-query "+unread +mustread" - #+KEYMAP: p | elfeed-dashboard-query "+unread +podcasts" #+KEYMAP: v | elfeed-dashboard-query "+unread +videos" #+KEYMAP: h | elfeed-dashboard-query "+unread +hackernews" #+KEYMAP: l | elfeed-dashboard-query "+unread +lobsters" diff --git a/assets/elfeed-feeds.org b/assets/elfeed-feeds.org index 38ca1c3c3..42281faa1 100644 --- a/assets/elfeed-feeds.org +++ b/assets/elfeed-feeds.org @@ -12,8 +12,8 @@ *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC8butISFwT-Wl7EV0hUK0BQ][Code Camp]] :code: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCfa-XVztQrDlf-2v1UUdkwg][David Canterbury]] :camp: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCwuyodzTl_KdEKNuJmeo99A][Emacs Conference Videos]] :emacs: -*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCnxuOd8obvLLtf5_-YKFbiQ][Ezra Klein Show]] :commentary: -*** [[https://feeds.megaphone.fm/WMHY7703459968][Fareed Zakaria GPS]] :commentary: +*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCnxuOd8obvLLtf5_-YKFbiQ][Ezra Klein Show]] :commentary:ezraklein: +*** [[https://feeds.megaphone.fm/WMHY7703459968][Fareed Zakaria GPS]] :commentary:zakaria: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCs_tLP3AiwYKwdUHpltJPuA][GOTO Conferences]] :code: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC_hukbByJP7OZ3Xm2tszacQ][Jeffrey Kaplan]] :philosophy: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCmGSJVG3mCRXVOP4yZrU1Dw][Johnny Harris]] :history:commentary: @@ -27,8 +27,8 @@ *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA][Mental Outlaw]] :security: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCxkMDXQ5qzYOgXPRnOBrp1w][Mike Zamansky]] :emacs: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCSuHzQ3GrHSzoBbwrIq3LLA][Naomi Brockwell]] :security: -*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCBHGZpDF2fsqPIPi0pNyuTg][Pivot]] :commentary: -*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC1E1SVcVyU3ntWMSQEp38Yw][Prof G Podcast]] :commentary: +*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCBHGZpDF2fsqPIPi0pNyuTg][Pivot]] :commentary:pivot: +*** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC1E1SVcVyU3ntWMSQEp38Yw][Prof G Podcast]] :commentary:profg: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UC0uTPqBCFIpZxlz_Lv1tk_g][Protesilaos Stavrou]] :emacs: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCpjlh0e319ksmoOD7bQFSiw][Rich Roll]] :interviews: *** [[https://www.youtube.com/feeds/videos.xml?channel_id=UCsxwneBx6apV1mQ7CbWKfXQ][Robinson Erhardt]] :interviews: diff --git a/todo.org b/todo.org index bd9e2ae69..889eac435 100644 --- a/todo.org +++ b/todo.org @@ -85,6 +85,69 @@ Captured On: [2025-05-29 Thu 04:24] [[https://jao.io/blog/signel.html][signel, a barebones signal chat on top of signal-cli]] Captured On: [2025-05-29 Thu 04:23] +** TODO Test This Method for Alarms In Emacs +#+BEGIN_QUOTE + + +I am quite happy with the system I use, which does (I think) exactly what you want. It has two parts: an Emacs part that uses appt.el to schedule the reminders and a small shell program (I'm using Linux) that creates the popup + sound notification. Here I share the code for both parts. + +A) Code in ~/.emacs.d/init.el + +(require 'appt) +(appt-activate t) + +(setq appt-message-warning-time 5) ; Show notification 5 minutes before event +(setq appt-display-interval appt-message-warning-time) ; Disable multiple reminders +(setq appt-display-mode-line nil) + +; Use appointment data from org-mode +(defun my-org-agenda-to-appt () + (interactive) + (setq appt-time-msg-list nil) + (org-agenda-to-appt)) + +; Update alarms when... +; (1) ... Starting Emacs +(my-org-agenda-to-appt) + +; (2) ... Everyday at 12:05am (useful in case you keep Emacs always on) +(run-at-time "12:05am" (* 24 3600) 'my-org-agenda-to-appt) + +; (3) ... When TODO.txt is saved +(add-hook 'after-save-hook + '(lambda () + (if (string= (buffer-file-name) (concat (getenv "HOME") "/ideas/TODO.txt")) + (my-org-agenda-to-appt)))) + +; Display appointments as a window manager notification +(setq appt-disp-window-function 'my-appt-display) +(setq appt-delete-window-function (lambda () t)) + +(setq my-appt-notification-app (concat (getenv "HOME") "/bin/appt-notification")) + +(defun my-appt-display (min-to-app new-time msg) + (if (atom min-to-app) + (start-process "my-appt-notification-app" nil my-appt-notification-app min-to-app msg) + (dolist (i (number-sequence 0 (1- (length min-to-app)))) + (start-process "my-appt-notification-app" nil my-appt-notification-app (nth i min-to-app) (nth i msg))))) + +B) Code in ~/bin/appt-notification + +#!/bin/sh + +TIME="$1" +MSG="$2" + +notify-send -t 0 "
Appointment in $TIME minutes:
$MSG
" +play "~/bin/alarm.wav" + +To get voice notifications you could replace the last line (play) with the following: + +espeak "Appointment in $TIME minutes: $MSG" +#+END_QUOTE +[[https://emacs.stackexchange.com/questions/3844/good-methods-for-setting-up-alarms-audio-visual-triggered-by-org-mode-events][Good methods for setting up alarms (audio + visual) triggered by org-mode events? - Emacs Stack Exchange]] +Captured On: [2025-06-19 Thu 12:29] +** TODO [#C] Emacs: Should adding tasks add it to Projects and Tasks in the inbox file? * Emacs Project Ideas/References ** emacs-tw/awesome-elisp: 🏵️ A curated list of Emacs Lisp development resources [[https://github.com/emacs-tw/awesome-elisp][emacs-tw/awesome-elisp: 🏵️ A curated list of Emacs Lisp development resources]] -- cgit v1.2.3