1
0
Fork 0
Commit graph

950 commits

Author SHA1 Message Date
fe81a684b0 [oni-scheme] Disable the paredit newline keybindings in Geiser REPL 2023-07-18 21:21:46 -07:00
467160bbf8 [oni-elfeed] Keep an eye on my friend's bookmarks 2023-07-17 15:51:58 -07:00
09481bedbc [oni-circe] Add some IRC channels to lurk in 2023-07-17 15:51:42 -07:00
a0a47c84dc [oni-org] Add a yasnippet snippet for a todo item 2023-07-16 23:34:48 -07:00
833a01671a [oni-org] Add category icons for “blog” and “writing” 2023-07-16 23:34:32 -07:00
b64b381871 [oni-core] Remove unnecessary code
When Emacs is first started ‘treesit-extra-load-path’ is empty and any
‘(treesit-language-available-p ...)’ will return nil. But calling, for example,
‘bash-ts-mode’ will work if the package is installed in Guix and will fill the
variable.
2023-07-16 23:21:16 -07:00
6c97f13595 [oni-core] Add settings for tree-sitter
- Set the ‘treesit-extra-load-path’ to the value of ‘TREE_SITTER_GRAMMAR_PATH’.
  Emacs doesn't seem to do this automatically, but Guix sets that variable when
  grammars get installed.

- Add ‘bash-ts-mode’ to the ‘interpreter-mode-alist’. In his article[1] about
  tree sitter support in Emacs Mickey Petersen mentions that it's best to use
  ‘major-mode-remap-alist’, however in his example he remaps ‘bash-mode’ to
  ‘bash-ts-mode’, but there is no ‘bash-mode’. Setting the
  ‘interpreter-mode-alist’ like this still works.

[1]: https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
2023-07-15 01:08:26 -07:00
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