1
0
Fork 0
My Emacs configuration files
Find a file
Tom Willemse 9d51fae47b [oni-scheme] Check that the output ends with the expected text
All of the other tests already check that the output ends with the expected
output and isn’t exactly equal to it. This is because I don’t have enough
control over (or don’t know enough about) the output Emacs and other packages
generate. In order to prevent false-positives from happening as is happening
with ‘scheme-mode’, I don’t check what’s before the output I expect.

The false-positive that’s happening with ‘scheme-mode’ is an issue that it seems
like ‘geiser’ has started complaining that it can’t find ‘guile’, which is
expected.
2021-04-08 17:01:04 -07:00
oni-bats Add ‘yasnippet’ dependency to ‘oni-bats’ 2020-10-19 17:02:44 -07:00
oni-conf Use ‘conf-unix-mode’ for ‘.service’ files 2021-02-08 22:31:50 -08:00
oni-csharp Turn abbrevs into "system" abbrevs 2020-12-12 22:10:43 -08:00
oni-css Use ‘display-fill-column-indicator-mode’ if possible 2020-09-07 14:45:10 -07:00
oni-elisp Add checkdoc settings 2021-02-27 15:37:36 -08:00
oni-haml Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-html Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-nxml Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-org [oni-org] Replace org icons and add a few new ones 2021-04-07 23:47:48 -07:00
oni-php Remove phpcbf, it doesn’t seem to exist anymore 2021-02-06 18:12:20 -08:00
oni-python Use ‘display-fill-column-indicator-mode’ if possible 2020-09-07 14:45:10 -07:00
oni-ruby Use ‘display-fill-column-indicator-mode’ if possible 2020-09-07 14:45:10 -07:00
oni-twig Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07: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 Create more directories before running unit tests 2021-01-20 17:25:48 -08:00
GNUmakefile Add oni-bats as a multi-file package 2020-10-19 13:44:51 -07:00
oni-alert.el Search in multiple places for toast.exe on Windows 2020-01-26 22:59:26 -08:00
oni-autohotkey.el Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-bat.el Enable ‘bmx-mode’ 2020-05-02 18:32:01 -07:00
oni-bookmark.el Change version format 2019-09-04 21:09:38 -07:00
oni-browse-url.el Change version format 2019-09-04 21:09:38 -07:00
oni-c.el Turn abbrevs into "system" abbrevs 2020-12-12 22:10:43 -08:00
oni-circe.el Add #guix channel, fix #conkeror 2021-02-08 22:32:10 -08:00
oni-clojure.el Enable company-mode in clojure 2020-01-28 19:02:19 -08:00
oni-cmake.el Fix dependency on LSP for CMake 2021-03-09 17:25:22 -08:00
oni-common-lisp.el Tell sbcl not to use linedit 2020-04-15 01:23:46 -07:00
oni-company.el Only try to change the company backends when company-capf is found 2021-02-14 18:42:10 -08:00
oni-compilation.el Replace ‘ansi-color’ with ‘xterm-color’ 2019-09-19 17:33:38 -07:00
oni-core.el Add ‘insert-char-preview’ 2021-02-27 15:41:20 -08:00
oni-counsel.el Remove helpful 2020-09-15 22:56:30 -07:00
oni-cpp.el Use ‘display-fill-column-indicator-mode’ if possible 2020-09-07 14:45:10 -07:00
oni-data-dir.el Change version format 2019-09-04 21:09:38 -07:00
oni-diff-hl.el Fix diff-hl-mode for P4 2020-02-28 15:42:31 -08:00
oni-dired.el Change version format 2019-09-04 21:09:38 -07:00
oni-docker.el Add docker configuration 2020-01-07 22:43:59 -08:00
oni-ediff.el Remove debugging statement 2020-12-01 09:27:12 -08:00
oni-elfeed.el Change version format 2019-09-04 21:09:38 -07:00
oni-elm.el Display fill column in Elm and add rainbow delimiters 2021-02-09 17:53:50 -08:00
oni-embrace.el Add ‘embrace’ configuration 2020-10-30 18:23:10 -07:00
oni-epub.el Use ‘nov-mode’ for ‘.epub’ files 2020-04-07 23:15:48 -07:00
oni-eshell.el Disable Beacon for Eshell scrolling 2021-02-27 17:28:16 -08:00
oni-eww.el [oni-eww] Display new eww buffers as the only buffer 2021-04-06 11:17:44 -07:00
oni-fci.el Change version format 2019-09-04 21:09:38 -07:00
oni-fish.el Add basic fish shell script configuration 2020-04-08 00:22:23 -07:00
oni-flycheck.el Change version format 2019-09-04 21:09:38 -07:00
oni-git-commit.el Use ‘refill-mode’ in ‘git-commit-mode’ buffers 2020-12-26 14:11:26 -08:00
oni-gnus.el Load gravatar avatars in Gnus 2020-04-23 10:30:33 -07:00
oni-grep.el Add .cask to the ignore directories list for grep 2020-03-05 22:53:15 -08:00
oni-groovy.el Add fill-column-indicator to Groovy 2020-11-13 09:40:10 -08:00
oni-gui.el Add some more ligatures supported by Fantasque Sans Mono 2021-03-17 21:21:31 -07:00
oni-haskell.el Add rainbow-delimiters-mode to Haskell 2020-04-30 18:36:30 -07:00
oni-highlight-indent-guides.el Change version format 2019-09-04 21:09:38 -07:00
oni-hydra.el Add fallback for hydra display 2021-01-20 16:33:44 -08:00
oni-ivy.el Fix diminishing minor modes when reloading libraries 2020-04-08 11:16:00 -07:00
oni-jabber.el Change version format 2019-09-04 21:09:38 -07:00
oni-java.el Turn abbrevs into "system" abbrevs 2020-12-12 22:10:43 -08:00
oni-js.el Remove company-tern from JS configuration 2021-01-31 15:41:08 -08:00
oni-json.el Add json configuration 2020-03-27 16:00:55 -07:00
oni-lsp.el Fix loading of ‘oni-lsp’ 2020-12-17 11:33:47 -08:00
oni-lua.el Add a fill column indicator for Lua 2020-09-07 14:44:47 -07:00
oni-lui.el Change version format 2019-09-04 21:09:38 -07:00
oni-magit.el Remove forge 2021-02-14 18:43:13 -08:00
oni-makefile.el Use ‘display-fill-column-indicator-mode’ if possible 2020-09-07 14:45:10 -07:00
oni-org-roam.el [org-roam] Add capture templates for reading 2021-04-06 11:00:08 -07:00
oni-package.el Explicitly set the package gnupg home directory on Windows 2020-10-15 14:25:18 -07:00
oni-paredit.el Fix diminishing minor modes when reloading libraries 2020-04-08 11:16:00 -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 Add prescient 2020-02-24 23:11:41 -08:00
oni-projectile.el Fix projectile on Windows 2020-03-06 16:59:02 -08:00
oni-rust.el Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-scheme.el Use ‘display-fill-column-indicator-mode’ if possible 2020-09-07 14:45:10 -07:00
oni-sh.el Use ‘display-fill-column-indicator-mode’ if possible 2020-09-07 14:45:10 -07:00
oni-shackle.el Change version format 2019-09-04 21:09:38 -07:00
oni-shr.el Colorize shr headings a bit more 2020-04-30 18:31:30 -07:00
oni-slack.el Change version format 2019-09-04 21:09:38 -07:00
oni-smartparens.el Add ‘smartparens’ to ‘oni-sh’ 2020-01-14 22:02:08 -08:00
oni-smt.el Change version format 2019-09-04 21:09:38 -07:00
oni-sort.el Change version format 2019-09-04 21:09:38 -07:00
oni-termux.el Run the battery status from ‘user-emacs-directory’ 2021-01-06 20:08:00 -08:00
oni-tramp.el Change version format 2019-09-04 21:09:38 -07:00
oni-tui.el Change version format 2019-09-04 21:09:38 -07:00
oni-ui.el Diminish ‘beacon-mode’ 2020-12-18 00:08:55 -08:00
oni-vc.el Change version format 2019-09-04 21:09:38 -07:00
oni-vterm.el Add vterm to the vterm buffer name 2020-12-26 13:58:54 -08:00
oni-web.el Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-yaml.el Use ‘display-fill-column-indicator-mode’ if possible 2020-09-07 14:45:10 -07:00
oni-yasnippet.el Fix diminishing minor modes when reloading libraries 2020-04-08 11:16:00 -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/)