1
0
Fork 0
My Emacs configuration files
Find a file
Tom Willemse 3d07ac90bd Indent ‘with-cwd’ differently
Like this:

    (with-cwd "directory"
      (something))
2024-12-17 23:49:00 -08:00
oni-bats Replace all Cask files with Eldev files 2023-05-25 00:03:46 -07:00
oni-conf Replace all Cask files with Eldev files 2023-05-25 00:03:46 -07:00
oni-csharp [oni-csharp] Add command to add a file to ‘.csproj’ 2023-05-25 00:18:35 -07:00
oni-css Replace all Cask files with Eldev files 2023-05-25 00:03:46 -07:00
oni-elisp Remove handle dependency 2024-11-01 07:20:50 -07:00
oni-haml Replace all Cask files with Eldev files 2023-05-25 00:03:46 -07:00
oni-html Replace all Cask files with Eldev files 2023-05-25 00:03:46 -07:00
oni-nxml Replace all Cask files with Eldev files 2023-05-25 00:03:46 -07:00
oni-org [oni-org] Add files with tasks in PARA directories 2024-07-01 15:11:25 -07:00
oni-php Replace all Cask files with Eldev files 2023-05-25 00:03:46 -07:00
oni-python Autoload needed function 2024-07-08 15:10:02 -07:00
oni-ruby Replace all Cask files with Eldev files 2023-05-25 00:03:46 -07:00
oni-twig Replace all Cask files with Eldev files 2023-05-25 00:03:46 -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 Ignore any ‘.elc’ files 2023-05-25 15:47:22 -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 Remove oni-markdown package 2023-05-25 15:46:36 -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] Disable sending tracking to polybar 2023-07-26 00:35:27 -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 Set up space cycling 2024-10-24 00:30:20 -07: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 [oni-ediff] Enable floating control frame 2023-08-09 13:14:01 -07:00
oni-elfeed.el Add a couple of names to watch out for in elfeed 2024-10-24 00:31:05 -07: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] Shorten directories and add P4 informatin in Eshell 2023-04-15 23:10:50 -07: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-sendmail] Split my config to send email into separate package 2023-06-21 22:38:50 -07:00
oni-grep.el [oni-grep] Enable ‘hl-line-mode’ in ‘grep-mode’ 2023-06-15 23:35:12 -07:00
oni-groovy.el [oni-groovy] Add regexp for top-level functions 2023-05-25 00:14:46 -07:00
oni-gui.el [oni-gui] Enable ‘pixel-scroll-precision-mode’ when it's available 2023-08-05 23:38:18 -07: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-hy.el [oni-hy] Add configuration for Hy mode 2023-07-14 00:26:17 -07: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] Disable some LSP components 2024-02-01 16:36:16 -08: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] Enable olivetti mode in notmuch 2023-09-27 23:03:14 -07:00
oni-org-roam.el [oni-org-roam] Show only the current element of a reference 2024-02-15 12:58:02 -08:00
oni-package.el [oni-package] Clear package archives so that I can't use them 2023-06-13 18:56:58 -07: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-project.el [oni-vterm] Add function to open vterm in a project 2024-07-01 15:06:43 -07:00
oni-projectile.el [oni-projectile] Don't enable projectile-mode 2023-09-11 20:32:21 -07:00
oni-rust.el Remove all self-loading autoload cookies 2021-11-23 00:38:09 -08:00
oni-scheme.el Indent ‘with-cwd’ differently 2024-12-17 23:49:00 -08:00
oni-sendmail.el [oni-sendmail] Add required version header 2023-06-21 22:42:37 -07: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 Require treesit 2024-07-08 14:53:20 -07:00
oni-yasnippet.el Don't fail if a snippet can't be found 2023-12-12 08:53:30 -08: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/)