1
0
Fork 0
Commit graph

196 commits

Author SHA1 Message Date
467914a556 [oni-org] Find projects in any of my agenda files 2022-05-26 01:31:24 -07:00
da68ca4f7d [oni-org] Fix using ‘oni-org-move-subtree’ multiple times in a row
Before, because of the use of ‘org-cut-subtree’, which in turn calls
‘kill-region’, which checks to see if ‘last-command’ equals ‘kill-region’ and
uses either ‘kill-append’ or ‘kill-new’ repeated uses of the
‘oni-org-move-subtree’ command would append cut subtrees together and repeatedly
paste the same subtrees over and over again.

Setting ‘this-command’ will make sure that when the ‘kill-region’ checks the
value of ‘last-command’ it won't find ‘kill-region’ there.
2022-05-13 11:15:01 -07:00
4b94f8403c [oni-org] Use ‘rx’ instead of ‘rx-to-string’
‘rx’ should expand to what is needed to make sure that the right thing is done.
I feel more comfortable using this than ‘rx-to-string’ while unquoting the
variables I use.
2022-05-11 20:37:11 -07:00
54e9c9c26f [oni-org] Combine ‘oni-move-subtree-*’ into ‘oni-org-move-subtree’
These two functions do essentially the same thing, but in different directions.
This can also be done with one single interactive function. This way there is
only one thing to call.
2022-05-11 20:21:53 -07:00
aaa5b89d0a [oni-org] Add commands to move subtrees relative to others 2022-04-24 02:53:43 -07:00
297df3579d [oni-org] Add agenda to overview command and show 10 items each 2022-04-24 02:53:18 -07:00
40919f0fe9 [oni-org] Remove references to ‘oni-backlinks’
I haven't actually been using them at all, and they're just clogging up the
‘org-update-all-dblocks’ command by doing a bunch of unnecessary work.
2022-04-22 17:27:15 -07:00
64fee97d35 [oni-org] Add support for id: backlinks in oni-backlinks dblock 2022-04-01 18:39:47 -07:00
641f736478 [oni-org] Add dynamic block for org for linking together projects
This is similar to my backlinks dynamic block, but it supports links by id and
will print them as a checkbox so that the project can track progress by using
the progress cookies.
2022-04-01 18:37:10 -07:00
2dd841ffc3 [oni-org] Add an agenda with tasks, articles, videos, and music 2022-04-01 18:35:55 -07:00
3ef86655f1 [oni-org] Show the agenda as the only window 2022-03-15 23:10:59 -07:00
8ff956b3a2 [oni-org] Hide the body of the task marked as done 2022-03-15 23:09:46 -07:00
76bffd107c [oni-org] Enable ‘org-agenda-log-mode’ by default in Org agendas
This will show when I've marked items as done and when I've logged time on tasks.
2022-02-28 00:59:06 -08:00
055240f3db [oni-org] Icrease the duration of a single Pomodoro
I've been experimenting with using 25 minutes instead of 20 for each Pomodoro.
2022-02-08 09:47:49 -08:00
5a15eacc0d [oni-org] Specify some more properties on the capture frame
The name helps to specify in the window manager that it shouldn't be tiled, and
the width and height are just stylistic choices.
2022-02-08 09:46:59 -08:00
f34308bf66 [oni-org] Allow refiling to someday.org
I'm trying to get a little more serious about GTD, and using a someday file is
part of that.
2022-01-12 10:42:06 -08:00
b18f400401 [oni-org] Modify the columns format for the todo list
Since I'm trying out the Pomodoro technique I want to be able to see at how many
pomodoro's I've estimated something so that I can choose what to do next.
2022-01-11 14:04:27 -08:00
7df353e7dc [oni-org] Don't change the state of a TODO when I'm capturing it
When a capture template is set up to clock in as I'm capturing it, this function
would immediately change the state of the item to WIP (or whichever next status
there was), but even though I'm spending time on the ticket at that point it's
not in progress yet.
2022-01-11 10:02:29 -08:00
011f0ce2f9 [oni-org] Add a simple Pomodoro duration
I'm trying out the Pomodoro Technique and one of the things you're supposed to
do is estimate your tasks in pomodoros. This change lets me estimate in, for
example, 1p (20min) based on my specified pomodoro duration.
2022-01-10 22:06:12 -08:00
8af6f8d160 Remove autoloads for snippet loading
Loading ‘yasnippet’ shouldn't automatically load my package configuration. If my
package configuration hasn't been loaded it shouldn't try to include my snippets.
2021-12-01 13:43:21 -08:00
6c611b5007 [oni-org] Enable ‘electric-pair-local-mode’
With ‘electric-pair-local-mode’ and my inhibit function together I get a pretty
reasonable way of typing fancy quotes and regular quotes in words like “don't”.
2021-11-30 15:25:10 -08:00
f07e7e6ed0
[oni-org] Don’t require ‘ol-man’
It seems that ‘ol-man’ was moved from org-contrib to the main org repository,
but the version of org hasn’t been updated yet, so my system can’t find it yet.
2021-10-17 16:39:06 -07:00
82fbd7e4b2 [oni-org] Bring back Org Roam 2021-10-06 01:15:12 -07:00
0fee67c9d3
[oni-org] Don’t inherit the ‘project’ tag 2021-09-16 19:53:23 -07:00
a82ee89a23 [oni-org] Log non-state notes into the task, outside a drawer 2021-09-12 03:09:18 -07:00
6993a3f7af
[oni-org] Remove old compiled snippets file 2021-09-11 23:54:31 -07:00
cccaac7c32 [oni-org] Add and enable `mixed-pitch' mode 2021-09-11 02:47:56 -07:00
02b680f40b
[oni-org] Fix typo 2021-08-30 14:01:08 -07:00
955d9dd483
[oni-org] Always give Album entries the “music” category 2021-08-30 14:00:35 -07:00
0a2bbffa1a
[oni-org] Use ‘grep -E’ instead of ‘egrep’
‘egrep’ doesn’t seem to be a program that exists on Windows, even after
installing the GNU coreutils through at least Cygwin and MSYS2.
2021-08-30 13:59:36 -07:00
352f61ef62
[oni-org] Simplify usage of inbox.org
Instead of everything that needs to explicitly mentioning inbox.org, make it the
default notes file. Usually all new notes should be captured in there and will
be moved up to other places.
2021-08-15 23:40:49 -07:00
af880424a4
[oni-org] Add any org files to the agenda list 2021-08-12 22:02:27 -07:00
2463c583f9
[oni-org] Update Heading snippet 2021-08-04 00:00:30 -07:00
1ae504e6f0
[oni-org] Expand/update used todo keywords 2021-08-03 09:02:35 -07:00
b7df647005
[oni-org] Rename ‘oni-org-knowledge-*’ to ‘oni-org-exocortex-*’ 2021-07-30 23:16:34 -07:00
f846a15a07
[oni-org] Fix ‘oni-org-find-knowledge-file’
Make sure that any new files for notes are created in the
‘oni-org-knowledge-directory’ directory and not in whichever directory the
current buffer is visiting.
2021-07-30 23:13:56 -07:00
22373fab15 [oni-org] Add some functions for easy note writing 2021-07-24 01:09:07 -07:00
ed883f3059 [oni-org] Hide both TITLE and title in org buffers 2021-07-24 00:51:16 -07:00
0a3a770249
[oni-org] Remove autoload cookie 2021-07-20 01:14:06 -07:00
4309e56f00 [oni-org] Document where icons come from 2021-07-06 21:01:05 -07:00
02c496b04a [oni-org] Add some category icons 2021-07-06 21:00:42 -07:00
caba40a5f5 [oni-org] Check for ‘line-start’ instead of ‘\n’
Line-start is more accurate and will work for both the beginning of the buffer,
and anywhere else in the buffer at the start of the line.
2021-07-06 21:00:42 -07:00
f377541a46 [oni-org] Add capture template for CODE Magazine issues 2021-07-06 00:34:18 -07:00
bebfe3c991 [oni-org] Add capture template for bought albums 2021-07-05 23:30:21 -07:00
a37f274ce8 [oni-org] Capture most output into my inbox file 2021-07-05 23:28:36 -07:00
b80c4f4321 [oni-org] Add code to embed SVG images in output
This was taken from https://emacs.stackexchange.com/a/57433
2021-07-01 19:05:46 -07:00
554aad49b5 [oni-org] Only expand snippets if the key is at start of line 2021-06-30 15:22:57 -07:00
e50eef7268 [oni-org] Add ‘olivetti’ to org-mode buffers 2021-06-30 11:24:30 -07:00
b5e1c5e2a6 [oni-org] Remove ‘org-journal’ dependency
I haven’t been using ‘org-journal’, just a simple capture template.
2021-06-30 11:22:56 -07:00
7f233420c8 [oni-org] Add functions to remove and toggle inlineimages 2021-06-30 11:22:09 -07:00
9d74d0341d [oni-org] Add function to enable showing inline images on startup 2021-06-30 11:12:50 -07:00
0d349e09fe [oni-org] Add simple interactive command to wrap a region in a block 2021-06-22 22:20:50 -07:00
8a0e2a326d [oni-org] Hide ‘#+TITLE: ’ 2021-06-22 22:20:31 -07:00
64d3f0cbb9 [oni-org] Extend the day until 2am 2021-06-21 23:49:46 -07:00
b76610e4b6 [oni-org] Depend on ‘org’ and ‘org-contrib’
‘org-plus-contrib’ has been deprecated and the equivalent should now be the
‘org’ and ‘org-contrib’ packages.
2021-06-21 23:47:28 -07:00
5a6ba52a1a [oni-org] Allow refiling to the current buffer 2021-06-11 01:19:22 -07:00
ee6b99af45 Add Effort to the Reading list view
Also fix a typo ‘Reding’ -> ‘Reading’
2021-05-18 23:03:04 -07:00
17e3392313 [oni-org] Require using ‘{}’ for sub- and superscripts 2021-04-25 18:03:22 -07:00
a783346a79 [oni-org] Specialize ‘C-a’ and ‘C-e’ for org elements
When on a heading, first move to the beginning of the heading title, and then to
the beginning of the line. For moving to the end, first move to the end of the
title, and then past any tags.
2021-04-25 18:01:45 -07:00
0e46d80c6b [oni-org] Automatically renumber and sort footnotes in org 2021-04-25 18:00:51 -07:00
fa8a55843b [oni-org] Display entities in org in a nicer way 2021-04-25 18:00:08 -07:00
feb1e0cc09 [oni-org] Make ‘org-agenda’ restore the window configuration 2021-04-25 17:37:58 -07:00
30426230ed [oni-org] Add an unestimated reading list view 2021-04-25 17:37:08 -07:00
c2e9a919b6 Add ‘org-roam-insert’ to my Org hydra 2021-04-18 16:13:28 -07:00
fcdabae3fd [oni-org] Replace org icons and add a few new ones
Replace all of the previous icons used in org-mode for agenda views with SVG
ones, and add ones for the “moving”, “security”, “website” and “desktop”
categories.
2021-04-07 23:47:48 -07:00
3f2d563970 Add an icon for Emacs tasks 2021-04-07 19:57:30 -07:00
1b6972b09f Fix ‘org-roam-insert-immediate’ use in ‘oni-hydra-org’
This still probably calls ‘org-roam-insert-immediate’ incorrectly, but it fixes
it for my current use case. I’ve changed the call to ‘org-roam-find-file’ in a
similar manner in case it ever starts asking me interactively for things.
2021-03-29 10:00:50 -07:00
dd9fedf8ff Decouple ‘oni-org’ and ‘oni-org-roam’
‘org-roam’ doesn’t seem to work correctly on all the machines that I use
‘org-mode’ on.
2021-03-25 20:20:04 -07:00
0e0f464a65 For the journal capture template, only include task if clocked in 2021-03-25 19:37:48 -07:00
0d5b6fcc11 Bump version for oni-org
I updated one of the capture templates, but since they’re not part of the ‘.el’
file itself the version needs to manually be bumped.
2021-03-24 10:33:56 -07:00
85759a07d8 Add a link to the clocked-in task for journal entries 2021-03-17 21:14:56 -07:00
9e0f0d4352 Setup refiling in org-mode 2021-02-23 21:40:39 -08:00
058c6b39ae Hide macro markers in Org mode 2021-02-15 16:49:53 -08:00
b32f8ff3c5 If the projects directory doesn’t exist, that’s fine 2021-02-01 13:41:54 -08:00
ff7d19dc1e Add ‘electric-quote-local-mode’ to org-mode buffers 2021-01-31 21:47:13 -08:00
a74e8817fa Add ‘org-roam’ commands to my org hydra 2021-01-31 21:42:29 -08:00
1155024811 Add any project files to ‘org-agenda-files’ 2021-01-20 16:34:06 -08:00
f4fe076d62 Don't load icons if the display can't handle them 2021-01-06 20:19:53 -08:00
6b24843ac8 Replace the NEXT keyword with TODO
I don’t think NEXT has any real meaning for me now that I’ve started using my
agenda as my real todo list.
2021-01-06 10:54:03 -08:00
8975e2fa22 When clocking in, check for a state head and switch to the next
Instead of checking specifically that it’s in the TODO state, check that it’s in
any one of the first states (like TODO, or READ). If this is the case, switch it
from the current state to whatever the settings define as being the next
state (usually WIP or READING).
2021-01-06 10:52:05 -08:00
5c2ed55020 Make org-journal files .org files 2021-01-04 15:11:38 -08:00
e7f4dfe84e Add org-journal and org-roam 2021-01-04 10:47:56 -08:00
7b7a67abc0 Don’t show scheduled items in the Next and Reading list views
The fact that they’re scheduled means they’re on my proper todo list for the
day, which means they shouldn’t really need to be in here anymore.
2020-12-29 21:32:19 -08:00
0daa3ae8ed Add custom ‘org-edna’ finder 2020-12-29 18:49:47 -08:00
6f565c0d99 Add icon for “music” category of tasks 2020-12-29 18:47:29 -08:00
70e2eb93c4 Add more org agenda icons 2020-12-04 00:01:56 -08:00
ec00df97bf Load ‘org-protocol’ when org loads 2020-12-04 00:01:33 -08:00
7969cd4251 Add things to deal with reading list in org-mode 2020-12-01 09:28:21 -08:00
8280bce15c Add the TODO state to backlinks 2020-11-19 23:57:20 -08:00
e800025945 Fixup work-related agenda views 2020-11-19 23:46:53 -08:00
f2c2bb4837 Switch to another window when opening agenda items 2020-11-17 18:04:38 -08:00
f6fb70894b Don’t use the ORIGIN property for back-links
A lot of the time when capturing some task my cursor is at a random location and
it doesn’t actually mean what I’m looking at is at all related to what I’m
writing.

I think this will make me occasionally miss certain connections, but usually
will provide less noise.
2020-11-15 14:10:39 -08:00
e6e28b3dd1 Have org-bibtex automatically generate custom ids for bibtex heading 2020-09-22 22:15:53 -07:00
91a59dcd56 Include links that use the custom id 2020-09-22 22:15:33 -07:00
e9b7271ceb Add my backlinks dynamic block to some capture templates 2020-09-21 18:47:38 -07:00
45658a0bfa Move all capture templates into their own files 2020-09-21 18:46:26 -07:00
721fccc2ca Move org-capture settings to their own section 2020-09-21 18:26:43 -07:00
2eb1766496 Move org-agenda settings to their own section 2020-09-21 18:24:08 -07:00
9823773eef Sort tags in org-mode 2020-09-21 18:14:44 -07:00
51c675aab4 Make sure when creating backlinks that any link only appears once 2020-09-21 18:10:08 -07:00