diff options
author | Case Duckworth | 2021-10-05 08:32:32 -0500 |
---|---|---|
committer | Case Duckworth | 2021-10-05 08:32:32 -0500 |
commit | 803ce1550a2eca1f1af591e858c1d35058abd0ea (patch) | |
tree | 6fe88871cabb9f157883eedd82cf0e484af03d22 | |
parent | Lisp stuff (diff) | |
download | emacs-803ce1550a2eca1f1af591e858c1d35058abd0ea.tar.gz emacs-803ce1550a2eca1f1af591e858c1d35058abd0ea.zip |
Add TODOs
-rw-r--r-- | TODO.org | 92 |
1 files changed, 35 insertions, 57 deletions
diff --git a/TODO.org b/TODO.org index 358320b..081ba03 100644 --- a/TODO.org +++ b/TODO.org | |||
@@ -99,36 +99,25 @@ e.g., “A gold watch” title-cases to “A gold Watch” | |||
99 | *** Inspo: From wsinatra | 99 | *** Inspo: From wsinatra |
100 | 100 | ||
101 | #+begin_src emacs-lisp | 101 | #+begin_src emacs-lisp |
102 | ;; Custom capture templates | 102 | ;; Custom capture templates (setq org-capture-templates '(("t" "Todo" entry |
103 | (setq org-capture-templates | 103 | (file org-default-notes-file) "* TODO %?\n%u\n%a\n" :clock-in t :clock-resume |
104 | '(("t" "Todo" entry (file org-default-notes-file) | 104 | t) ("e" "Event" entry (file org-default-notes-file) "* EVENT %? :EVENT:\n%t" |
105 | "* TODO %?\n%u\n%a\n" :clock-in t :clock-resume t) | 105 | :clock-in t :clock-resume t) ("i" "Idea" entry (file org-default-notes-file) |
106 | ("e" "Event" entry (file org-default-notes-file) | 106 | "* %? :IDEA: \n%t" :clock-in t :clock-resume t) ("p" "Project" entry (file |
107 | "* EVENT %? :EVENT:\n%t" :clock-in t :clock-resume t) | 107 | org-default-notes-file) "* PROJ %?\n%u\n%a\n" :clock-in t :clock-resume t) |
108 | ("i" "Idea" entry (file org-default-notes-file) | 108 | ("n" "Next Task" entry (file+headline org-default-notes-file "Tasks") "** |
109 | "* %? :IDEA: \n%t" :clock-in t :clock-resume t) | 109 | NEXT %? \nDEADLINE: %t"))) #+end_src |
110 | ("p" "Project" entry (file org-default-notes-file) | ||
111 | "* PROJ %?\n%u\n%a\n" :clock-in t :clock-resume t) | ||
112 | ("n" "Next Task" entry (file+headline | ||
113 | org-default-notes-file "Tasks") | ||
114 | "** NEXT %? \nDEADLINE: %t"))) | ||
115 | #+end_src | ||
116 | 110 | ||
117 | *** Also cf. [[https://blog.jethro.dev/posts/org_mode_workflow_preview/][Org-mode Workflow: A Preview · Jethro Kuan]] | 111 | *** Also cf. [[https://blog.jethro.dev/posts/org_mode_workflow_preview/][Org-mode Workflow: A Preview · Jethro Kuan]] |
118 | 112 | ||
119 | * Buffer display stuff | 113 | * Buffer display stuff |
120 | 114 | ||
121 | #+begin_src emacs-lisp | 115 | #+begin_src emacs-lisp |
122 | ;; from alphapapa | 116 | ;; from alphapapa (cl-defun ap/display-buffer-in-side-window (&optional |
123 | (cl-defun ap/display-buffer-in-side-window (&optional (buffer (current-buffer))) | 117 | (buffer (current-buffer))) "Display BUFFER in dedicated side window." |
124 | "Display BUFFER in dedicated side window." | 118 | (interactive) (let ((display-buffer-mark-dedicated t)) |
125 | (interactive) | 119 | (display-buffer-in-side-window buffer '((side . right) (window-parameters |
126 | (let ((display-buffer-mark-dedicated t)) | 120 | (no-delete-other-windows . t)))))) #+end_src |
127 | (display-buffer-in-side-window buffer | ||
128 | '((side . right) | ||
129 | (window-parameters | ||
130 | (no-delete-other-windows . t)))))) | ||
131 | #+end_src | ||
132 | 121 | ||
133 | - [[https://old.reddit.com/r/emacs/comments/pka1sm/my_first_package_aside_for_easier_configuration/][My first package: Aside, for easier configuration and use of side windows : | 122 | - [[https://old.reddit.com/r/emacs/comments/pka1sm/my_first_package_aside_for_easier_configuration/][My first package: Aside, for easier configuration and use of side windows : |
134 | emacs]] | 123 | emacs]] |
@@ -148,43 +137,30 @@ e.g., “A gold watch” title-cases to “A gold Watch” | |||
148 | ** A way to map over buffers | 137 | ** A way to map over buffers |
149 | 138 | ||
150 | #+begin_src emacs-lisp | 139 | #+begin_src emacs-lisp |
151 | (dolist (buf (mapcan (lambda (buf) | 140 | (dolist (buf (mapcan (lambda (buf) (with-current-buffer buf |
152 | (with-current-buffer buf | 141 | (circe-server-chat-buffers))) (circe-server-buffers))) |
153 | (circe-server-chat-buffers))) | 142 | (with-current-buffer buf ;; whatever u wanna do on |
154 | (circe-server-buffers))) | 143 | each buffer goes here (lui-set-prompt (concat |
155 | (with-current-buffer buf | 144 | (propertize (acdw-irc/margin-format (buffer-name) "" |
156 | ;; whatever u wanna do on each buffer goes here | 145 | ">") 'face 'circe-prompt-face 'read-only t 'intangible |
157 | (lui-set-prompt | 146 | t 'cursor-intangible t) " ")) (setq-local |
158 | (concat (propertize (acdw-irc/margin-format (buffer-name) | 147 | fringes-outside-margins t right-margin-width 5 |
159 | "" | 148 | scroll-margin 0 word-wrap t wrap-prefix (repeat-string |
160 | ">") | 149 | acdw-irc/left-margin " ") line-number-mode nil))) |
161 | 'face 'circe-prompt-face | 150 | #+end_src |
162 | 'read-only t 'intangible t | ||
163 | 'cursor-intangible t) | ||
164 | " ")) | ||
165 | (setq-local fringes-outside-margins t | ||
166 | right-margin-width 5 | ||
167 | scroll-margin 0 | ||
168 | word-wrap t | ||
169 | wrap-prefix (repeat-string | ||
170 | acdw-irc/left-margin " ") | ||
171 | line-number-mode nil))) | ||
172 | #+end_src | ||
173 | 151 | ||
174 | ** ZNC Connecting (from #systemcrafters) | 152 | ** ZNC Connecting (from #systemcrafters) |
175 | 153 | ||
176 | #+begin_quote | 154 | #+begin_quote |
177 | daviwil | minikN: I connect to the hostname/port of my ZNC server, | 155 | daviwil | minikN: I connect to the hostname/port of my ZNC server, but the |
178 | but the trick is that the username is the nick you want to | 156 | trick is that the username is the nick you want to use on the |
179 | use on the server and the password is your znc username | 157 | server and the password is your znc username and password joined |
180 | and password joined with a colon, like daviwil:b4dp4ssw0rd | 158 | with a colon, like daviwil:b4dp4ssw0rd minikN | so you don't |
181 | minikN | so you don't specify the network in your password? like | 159 | specify the network in your password? like user/network:password? |
182 | user/network:password? | 160 | benoitj | daviwil: nice password you have there daviwil | minikN: |
183 | benoitj | daviwil: nice password you have there | 161 | nope, I only have one network anyway |
184 | daviwil | minikN: nope, I only have one network anyway | ||
185 | - acdw > daviwil: I just see ******* | 162 | - acdw > daviwil: I just see ******* |
186 | benoitj | I use two networks | 163 | benoitj | I use two networks #+end_quote |
187 | #+end_quote | ||
188 | 164 | ||
189 | ** Teach =link-hint= about =lui-buttons= | 165 | ** Teach =link-hint= about =lui-buttons= |
190 | 166 | ||
@@ -204,6 +180,8 @@ https://tildegit.org/acdw/emacs/src/branch/main/init.el#L1166, e.g. | |||
204 | 180 | ||
205 | - *OR* install this: [[https://github.com/sshaw/git-link][GitHub - sshaw/git-link: Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location]] | 181 | - *OR* install this: [[https://github.com/sshaw/git-link][GitHub - sshaw/git-link: Emacs package to get the GitHub/Bitbucket/GitLab/... URL for a buffer location]] |
206 | 182 | ||
207 | ** Fix =acdw-org/count-words-stupidly= | 183 | ** DONE Fix =acdw-org/count-words-stupidly= |
208 | 184 | ||
209 | It adds one for blank lines. | 185 | It adds one for blank lines. |
186 | |||
187 | ** TODO [[https://stackoverflow.com/questions/25161792/emacs-org-mode-how-can-i-fold-everything-but-the-current-headline][Org mode hide all but current heading]] | ||