1
0
Fork 0
My Emacs configuration files
Find a file
Tom Willemse 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
oni-bats Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
oni-conf Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
oni-csharp [oni-csharp] Add csharp-solution-mode major mode 2022-02-02 13:36:37 -08:00
oni-css Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
oni-elisp [oni-elisp] Remove litable 2023-03-14 00:11:11 -07:00
oni-haml Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
oni-html Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
oni-nxml Remove lock file 2021-12-01 13:44:35 -08:00
oni-org [oni-org] Add new commands to manage my GTD inbox and tickler 2023-03-14 01:41:07 -07:00
oni-php Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
oni-python Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
oni-ruby Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
oni-twig Remove autoloads for snippet loading 2021-12-01 13:43:21 -08:00
test [oni-scheme] Check that the output ends with the expected text 2021-04-08 17:01:04 -07:00
.dir-locals.el Change version format 2019-09-04 21:09:38 -07:00
.dockerignore Try running generated configuration 2020-10-16 13:31:10 -07:00
.gitignore Try running generated configuration 2020-10-16 13:31:10 -07:00
.gitlab-ci.yml Use different tag to generate config 2020-10-16 13:31:10 -07:00
Dockerfile Update base image version 2020-10-16 13:31:10 -07:00
generate.el Disable tests 2021-07-23 01:45:19 -07:00
GNUmakefile Add oni-bats as a multi-file package 2020-10-19 13:44:51 -07:00
oni-alert.el [oni-alert] Remove autoload cookie 2021-05-27 22:48:00 -07:00
oni-autohotkey.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-bat.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-bookmark.el [oni-bookmark] Automatically save my bookmarks when I change them 2022-11-13 16:58:03 -08:00
oni-browse-url.el [oni-browse-url] Open Mastodon URLs with mastodon.el if installed 2022-12-13 07:09:34 -08:00
oni-c.el [oni-c] Add ‘rainbow-delimiters’ 2021-07-28 20:35:05 -07:00
oni-circe.el [oni-circe] Clear the polybar circe widget when Emacs is closed 2022-08-26 23:57:32 -07:00
oni-clojure.el Move loading for ‘oni-clojure’ and required packages into ‘oni-core’ 2021-07-27 21:06:46 -07:00
oni-cmake.el [oni-cmake] Add function to narrow the buffer to the current defun 2022-02-03 21:58:09 -08:00
oni-common-lisp.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-company.el [oni-company] Use tab for either completion or indentation 2022-12-13 07:09:59 -08:00
oni-compilation.el [oni-compilation] Remove autoload cookie, load from ‘oni-core’ 2021-09-19 23:07:55 -07:00
oni-core.el [oni-coree] Silence native compilation warnings 2023-01-24 10:05:31 -08:00
oni-counsel.el [oni-counsel] Add some functions to interact with the OS 2022-02-08 09:46:19 -08:00
oni-cpp.el [oni-cpp] Remove autoload cookie, load from ‘oni-core’ 2021-09-20 20:06:46 -07:00
oni-data-dir.el Change version format 2019-09-04 21:09:38 -07:00
oni-diff-hl.el [oni-diff-hl] Remove autoload cookie, load from ‘oni-core’ 2021-09-21 23:29:06 -07:00
oni-dired.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-docker.el Add docker configuration 2020-01-07 22:43:59 -08:00
oni-ediff.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-elfeed.el feat(oni-elfeed): Add some more RSS feeds 2023-02-24 23:37:34 -08:00
oni-elm.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-embrace.el [oni-embrace] Add """ and ''' as pairs for Groovy 2022-09-27 23:44:48 -07:00
oni-emms.el [oni-emms] Set up emms-mpd 2022-08-26 22:09:53 -07:00
oni-epub.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-eshell.el [oni-eshell] Fix function reference 2022-12-04 07:36:54 -08:00
oni-eww.el [oni-eww] Display new eww buffers as the only buffer 2021-04-06 11:17:44 -07:00
oni-fish.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-flycheck.el Add comments on how to use the packages managed by Guix 2021-07-15 22:34:08 -07:00
oni-git-commit.el feat(oni-git-commit): Refrain from refilling default commit comment 2023-02-24 23:34:20 -08:00
oni-gnus.el [oni-gnus] Increase the space for a mail's size 2022-02-16 01:02:45 -08:00
oni-grep.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-groovy.el [oni-groovy] Add ‘/’ as a pair for smartparens 2022-09-27 23:45:25 -07:00
oni-gui.el Give some keybindings (hopefully) more descriptive names 2022-12-13 07:11:36 -08:00
oni-haskell.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-highlight-indent-guides.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-hydra.el Add comments on how to use the packages managed by Guix 2021-07-15 22:34:08 -07:00
oni-ivy.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-jabber.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-java.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-js.el [oni-js] Remove ‘tern’ dependency 2022-12-04 07:37:16 -08:00
oni-json.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-log-edit.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-lsp.el [oni-lsp] Remove ivy dependency 2022-03-18 11:09:34 -07:00
oni-lua.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-lui.el Add comments on how to use the packages managed by Guix 2021-07-15 22:34:08 -07:00
oni-magit.el Give some keybindings (hopefully) more descriptive names 2022-12-13 07:11:36 -08:00
oni-makefile.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-notmuch.el [oni-notmuch] Swap deleted and @me faces so deleted takes precedence 2022-11-13 17:06:22 -08:00
oni-org-roam.el [oni-org-roam] Display org-roam buffer in side window 2022-11-22 23:14:44 -08:00
oni-package.el feat(oni-package): Add keybinding to directly open a package's URL 2023-02-24 23:32:56 -08:00
oni-paredit.el Move loading for ‘oni-clojure’ and required packages into ‘oni-core’ 2021-07-27 21:06:46 -07:00
oni-powershell.el Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-prescient.el Move loading for ‘oni-clojure’ and required packages into ‘oni-core’ 2021-07-27 21:06:46 -07:00
oni-projectile.el [oni-projectile] Remove dependency on ivy 2022-03-01 23:59:22 -08:00
oni-rust.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-scheme.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-sh.el Add comments on how to use the packages managed by Guix 2021-07-15 22:34:08 -07:00
oni-shackle.el Change version format 2019-09-04 21:09:38 -07:00
oni-shr.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-slack.el Change version format 2019-09-04 21:09:38 -07:00
oni-smartparens.el [oni-smartparens] Add keybind for ‘sp-splice-sexp-killing-backward’ 2022-09-20 13:40:05 -07:00
oni-smt.el Change version format 2019-09-04 21:09:38 -07:00
oni-sort.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-termux.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-tramp.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-tui.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-ui.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-vc.el [oni-vc] Fix function reference 2022-03-02 15:42:53 -08:00
oni-vterm.el Add comments on how to use the packages managed by Guix 2021-07-15 22:34:08 -07:00
oni-web.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-yaml.el [oni-yaml] Add ‘yaml-pro’ package 2022-07-18 08:54:52 -07:00
oni-yasnippet.el [oni-yasnippet] Change the default expand condition 2021-09-19 23:53:47 -07:00
README.org Add steps to README for adding a configuration package 2020-03-27 16:01:29 -07:00

Installing

To use this repository execute the following commands in Emacs:

  (add-to-list 'package-archives '("oni" . "https://ryuslash.org/elpa/"))
  (package-refresh-contents)
  (package-install 'oni-package)

Adding new configurations

When you add a new configuration file, also add at least a test that it actually gets loaded:

tests/integration/oni-example-mode.bats
  #!/usr/bin/env bats

  @test "Opening a .example file loads oni-example-mode" {
      run emacs -batch -l package -f package-initialize \
          -visit test.example \
          -eval "(prin1 (featurep 'oni-example-mode))"

      echo "$output"

      [[ "$output" == "t" ]]
  }

And add the integration test in .gitlab.yaml:

  integration-test-oni-example-mode:
    stage: integration-test
    image: registry.gitlab.com/ryuslash/emacs-config
    dependencies:
      - package
    script: make integration-test-oni-example-mode TEST_ARCHIVE=$(realpath bin/)