1
0
Fork 0
Commit graph

41 commits

Author SHA1 Message Date
f934d1af0b [oni-gui] Enable ‘pixel-scroll-precision-mode’ when it's available 2023-08-05 23:38:18 -07:00
5f7a6b8ddd Give some keybindings (hopefully) more descriptive names
This style of keybinding helps ‘which-key’[1] to display a better name for the
command.

[1]: https://github.com/justbur/emacs-which-key
2022-12-13 07:11:36 -08:00
9e9da4471a [oni-gui] Disable ligatures on Windows
I'm trying to fix an issue with loading a C# file that freezes my Emacs on
Windows. I've turned off the other functions, but it appears that this still
happens. If I have ligatures off, it seems to work ok.
2021-12-01 18:19:06 -08:00
9b8a001b62 [oni-gui] Don't use variable pitch or any fancy characters on WinNT 2021-12-01 17:46:16 -08:00
ccc0db6745 [oni-gui] Replace special characters with character codes
This is faster on systems where the right fonts haven't been installed.
2021-12-01 17:46:05 -08:00
cfa0179053 Remove all self-loading autoload cookies
The big downside of usuing these cookies to inject my configuration into the
loading of a package is that it means that I can't load that package without my
configuration anymore. This means that when I start ‘emacs -Q’ and then call
‘package-initialize’ it'll load my configuration as well. This makes debugging
things very difficult.
2021-11-23 00:38:09 -08:00
a0bd2014f3 [oni-gui] Use a hook to setup the variable and fixed-pitch faces
Since the ‘set-face-attribute’ function documentation says that if you use ‘nil’
as the FRAME argument, you set the face attribute for all current and future
frames. However this doesn’t seem to work for my setup at all, the variable
pitch font is still “Sans Serif” when I open the first frame.
2021-10-28 20:23:36 -07:00
2b22982c2c [oni-gui] Always setup faces immediately
Since the functions called in ‘oni-gui-setup-faces’ work on either the given
frame or, if given ‘nil’, all future frames, it shouldn’t be a problem to call
it when the Emacs daemon is starting. And since my main org file is loaded
before a frame is created, it doesn’t use the right font otherwise.
2021-10-21 14:26:08 -07:00
4fee53aae5 [oni-gui] Fix setting fixed-pitch' and variable-pitch' faces
Also change the `variable-pitch' font to Comic Neue[1]

[1]: http://www.comicneue.com/
2021-09-11 02:55:05 -07:00
fccabea46c
[oni-gui] Remove mode-icons 2021-07-27 14:48:22 -07:00
b1c7553275 [oni-gui] Update variable-width font 2021-05-24 19:49:40 -07:00
9cc3e356af Add some more ligatures supported by Fantasque Sans Mono 2021-03-17 21:21:31 -07:00
2be22d72d9 Replace Comic Neue with DejaVu Sans
It doesn’t seem like Emacs can load Comic Neue at all, I also tried Open Sans.
DejaVu seems to work fine.
2021-03-16 23:31:18 -07:00
59badf01c2 Add ligatures supported by Fantasque Sans Mono 2021-03-16 23:31:03 -07:00
2d8d0d2b1e Change fonts for ‘fixed-pitch’ and ‘variable-pitch’ fonts 2021-02-15 16:49:21 -08:00
d824998884 Add mode-icons 2021-02-06 18:15:45 -08:00
c9212149da Explicitly require hydra for configs that create hydras 2020-09-09 08:53:22 -07:00
cc133fb6f1 Don’t specify a variable pitch font
This way doesn’t work with running Emacs as a daemon. It doesn’t seem to be
doing bold right...
2020-04-30 18:35:47 -07:00
9c753fae7e Use font-awesome to display org checkboxes 2020-04-13 00:40:22 -07:00
ec15e1bca1 Shrink ✓ to make it fit in the mode-line 2020-04-10 19:12:39 -07:00
05f103e9e1 Resize Emacs frames by pixels
Instead of the default resising by columns and rows, use pixels.
2020-04-10 18:12:55 -07:00
69aec39c5d Diminish auto-revert-mode to  2020-04-09 13:17:05 -07:00
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
dcffe90e3c Test isearch-mode diminishing using a constant
Apparently in the docker container that’s running the tests, reading  from the
command-line makes it a multibyte character (105 776 127 130), but defined in
Emacs it’s a unibyte character (61442). This might have something to do with
UTF-16 vs UTF-8?
2020-04-08 23:48:56 -07:00
df4d188d3f Fix diminishing minor modes when reloading libraries 2020-04-08 11:16:00 -07:00
d8bcda8f25 Change the variable pitch font 2020-03-28 12:06:27 -07:00
f903d0849e Add sort lines to gui hydra 2020-03-08 17:15:56 -07:00
0d4c8f1880 Add list-packages to common gui hydra 2020-03-08 15:18:12 -07:00
b99d2dc5a7 Add hydra for basic gui stuff 2020-03-06 23:19:24 -08:00
bf16ac4d9c Go back to yoshi-theme 2019-10-16 23:28:31 -07:00
935318e7b7 Switch from yoshi-theme to naquadah-theme 2019-09-24 18:30:25 -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
4c4c552be4 Add org-bullets characters to speed up their display 2019-05-01 16:44:00 -07:00
5a006c911b Fix Font Awesome font rendering on Windows 2019-05-01 16:42:56 -07:00
c984085a03 Specif some more icons that use Font Awesome 2019-04-29 18:02:15 -07:00
75295d2fae In GUI Emacs, use special icon for isearch 2019-04-24 00:59:12 -07:00
a600426b89 Add yoshi-theme dependency in oni-gui 2019-03-08 23:10:50 -08:00
ae9cc7cad3 Disable C-z in oni-gui 2019-03-04 23:52:24 -08:00
3422f46ed8 Move `scroll-bar-mode' to GUI config, fix warning
Move `scroll-bar-mode' to `oni-gui` because it isn't defined in the
non-GUI version. Fix the warning that `tool-bar-mode' wasn't
guaranteed to be defined by requiring the `tool-bar' library.
2019-02-25 19:13:15 -08:00
1d0527f6cc Properly autoload packages 2019-01-30 01:51:03 -08:00
b638db0716 Add oni-ui and oni-gui 2019-01-24 01:21:19 -08:00