1
0
Fork 0
My Emacs configuration files
Find a file
Tom Willemse 734d5764f8 Apply fontset settings when a frame is created, tweak font size
Instead of setting the fontset things immediately always, check if we’re running
as a daemon and if so, delay setting the fontsets until after a frame is
created. This will set the fontset for each frame individually.

Tweak the font size of the Font Awesome icons to fit better with the rest of the
fonts.
2020-04-09 13:13:59 -07:00
oni-conf Remove dependency declarations from Cask files 2020-03-20 10:48:56 -07:00
oni-csharp Use ‘nxml-mode’ for ‘.proj’ and ‘.targets’ files 2020-04-07 12:01:05 -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 Diminish org-edna 2020-04-09 11:32:52 -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 Diminish org-edna 2020-04-09 11:32:52 -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 Diminish org-edna 2020-04-09 11:32:52 -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 Disable ‘shfmt-on-save-mode’ for ‘bats-mode’ buffers 2020-04-07 21:40:06 -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 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 Fix diminishing minor modes when reloading libraries 2020-04-08 11:16:00 -07:00
oni-compilation.el Replace ‘ansi-color’ with ‘xterm-color’ 2019-09-19 17:33:38 -07:00
oni-core.el Ensure idle timer for ‘recentf-save-list’ only gets created once 2020-04-07 21:30:12 -07:00
oni-counsel.el Fix diminishing minor modes when reloading libraries 2020-04-08 11:16:00 -07: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 Use ‘nov-mode’ for ‘.epub’ files 2020-04-07 23:15:48 -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-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 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 Apply fontset settings when a frame is created, tweak font size 2020-04-09 13:13:59 -07:00
oni-haskell.el Enable electric pairing in Haskell 2020-04-08 23:52:42 -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 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 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 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 Automatically load scheme-mode for scsh files 2020-01-06 20:09:13 -08:00
oni-sh.el Fix arguments for shfmt 2020-04-07 21:30:52 -07: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 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/)