1
0
Fork 0
Commit graph

373 commits

Author SHA1 Message Date
3c95635890 Integration test each individual package
In order to differentiate better between the two types of tests, rename the test
commands to unit-test.
2020-01-08 12:13:55 -08:00
bd805dadcb Try running integration tests 2020-01-08 11:56:52 -08:00
a8ae963756 Add Dockerfile
This Dockerfile is used to build the image used for integration tests, it’s the
regular Emacs image, but with the bats package added.
2020-01-08 11:50:18 -08:00
a1e3fb87dc Add docker configuration 2020-01-07 22:43:59 -08:00
e5127ad0d2 Add test loading oni-bookmark 2020-01-07 21:50:50 -08:00
a2a474d87a Add test loading oni-autohotkey 2020-01-07 21:33:56 -08:00
5ea266270d Add auto-insert template for bats-mode 2020-01-07 21:33:42 -08:00
487f25a7a6 Move bats tests to test/integration 2020-01-07 16:27:27 -08:00
e91f599f13 Move test if oni-alert loads into bats test
With bats I can better test Emacs from a clean state.
2020-01-07 16:25:30 -08:00
0115885ae5 Automatically load scheme-mode for scsh files
When the interpreter contains scsh, load ‘scheme-mode’.
2020-01-06 20:09:13 -08:00
39bbfffbd8 Only deploy on the master branch 2019-12-11 22:01:09 -08:00
e62e994630 Switch the Test and Package stages
In order to simplify the testing of each package, do the packaging step first so
that when it gets to the testing stage it can load the packaged files from the
local repository and manage the interdependencies that way.
2019-12-11 21:55:20 -08:00
977f795e03 Enable ‘auto-fill-mode’ for comments in most programming modes
The ones that are already backed by a formatter, such as Java, Python and sh
don’t need it.
2019-12-10 23:16:15 -08:00
cd084ebd2a Use ‘ibuffer-jump’ instead of ‘ibuffer’
‘ibuffer-jump’ moves the point to be on the buffer that you jump from, ‘ibuffer’
doesn’t change point.
2019-12-10 22:11:10 -08:00
b0a6eb533b Fix enabling ‘sh-mode’ for ‘PKGBUILD’ files 2019-11-25 23:21:29 -08:00
13339cbc24 Add bookmarks file in org-mode 2019-11-25 23:20:05 -08:00
a30f3e4d48 Use ‘sh-mode’ for PKGBUILD files 2019-11-19 22:02:50 -08:00
cc1b465c8f Add configuration for ‘bats-mode’ 2019-11-17 12:20:44 -08:00
1069fd7d32 Expand the description of ‘oni-sh’ 2019-11-17 10:35:26 -08:00
d4e4a25cde Add documentation command for LSP
The default way lsp (at least for Java) is displayed is annoying. I’m used to
calling documentation with a keybinding like in Emacs Lisp. This command makes
it more like that.
2019-10-21 00:42:30 -07:00
220ad644dd Set org-list-description-max-indent
It's always bothered me that a description list in org-mode might be
indented quite a bit if the terms aren't long enough. With this change
they'll always indent the same way, using 5 spaces.
2019-10-18 11:16:08 -07:00
bf16ac4d9c Go back to yoshi-theme 2019-10-16 23:28:31 -07:00
0baa1485c2 Add some more key bindings to the java refactor hydra 2019-10-16 23:28:31 -07:00
1ac1bedfc6 Re-enable ‘lsp-ui-doc-mode’ and enable ‘lsp-lens-mode’ 2019-10-16 23:28:31 -07:00
21f57c111e Add AutoHotKey configuration 2019-10-10 17:10:39 -07:00
3ba4243277 Add function to start ediff from the command-line 2019-10-10 17:08:23 -07:00
298885434b Fix errors in ‘oni-termux’
For some reason it appears that ‘alert-termux’ is added to the
‘load-path’ after ‘oni-termux’, so that when ‘oni-termux’ calls
‘require’ for ‘alert-termux’ it hasn’t been added to the ‘load-path’
yet and fails.

When requiring the ‘battery’ library it seems to immediately try to
read some information. Since Termux isn’t actually a linux
distribution if fails with a "Permission Denied" error when trying to
read ‘/sys/class/power_supply’. To prevent this from happening the
‘battery-status-function’ needs to be set before loading ‘battery’.
2019-10-06 11:35:00 -07:00
b9d40baf5e Use Emacs 26.3 to test everything 2019-10-02 20:33:58 -07:00
e86f0e4d15 Add some commands to the ‘java-refactor-hydra’ 2019-10-02 19:59:15 -07:00
b33e274d9f Add powershell configuration 2019-09-27 09:35:34 -07:00
935318e7b7 Switch from yoshi-theme to naquadah-theme 2019-09-24 18:30:25 -07:00
06d7640368 Add alert settings for Termux 2019-09-20 23:18:00 -07:00
ea04d5ff46 Add oni-termux 2019-09-20 23:18:00 -07:00
11f53711a4 Fix error in setting up xterm-color in eshell
Apparently when the ‘oni-eshell’ library gets loaded neither
‘eshell-preoutput-filter-functions’ nor ‘eshell-output-filter-functions’ are
ready to be used, even though they are defined in the ‘esh-mode’ libary, which
is loaded at this point in time.
2019-09-20 09:34:43 -07:00
3ec966634b Allow ‘fit-window-to-buffer’ to resize windows horizontally 2019-09-19 17:40:16 -07:00
897028c275 Show both "*helpful" and "*Help" buffers in a side window 2019-09-19 17:39:42 -07:00
d37d8f969b Replace ‘ansi-color’ with ‘xterm-color’
According to a tweet from Mickey Petersen[1], ‘xterm-color’ is faster and more
accurate.

[1]: https://twitter.com/mickeynp/status/1132236557308579840?s=09
2019-09-19 17:33:38 -07:00
8724c976fc Abstract package uploading into a function 2019-09-19 17:00:10 -07:00
6ec65fb222 Add readmes for multi-file packages 2019-09-19 16:51:45 -07:00
c201e368d6 Fix checkdoc warning 2019-09-18 11:09:58 -07:00
db0220de5c Add some layout management commands
After watching a YouTube video[1] on managing window layouts in Emacs I was
reminded of ‘winner-mode’ and introduced to the ‘ivy-push-view’ and
‘ivy-switch-view’ commands. As I feel like I frequently end up with setting up
and losing layouts, I think these may be useful.

[1]: https://www.youtube.com/watch?v=kyllrQiNsyA
2019-09-18 11:07:46 -07:00
298241a2d5 Enable Java in org-mode source code blocks 2019-09-16 20:49:42 -07:00
b605aa6cd7 Use a different image for rsync
If this works, there’s no need to install rsync separately. There isn’t anything
in this step that has anything to do with Emacs, so it should work.
2019-09-08 18:04:07 -07:00
730953ee53 Show help(ful) windows in side windows 2019-09-08 17:26:05 -07:00
56ec6c26a1 Remove shackle dependency
This is now handled by the ‘display-buffer-alist’ setting.
2019-09-08 17:21:44 -07:00
b8f4185e08 Show compilation buffers in side windows 2019-09-08 17:18:12 -07:00
a8e05a6b48 Show grep windows in a bottom side buffer 2019-09-08 17:01:13 -07:00
071ab29871 Show IELM buffers in a side-window 2019-09-08 16:55:34 -07:00
cd59d77e92 Open eshell buffers in a side window 2019-09-08 16:53:11 -07:00
bb29ee8a12 Change version format
In order to support my tablet which seems to have a lower maximum integer
value (I guess it’s 32-bit? I’m surprised) and can’t handle the version numbers
I was using before. It would turn them into floating point numbers, which adds a
~.0~, this made it impossible to install any package.

Any installations I have will need to reinstall all their oni packages so that
the new version number is picked up, since the new version number will be lower
than the old one.
2019-09-04 21:09:38 -07:00