1
0
Fork 0
Commit graph

713 commits

Author SHA1 Message Date
e22b5a5626 [oni-counsel] Add some functions to interact with the OS 2022-02-08 09:46:19 -08:00
0b640ec28e [oni-core] Replace ‘(upcase|downcase|capitalize)-word’ with dwim
The “Do What I Mean” variants will either work on a region or a word, not just a
word.
2022-02-08 09:44:59 -08:00
dcf277a644 [oni-browse-url] Add advice to ‘browse-url’ to redirect some URLs
There are a couple of free alternative front-ends to certain services:

- Scribe for Medium.

- Nitter for Twitter.

- Invidious for Youtube.
2022-02-08 09:42:32 -08:00
5834c0a7ef [oni-cmake] Add function to narrow the buffer to the current defun 2022-02-03 21:58:09 -08:00
d4eea37a8f [oni-csharp] Add csharp-solution-mode major mode
This major mode will be for viewing and editing the solution file. Right now it
just parses the solution file and displays some of the project names instead of
the GUIDs to make it more human readable.
2022-02-02 13:36:37 -08:00
df8ad7f733 [oni-csharp] Add compilation regular expression for devenv errors 2022-02-02 13:34:53 -08:00
f34308bf66 [oni-org] Allow refiling to someday.org
I'm trying to get a little more serious about GTD, and using a someday file is
part of that.
2022-01-12 10:42:06 -08:00
b18f400401 [oni-org] Modify the columns format for the todo list
Since I'm trying out the Pomodoro technique I want to be able to see at how many
pomodoro's I've estimated something so that I can choose what to do next.
2022-01-11 14:04:27 -08:00
7df353e7dc [oni-org] Don't change the state of a TODO when I'm capturing it
When a capture template is set up to clock in as I'm capturing it, this function
would immediately change the state of the item to WIP (or whichever next status
there was), but even though I'm spending time on the ticket at that point it's
not in progress yet.
2022-01-11 10:02:29 -08:00
011f0ce2f9 [oni-org] Add a simple Pomodoro duration
I'm trying out the Pomodoro Technique and one of the things you're supposed to
do is estimate your tasks in pomodoros. This change lets me estimate in, for
example, 1p (20min) based on my specified pomodoro duration.
2022-01-10 22:06:12 -08:00
a62f26073d [oni-core] Disable the ‘C-x o’ keybinding
I'm so used to using it that I keep forgetting to use ‘M-o’ for ‘ace-window’
instead. By disabling this keybinding I can train myself to use ‘ace-window’.
2022-01-06 09:16:47 -08:00
8a67063ae4 [oni-csharp] Change indentation for argument list continuations
Previously:

    public void Foo(TypeA arg1,
                    TypeB arg2)
    {

Now:

    public void Foo(TypeA arg1,
        TypeB arg2)
    {
2022-01-05 16:12:51 -08:00
6ec18c21df [oni-org-roam] Add additional properties to ‘org-mode’ on load
Add the ‘ROAM_REFS’ and ‘ROAM_ALIASES’ properties to ‘org-default-properties’ so
that they're included for completion when setting properties.
2022-01-03 22:57:55 -08:00
73cb112dc8 [oni-org-roam] Enable ‘visual-line-mode’ for roam buffers 2022-01-03 22:57:45 -08:00
e3f5a27816 [oni-package] Remove deprecated ‘org’ package archive
All distribution of the latest “org-mode” version happens through the “nongnu”
package archive now.
2021-12-08 09:59:34 -08:00
b08344eb0a Add ‘ace-window’ dependency and keybind 2021-12-07 20:48:18 -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
fc3093668f Remove lock file
How did I ever submit this? This doesn't belong here...
2021-12-01 13:44:35 -08:00
8af6f8d160 Remove autoloads for snippet loading
Loading ‘yasnippet’ shouldn't automatically load my package configuration. If my
package configuration hasn't been loaded it shouldn't try to include my snippets.
2021-12-01 13:43:21 -08:00
e1aecd6f63 [oni-git-commit] Enable ‘electric-pair-local-mode’
With ‘electric-pair-local-mode’ enabled and my inhibit function, this makes for
some pretty easy typing of words like “don't”.
2021-11-30 15:28:44 -08:00
6c611b5007 [oni-org] Enable ‘electric-pair-local-mode’
With ‘electric-pair-local-mode’ and my inhibit function together I get a pretty
reasonable way of typing fancy quotes and regular quotes in words like “don't”.
2021-11-30 15:25:10 -08:00
7432982e6a [oni-org-roam] Don't include headings that are FINISHED in my agenda 2021-11-23 00:40:28 -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
9a7c7e0673 [oni-org-roam] Add any files with tasks in them to org agenda files 2021-11-16 21:38:33 -08:00
ad7152a4d2 [oni-csharp] Change the location of Omnisharp on Windows 2021-11-16 20:49:08 -08:00
3247273c69 [oni-core] Don't fail when either ‘oni-c’ or ‘oni-cpp’ doesn't load
Either or neither can be installed when ‘cc-mode’ is loaded, but it shouldn't be
an error when one isn't.
2021-11-16 20:28:56 -08:00
b3965ea473 [oni-core] Add settings for spell checking
- Inhibit the use of the ’ character in case a ' should be used so that spell
  checking programs don't get confused.

- Explicitly use the ‘hunspell’ program to perform spell checking.
2021-11-10 21:32:14 -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
05cb65c4aa [oni-org-roam] Turn on ‘org-roam-db-autosync-mode’ 2021-10-28 20:00:02 -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
f07e7e6ed0
[oni-org] Don’t require ‘ol-man’
It seems that ‘ol-man’ was moved from org-contrib to the main org repository,
but the version of org hasn’t been updated yet, so my system can’t find it yet.
2021-10-17 16:39:06 -07:00
2cddf6d1cf [oni-dired] Enable ‘hl-line-mode’ in dired 2021-10-10 01:39:09 -07:00
072b98b597 [oni-dired] Fix docstring reference 2021-10-10 01:38:46 -07:00
82fbd7e4b2 [oni-org] Bring back Org Roam 2021-10-06 01:15:12 -07:00
581a574373
[oni-org-roam] Move location of roam notes and update for v2 2021-09-24 01:17:55 -07:00
1a84c02517
[oni-diff-hl] Remove autoload cookie, load from ‘oni-core’ 2021-09-21 23:29:06 -07:00
8ae902ac62
[oni-css] Remove autoload cookie, load from ‘oni-core’ 2021-09-20 20:28:32 -07:00
4d56d54956
[oni-css] Depend on my configuration of yasnippet 2021-09-20 20:28:06 -07:00
cfd9384374
[oni-csharp] Remove autoload cookie, load from ‘oni-core’ 2021-09-20 20:18:47 -07:00
6b83cea71b
[oni-csharp] Depend on my configuration of Smartparens 2021-09-20 20:17:51 -07:00
3568fc8d05
[oni-cpp] Remove autoload cookie, load from ‘oni-core’ 2021-09-20 20:06:46 -07:00
f6938f85c7
[oni-yasnippet] Change the default expand condition
By default I don’t want any snippets to be expanded in either strings or comments.
2021-09-19 23:53:47 -07:00
bede6c21cf
[oni-counsel] Remove autoload cookie, load from ‘oni-core’ 2021-09-19 23:41:08 -07:00
54859fa9a8
[oni-conf] Remove autoload cookie, load from ‘oni-core’ 2021-09-19 23:22:09 -07:00
0e83518572
[oni-compilation] Remove autoload cookie, load from ‘oni-core’ 2021-09-19 23:07:55 -07:00
0fee67c9d3
[oni-org] Don’t inherit the ‘project’ tag 2021-09-16 19:53:23 -07:00
574284ca78
[oni-core] Add ‘mixed-pitch’ mode to Info 2021-09-16 09:00:05 -07:00
a82ee89a23 [oni-org] Log non-state notes into the task, outside a drawer 2021-09-12 03:09:18 -07:00