1
0
Fork 0
Commit graph

943 commits

Author SHA1 Message Date
23ff70c4ef [oni-hy] Add configuration for Hy mode 2023-07-14 00:26:17 -07:00
e38bb344e4 Remove the ‘defun’ snippet from ‘lisp-interaction-mode’
It always confuses me that it's defined in ‘lisp-interaction-mode’, but not in
‘emacs-lisp-mode’. ‘emacs-lisp-mode’ has the same basic snippet under the key
‘def’.
2023-07-12 23:28:12 -07:00
038c87bfea [oni-org] Add ob-async 2023-07-10 23:06:33 -07:00
03563a7544 Fix typo 2023-07-09 23:11:52 -07:00
dfc257cd8c [oni-core] Remove tips display from initial scratch message
This is now displayed on my Inkplate.
2023-07-08 00:39:38 -07:00
77b629bc53 [oni-org] Export “” as escaped html entities 2023-07-06 16:50:10 -07:00
de5e5ff047 [oni-core] Enable ‘isearch-lazy-count’ to show matches 2023-07-06 16:48:57 -07:00
748db4a4ee [oni-notmuch] Insert an extra section with a button to sync email
This section is meant to come right after the first “hello” section. The hooks
should be set up in pre-new and post-new to make sure that everything that needs
to run before and after works as expected.
2023-06-22 16:36:26 -07:00
af7cce50e8 [oni-sendmail] Add required version header
Without it the package isn't valid.
2023-06-21 22:42:37 -07:00
8a0cddac7c [oni-sendmail] Split my config to send email into separate package
I haven't been using Gnus for a while and have been using notmuch instead.
Having my email sending settings be a part of the gnus configuration makes it
impossible to send email without loading gnus.
2023-06-21 22:38:50 -07:00
9fe6381afd [oni-org] Get rid of any ‘(setf (map-elt ...) ...)’ occurrences
Right now this doesn't seem to work at all... It works fine when I evaluate this
using ‘eval-defun’ or ‘eval-last-sexp’, but when I try to byte-compile it
doesn't work.

I've added my own custom macro that expands to the same thing that
‘(setf (map-elt ...) ...)’ should. I have forgotten how to write macros properly
so I may have made some mistakes.

This should only be temporary until I figure out why this is happening... it
might just be that I'm using a version of Emacs built from a faulty commit.
2023-06-21 00:27:35 -07:00
c36f9ff2f7 [oni-grep] Enable ‘hl-line-mode’ in ‘grep-mode’
This makes it easier to see which line I'm looking at while going through the
hits.
2023-06-15 23:35:12 -07:00
de53fb6f1c [oni-core] Add key to insert lambda 2023-06-15 23:34:57 -07:00
dddc309e9e [oni-org] Only show snippet captures in ‘org-mode’
They don't currently make sense for anywhere else...
2023-06-13 23:46:41 -07:00
b874f09b9d [oni-org] Fontify quote and verse blocks specially 2023-06-13 23:45:56 -07:00
ddeeb5bf67 [oni-org] Add a capture template for a snippet about Emacs articles 2023-06-13 23:45:37 -07:00
9d50b486ac [oni-package] Clear package archives so that I can't use them 2023-06-13 18:56:58 -07:00
e0ec6bfab6 [oni-org] Add template for capturing Emacs package questions 2023-06-13 18:56:23 -07:00
b0c7bc3948 [oni-org] Bring back capture templates and agenda views
New and (hopefully) improved...
2023-06-07 23:28:57 -07:00
b6fb021442 [oni-org] Add gnuplot to automatically loaded languages for Babel 2023-06-04 15:45:27 -07:00
e7a0af01ab [oni-org] Add my tickler file to my refile targets 2023-06-04 15:37:03 -07:00
e1ac10a008 [oni-org] Sort paragraph 2023-06-04 15:33:17 -07:00
df63b4d002 [oni-org] Use a new archive file for each year
This way archives don't keep growing indefinitely and opening the archive
doesn't load every single language I've ever used because there are code blocks
in there.
2023-06-04 15:32:29 -07:00
c17ca63952 [oni-org] Throw away custom agenda commands and capture templates 2023-06-02 00:10:30 -07:00
e54b77c8d7 [oni-org] Automatically hide source code blocks marked as hidden
Source:
https://emacs.stackexchange.com/questions/44914/choose-individual-startup-visibility-of-org-modes-source-blocks
2023-06-01 22:46:52 -07:00
4ab9d3c4b3 [oni-elfeed] Add Mickey Petersen to list of people whom I follow
I already follow his blog directly, so I don't need to also see his posts from
Planet Emacslife.
2023-05-31 08:47:12 -07:00
49d2ef7443 [oni-org] Sort hooks 2023-05-30 17:40:17 -07:00
00e010b41d [oni-org] Enable ‘yas-minor-mode’ in Org Mode 2023-05-30 17:39:46 -07:00
0a0460e907 [oni-org] Automatically load ‘ob-dot’ 2023-05-30 17:38:38 -07:00
d919a0ab6a [oni-org] Fix typo 2023-05-26 23:52:05 -07:00
dd2bbeb47b [oni-org] Change the way file links are displayed in org-mode
If a file link points to a file that doesn't exist, display it similarly to an
error.
2023-05-26 23:45:57 -07:00
ec54fa9d04 Ignore any ‘.elc’ files 2023-05-25 15:47:22 -07:00
c2f624bf89 Remove oni-markdown package
It's just an empty file on my disk that hasn't been committed.
2023-05-25 15:46:36 -07:00
60b361fdae Fix variable reference
Oops, must have accidentally screwed this up when I changed the name. Will
probably move the guile code into its own file at some point, though.
2023-05-25 15:45:57 -07:00
09615b953a [oni-core] Require ‘consult’ when byte-compiling ‘oni-core’
When everything is interpreted it all works fine because ‘consult’ is loaded
before the ‘with-eval-after-load’ part is run, but when byte compiling the byte
compiler doesn't know that ‘consult-customize’ is a macro unless ‘consult’ is
loaded, which it isn't when Guix compiles it.

When it's byte-compiled as if it's a function ‘consult-buffer’ is assumed to be
a variable that's passed in, so I'm guessing it's trying to dereference it first
before passing it on to a non-existent function? But of course ‘consult-buffer’
is only a function (Emacs Lisp is a Lisp-2 after all), so it fails, but only
when byte compiled (and even only when byte-compiled in a clean environment
where there are no packages loaded that aren't explicity said to be).

Hopefully this fixes my issue with being unable to switch buffers until I
explicitly load ‘consult’.
2023-05-25 15:29:42 -07:00
23ee5ed080 Revert "[oni-core] Call ‘consult-customize’ from the top-level"
This reverts commit 961651e575.

It works in an interactive session, but still fails while starting up. Probably
has to do with autoloads not having finished loading yet, perhaps?
2023-05-25 14:09:45 -07:00
961651e575 [oni-core] Call ‘consult-customize’ from the top-level
This macro seems to work fine when expanded at run-time even when ‘consult’
hasn't been loaded, but it doesn't work after it's been byte-compiled... Perhaps
putting it in the top-level will help. I'm wondering if somehow the byte
compiler closes over a reference to ‘consult-buffer’ during compilation that's
not available when it executes?
2023-05-25 13:49:01 -07:00
67159d71e5 [oni-csharp] Add command to add a file to ‘.csproj’ 2023-05-25 00:18:35 -07:00
4a8c54f922 [oni-csharp] Use text properties instead of overlays
Use text properties instead of overlays and add some extra information.
2023-05-25 00:17:29 -07:00
7e5e8c1ce4 Ignore any eldev directories 2023-05-25 00:16:59 -07:00
2268dfc27a [oni-groovy] Add regexp for top-level functions
In the Groovy used with Jenkins it seems quite common for there to be top-level
functions that aren't explicitly in classes (they still are implicitly).
2023-05-25 00:14:46 -07:00
817060db2c [oni-org] Add function that I want to save and have no place for yet 2023-05-25 00:14:32 -07:00
83a70abae3 [oni-org] Remove use of deprecated functions 2023-05-25 00:14:06 -07:00
966af9fb99 [oni-org] Remove dependency on deprecated package 2023-05-25 00:13:53 -07:00
ae2928e39f Update the makefile to properly look for the right targets
The ‘get-multifile-module-version’ and ‘get-module-version’ functions open up
the given Emacs Lisp file and search for a “Version” header, parses it out, and
then returns the file name of the module as it should look in the package
archive.
2023-05-25 00:10:31 -07:00
e8ac8c4687 Replace all Cask files with Eldev files
I'm working on moving my build setup to my own laminar[1] instance. To do this I
need to be able to package files up. It appears that I couldn't quite get Cask
to work, and Eldev exists in the Guix[2] package repository.

[1]: https://laminar.ryuslash.org/
[2]: https://guix.gnu.org/
2023-05-25 00:03:46 -07:00
434a811056 [oni-core] Put the call to ‘consult-customize’ in separate function
I'm having some issues with my ‘consult-buffer’ setup and I'm hoping that
putting this in its own function will help me debug the issue, or at least show
me if this is part of the issue or not.
2023-05-24 23:57:26 -07:00
df67fdad8b [oni-core] Add window management keybindings
The various ‘M-<NUMBER>’ keybindings are all also bound to ‘C-<NUMBER>’, no need
to have both, and using ‘M-0’ is a lot easier than using ‘C-x 0’. This also
replaces the old keybindings with a message that tells me to use the new
keybindings instead to help me learn.
2023-05-24 23:54:50 -07:00
020f19fcbc [oni-core] Add keybinding to select which window to use as “other” 2023-05-24 23:51:09 -07:00
b26c3c8899 Isolate building packages some more
Don't load the user init file while building my Emacs packages, make sure to use
a different ‘package-user-dir’ so that bad packages don't interfere and it
doesn't accidentally work because of existing packages. Specify the
‘package-archive-upload-base’ in the Makefile so that there is only one place to
look and modify if this needs to move. Ensure that the
‘package-archive-upload-base’ exists before uploading to it.
2023-04-26 23:08:21 -07:00