1
0
Fork 0
My Emacs configuration files
Find a file
Tom Willemse 6642c7d717 Ensure ~/.emacs.d/data/ exists when testing ‘oni-core’
If the directory doesn’t exist, ‘recentf-mode’ will try to save the recent file
list and fail because Emacs automatically asks if the directory should be
created. Since the test is running in a non-interactive environment, it’ll fail
to read the user’s answer.
2020-04-07 10:14:55 -07:00
oni-conf Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-csharp Fix indentation in C# of first argument in function calls 2020-03-27 17:01:42 -07:00
oni-css Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-elisp Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07: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 Remove appointments.org 2020-03-31 21:08:07 -07:00
oni-php Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-python Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-ruby Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-twig Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
test Add navigation functions for end-of-line and beginning-of-line 2020-04-07 02:09:43 -07:00
.dir-locals.el Change version format 2019-09-04 21:09:38 -07:00
.gitignore Add ‘oni-conf’ and the ability to upload multi-file packages 2019-08-20 00:21:12 -07:00
.gitlab-ci.yml Ensure ~/.emacs.d/data/ exists when testing ‘oni-core’ 2020-04-07 10:14:55 -07:00
Dockerfile Add Dockerfile 2020-01-08 11:50:18 -08:00
GNUmakefile Add snippets to oni-csharp 2020-03-02 17:59:42 -08: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-bats.el Fix the bats auto-insert template 2020-01-08 15:46:53 -08: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 Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-circe.el Change version format 2019-09-04 21:09:38 -07:00
oni-clojure.el Enable company-mode in clojure 2020-01-28 19:02:19 -08:00
oni-cmake.el Use oni-flycheck for cmake instead of flycheck directly 2020-02-29 13:14:10 -08:00
oni-common-lisp.el Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-company.el Stop company-dabbrev from changing the completion's case 2020-03-02 10:01:35 -08:00
oni-compilation.el Replace ‘ansi-color’ with ‘xterm-color’ 2019-09-19 17:33:38 -07:00
oni-core.el Add navigation functions for end-of-line and beginning-of-line 2020-04-07 02:09:43 -07:00
oni-counsel.el Enable recentf-mode in Emacs 2020-02-24 22:08:51 -08:00
oni-cpp.el Rename oni-c++ to oni-cpp 2020-01-13 21:31:56 -08: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 Add function to start ediff from the command-line 2019-10-10 17:08:23 -07:00
oni-elfeed.el Change version format 2019-09-04 21:09:38 -07:00
oni-epub.el Add Epub configuration 2020-03-29 23:56:53 -07:00
oni-eshell.el Fix error in setting up xterm-color in eshell 2019-09-20 09:34:43 -07:00
oni-fci.el Change version format 2019-09-04 21:09:38 -07:00
oni-flycheck.el Change version format 2019-09-04 21:09:38 -07:00
oni-git-commit.el Change version format 2019-09-04 21:09:38 -07:00
oni-gnus.el Change version format 2019-09-04 21:09:38 -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 Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-gui.el Change the variable pitch font 2020-03-28 12:06:27 -07:00
oni-haskell.el Add Haskell configuration 2020-03-29 23:56:44 -07:00
oni-highlight-indent-guides.el Change version format 2019-09-04 21:09:38 -07:00
oni-hydra.el Remove color settings from oni-hydra 2020-03-06 23:11:10 -08:00
oni-ivy.el Add oni-hydra configuration, spruce up some hydras 2020-03-05 22:52:59 -08:00
oni-jabber.el Change version format 2019-09-04 21:09:38 -07:00
oni-java.el Add oni-hydra configuration, spruce up some hydras 2020-03-05 22:52:59 -08:00
oni-js.el Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-json.el Add json configuration 2020-03-27 16:00:55 -07:00
oni-lsp.el Add lsp-ivy 2020-02-25 10:17:54 -08:00
oni-lui.el Change version format 2019-09-04 21:09:38 -07:00
oni-magit.el Add oni-hydra configuration, spruce up some hydras 2020-03-05 22:52:59 -08:00
oni-makefile.el Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-package.el Change version format 2019-09-04 21:09:38 -07:00
oni-paredit.el Change version format 2019-09-04 21:09:38 -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 Automatically load scheme-mode for scsh files 2020-01-06 20:09:13 -08:00
oni-sh.el Add ‘smartparens’ to ‘oni-sh’ 2020-01-14 22:02:08 -08:00
oni-shackle.el Change version format 2019-09-04 21:09:38 -07:00
oni-shr.el Improve shr rendering of <code> and <pre> tags a little 2020-03-28 11:51:28 -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 Fix errors in ‘oni-termux’ 2019-10-06 11:35:00 -07: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 Add beacon 2020-03-02 10:28:50 -08:00
oni-vc.el Change version format 2019-09-04 21:09:38 -07: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 Enable ‘auto-fill-mode’ for comments in most programming modes 2019-12-10 23:16:15 -08:00
oni-yasnippet.el Change version format 2019-09-04 21:09:38 -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/)