1
0
Fork 0
Commit graph

925 commits

Author SHA1 Message Date
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
8eb16a8db6 [oni-core] Add mini-frame configuration 2023-04-16 00:30:50 -07:00
bd24cb6def [oni-elfeed] Fix regular expression for security updates 2023-04-15 23:14:44 -07:00
e178ca2d41 [oni-elfeed] Remove some dead feeds 2023-04-15 23:14:10 -07:00
5836a55f4c [oni-eshell] Shorten directories and add P4 informatin in Eshell
This also happens to include changes to the font for Eshell as an experiment and
setting the page delimiter so page navigation commands work on prompts.
2023-04-15 23:10:50 -07:00
7e581611fb [oni-core] Add function to debug more hidden errors
https://gist.github.com/jdtsmith/1fbcacfe677d74bbe510aec80ac0050c
2023-04-15 20:45:15 -07:00
3c75681b25 [oni-core] Disable previews for ‘consult-buffer’ 2023-04-15 20:44:57 -07:00
348f71e570 [oni-org] Experiment with using more contexts to filter tasks
Instead of adding a lot of tags and adding a lot of agendas filtering on them
I'm experimenting with using org-edna to make certain contexts a dependency of a
task to filter them out of my todo list.

Current contexts I'm experimenting with are:

- ‘day-of-week?’ to filter out tasks that I can only do on certain days.

- ‘night-time?’ to filter out anything that I can't do in the evening. Usually
  having to do with contacting others.

- ‘business-hours?’ to filter out anything that is outside of a certain
  timezone's “business hours”, defined by me as anywhere between 9am and 6pm.
2023-04-11 20:23:23 -07:00
c76c236991 [oni-elisp] Fix keybindings for IELM
‘paredit-mode’ appears to have added keybindings for ‘C-j’ and ‘RET’ that
weren't there before (or did I enable ‘paredit-mode’ in IELM recently?) and that
interfere with executing code.

This way of removing the keybindings works in a buffer-local only way so that in
other buffers the ‘RET’ and ‘C-j’ keybindings remain untouched.
2023-04-11 20:20:57 -07:00
1de5e3892c [oni-org] Simplify org element property access 2023-04-11 20:20:28 -07:00
f460c3a19f [oni-elfeed] Fix tagger that removes duplicates of Planet Emacslife
First: the match needs to be any entry that does match the names of the people
whos blogs I already follow.

Second: The search regular expression can't contain spaces. It seems to be the
same as any search query. So when a regular expression contains a space it's
considered two different search terms. This doesn't work when we're searching
for one option with a space in it (“Irreal” or “Sacha Chua” or “Andrea”) since
the syntax for the regular expression gets all messed up. Quickest workaround is
to match any whitespace instead.
2023-04-11 20:09:32 -07:00
9c1ef54e74 [oni-elfeed] Add another feed 2023-04-11 20:06:00 -07:00
7b24216fe1 [oni-org] Add ‘org-pretty-table’ 2023-04-09 21:50:48 -07:00
50ea147510 [oni-org] Disable padding of date for comparison
Comparing “3” to “03”, for example, won't ever succeed.
2023-04-03 00:55:11 -07:00
f965d1c768 [oni-elfeed] Remove ‘unread’ tag from matched Planet Emacs articles 2023-04-02 01:01:04 -07:00
92f4d8b53e [oni-elfeed] Ignore some blog posts from Planet Emacslife
These are posts that happend to point at blogs that I already follow.
2023-04-01 23:18:07 -07:00
b402ee0c31 [oni-elfeed] Ignore Security updates from LWN 2023-04-01 23:17:47 -07:00
aa2444374b Turn off autoloading oni-ivy
For some reason projectile loads ivy, which tries to load oni-ivy, which I don't
use at the moment.
2023-04-01 23:01:35 -07:00
6185c26d51 [oni-core] Fix related files function 2023-03-30 22:28:24 -07:00