1
0
Fork 0
Commit graph

845 commits

Author SHA1 Message Date
020f19fcbc [oni-core] Add keybinding to select which window to use as “other” 2023-05-24 23:51:09 -07:00
b26c3c8899 Isolate building packages some more
Don't load the user init file while building my Emacs packages, make sure to use
a different ‘package-user-dir’ so that bad packages don't interfere and it
doesn't accidentally work because of existing packages. Specify the
‘package-archive-upload-base’ in the Makefile so that there is only one place to
look and modify if this needs to move. Ensure that the
‘package-archive-upload-base’ exists before uploading to it.
2023-04-26 23:08:21 -07:00
8eb16a8db6 [oni-core] Add mini-frame configuration 2023-04-16 00:30:50 -07:00
bd24cb6def [oni-elfeed] Fix regular expression for security updates 2023-04-15 23:14:44 -07:00
e178ca2d41 [oni-elfeed] Remove some dead feeds 2023-04-15 23:14:10 -07:00
5836a55f4c [oni-eshell] Shorten directories and add P4 informatin in Eshell
This also happens to include changes to the font for Eshell as an experiment and
setting the page delimiter so page navigation commands work on prompts.
2023-04-15 23:10:50 -07:00
7e581611fb [oni-core] Add function to debug more hidden errors
https://gist.github.com/jdtsmith/1fbcacfe677d74bbe510aec80ac0050c
2023-04-15 20:45:15 -07:00
3c75681b25 [oni-core] Disable previews for ‘consult-buffer’ 2023-04-15 20:44:57 -07:00
348f71e570 [oni-org] Experiment with using more contexts to filter tasks
Instead of adding a lot of tags and adding a lot of agendas filtering on them
I'm experimenting with using org-edna to make certain contexts a dependency of a
task to filter them out of my todo list.

Current contexts I'm experimenting with are:

- ‘day-of-week?’ to filter out tasks that I can only do on certain days.

- ‘night-time?’ to filter out anything that I can't do in the evening. Usually
  having to do with contacting others.

- ‘business-hours?’ to filter out anything that is outside of a certain
  timezone's “business hours”, defined by me as anywhere between 9am and 6pm.
2023-04-11 20:23:23 -07:00
c76c236991 [oni-elisp] Fix keybindings for IELM
‘paredit-mode’ appears to have added keybindings for ‘C-j’ and ‘RET’ that
weren't there before (or did I enable ‘paredit-mode’ in IELM recently?) and that
interfere with executing code.

This way of removing the keybindings works in a buffer-local only way so that in
other buffers the ‘RET’ and ‘C-j’ keybindings remain untouched.
2023-04-11 20:20:57 -07:00
1de5e3892c [oni-org] Simplify org element property access 2023-04-11 20:20:28 -07:00
f460c3a19f [oni-elfeed] Fix tagger that removes duplicates of Planet Emacslife
First: the match needs to be any entry that does match the names of the people
whos blogs I already follow.

Second: The search regular expression can't contain spaces. It seems to be the
same as any search query. So when a regular expression contains a space it's
considered two different search terms. This doesn't work when we're searching
for one option with a space in it (“Irreal” or “Sacha Chua” or “Andrea”) since
the syntax for the regular expression gets all messed up. Quickest workaround is
to match any whitespace instead.
2023-04-11 20:09:32 -07:00
9c1ef54e74 [oni-elfeed] Add another feed 2023-04-11 20:06:00 -07:00
7b24216fe1 [oni-org] Add ‘org-pretty-table’ 2023-04-09 21:50:48 -07:00
50ea147510 [oni-org] Disable padding of date for comparison
Comparing “3” to “03”, for example, won't ever succeed.
2023-04-03 00:55:11 -07:00
f965d1c768 [oni-elfeed] Remove ‘unread’ tag from matched Planet Emacs articles 2023-04-02 01:01:04 -07:00
92f4d8b53e [oni-elfeed] Ignore some blog posts from Planet Emacslife
These are posts that happend to point at blogs that I already follow.
2023-04-01 23:18:07 -07:00
b402ee0c31 [oni-elfeed] Ignore Security updates from LWN 2023-04-01 23:17:47 -07:00
aa2444374b Turn off autoloading oni-ivy
For some reason projectile loads ivy, which tries to load oni-ivy, which I don't
use at the moment.
2023-04-01 23:01:35 -07:00
6185c26d51 [oni-core] Fix related files function 2023-03-30 22:28:24 -07:00
92173e5ef2 [oni-org] Fix keybinding 2023-03-30 22:28:02 -07:00
9ab5e206c5 [oni-org-roam] Enable ‘view-mode’ when showing list of books to read 2023-03-30 22:26:59 -07:00
9050edb896 [oni-org-roam] Only display unique references in the org-roam buffer 2023-03-30 22:26:41 -07:00
9c8457132b [oni-org-roam] Show entry tags in Node selection 2023-03-25 23:16:15 -07:00
f4204b42a7 [oni-org-roam] Improve the list of reading books, link the pages 2023-03-25 22:33:29 -07:00
3a3460b0d7 [oni-org-roam] Add command to pick a random book from toread list 2023-03-25 21:40:39 -07:00
94a7eeef18 [oni-org] Add keybinding to refile items to the top of a heading 2023-03-25 21:39:56 -07:00
b468287aa7 [oni-org] Don't truncate the text in the pomodoro overview
Instead specify a width for the column and shrink the table. This way it still
gets truncated, but it can be expanded and the whole text is in the column.
2023-03-20 22:57:50 -07:00
aec7aa6267 [oni-org] Fix ‘oni-org-pomodoro-times’ for when no logbook exists 2023-03-20 22:57:16 -07:00
af7ff9343a [oni-core] Fix function names 2023-03-20 22:28:06 -07:00
fb767b3994 [oni-org] Add new commands to manage my GTD inbox and tickler
These function help me make sure that I'm properly going through both files. The
command ‘oni-org-run-through-inbox’ will first dump any items in the tickler
file that are relevant for today and then it goes through each item in my inbox
and asks me to take an action on them.

This helps me both go through my inbox more easily, but also helps me keep track
of the items in my tickler file, which has been something I keep forgetting to
look at.

The ‘oni-org-dump-tickler’ command should be idempotent, so calling it multiple
times per day shouldn't mess with the different dates in the file. If it
discovers that the current day isn't the same as today it keeps going through
the tickler file, dumping any tasks it finds into the inbox, until it finds the
right day number. It's not aware of any of the months, so it'll happily move to
the next month if your tickler file is in the wrong state. Also if your tickler
file hasn't been updated in more than a month it also doesn't understand that it
needs to keep going and will keep presenting you with old tasks.
2023-03-14 01:41:07 -07:00
bd63867ddf [oni-elisp] Remove litable
It's a fun idea, but practically it makes things a lot slower in certain
situations and by default it has some weird concepts of what safe or pure
functions are.
2023-03-14 00:11:11 -07:00
e6e06eac0d feat(oni-elfeed): Add some more RSS feeds 2023-02-24 23:37:34 -08:00
d8ff9915ba feat(oni-git-commit): Refrain from refilling default commit comment
When I write a commit message there is always the default comment that lists
which files are to be committed, which files aren't staged for commit, and which
files are just entirely unknown to git at the moment. By default with
‘refill-mode’ turned on (which I have to make it easier to modify paragraphs
after I've written them) this comment usually gets all garbled by the refill
command.

This bit of code prevents the comment from being filled initially.
2023-02-24 23:34:20 -08:00
6dd72d5323 feat(oni-package): Add keybinding to directly open a package's URL
I frequently want to just open the URL of a package to see the readme and
possibly some screenshots. There doesn't appeart to be a built-in keybinding for
that.
2023-02-24 23:32:56 -08:00
b5b09921e3 feat(oni-org): Use the LCh color space to generate colors
Automatically generated colors for todo keywords and tags using an MD5 hash will
produce a completely random color, frequently not fitting well at all within my
chosen color theme. Using the LCh color space and keeping the L(uminance) and
C(hroma) constant will produce colors that fit together much metter, and the
values have been picked to work well with ‘yoshi-theme’.

This change was inspired by “Arbitrary Beautiful Colors”[1].

[1]: https://khanlou.com/2023/02/arbitrary-beautiful-colors/
2023-02-24 23:28:28 -08:00
d1ca3d7874 [oni-org] Add planned pomodoro note 2023-01-24 10:08:11 -08:00
6ef9c0d59b [oni-coree] Silence native compilation warnings 2023-01-24 10:05:31 -08:00
5d7b20598b [oni-core] Sort keybindings, add ace window keybindingss 2023-01-24 10:04:39 -08:00
37fe64b4d8 [oni-org] Add some Pomodoro[1] helper functions
- ‘oni-org-increment-property’: A generic command that increments a numeric org
  property

- ‘oni-org-pomodoro-add-note’: A command that adds a note to the org item
  logbook that states a pomodoro was completed.

- ‘oni-org-pomodoro-times’: A function that parses an org item logbook to figure
  out at what times a pomodoro had been completed for that particular task.

- ‘oni-org-pomodoro-times-for-date’: A function that finds the times a pomodoro
  has been marked as completed for a specified date.

- ‘oni-org-archive-old-tasks’: Unrelated to the other functions, just a command
  that archives all of the tasks that have been closed in the previous month.

[1]: https://francescocirillo.com/products/book-the-pomodoro-technique
2022-12-13 07:29:08 -08:00
ca8dc9d161 [oni-elisp] Add ‘litable-mode’[0] to Emacs Lisp buffers
[0]: https://github.com/Fuco1/litable
2022-12-13 07:18:17 -08:00
d0420ae5e3 [oni-core] Add related-files[1] to consult-buffer[2]
[1]: https://github.com/DamienCassou/related-files
[2]: https://github.com/minad/consult
2022-12-13 07:14:06 -08:00
5f7a6b8ddd Give some keybindings (hopefully) more descriptive names
This style of keybinding helps ‘which-key’[1] to display a better name for the
command.

[1]: https://github.com/justbur/emacs-which-key
2022-12-13 07:11:36 -08:00
244c2797b8 [oni-company] Use tab for either completion or indentation 2022-12-13 07:09:59 -08:00
8fb6beda45 [oni-browse-url] Open Mastodon URLs with mastodon.el if installed 2022-12-13 07:09:34 -08:00
cd94e63543 [oni-js] Remove ‘tern’ dependency 2022-12-04 07:37:16 -08:00
5b3dbb6cf1 [oni-eshell] Fix function reference 2022-12-04 07:36:54 -08:00
7f72a0a47e [oni-elfeed] Subscribe to specific wallpaper sizes on reddit 2022-11-22 23:31:17 -08:00
ce285a51d6 [oni-org-roam] Display org-roam buffer in side window 2022-11-22 23:14:44 -08:00
6793848975 [oni-core] Show a random tip in my initial scratch message
These tips come from “Pragmatic Thinking and Learning: Refactor Your Wetware” by
Andy Hunt[1]

[1]: https://pragprog.com/titles/ahptl/pragmatic-thinking-and-learning/
2022-11-13 23:04:21 -08:00