1
0
Fork 0
My Emacs configuration files
Find a file
Tom Willemse 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
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] Add ‘litable-mode’[0] to Emacs Lisp buffers 2022-12-13 07:18:17 -08: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 feat(oni-org): Use the LCh color space to generate colors 2023-02-24 23:28:28 -08: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 [oni-elfeed] Subscribe to specific wallpaper sizes on reddit 2022-11-22 23:31:17 -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/)