Commit Graph

281 Commits

Author SHA1 Message Date
Case Duckworth c5c8929180 Add `:mode' setup form
(:mode EXTENSION) expands to
(add-to-list 'auto-mode-alist '(EXTENSION . setup-mode)).
2021-04-10 17:27:45 -05:00
Case Duckworth 197112f768 Add docstrings 2021-04-10 17:24:08 -05:00
Case Duckworth 9a0dbf505c Fix paredit-mode bindings in SLIME's REPL
I could (a) put these in a different place (in the `setup slime' form, for
example), or (b) streamlined funcitons or ... something, but I did it this way
and it works fine so that's that.  Oh, I also wrote a longish docstring.
2021-04-10 14:29:05 -05:00
Case Duckworth b5e4759c6e Fix some comments for `outline-mode'
Still need to do the rest of init.el and early-init.el, and I suppose acdw*.el.
2021-04-10 14:28:31 -05:00
Case Duckworth 5f45147ca5 Load slime-helper.el if it exists
I couldn't find a function that would return a filename /if/ it exists, so I
had to write one: `expand-file-name-exists-p'.  Might change the name at some
point.
2021-04-09 17:51:29 -05:00
Case Duckworth 8369e93657 Add ctrlf
TODO: incorporate some kind of visual find-replace with ctrlf
2021-04-09 14:13:45 -05:00
Case Duckworth 65f7907ea5 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-09 12:58:45 -05:00
Case Duckworth 41009efecc Load clisp for slime 2021-04-09 12:50:11 -05:00
Case Duckworth 13dd1847dc Add `slime'
On Windows, I use CLisp for LISP, so I need to add the path to exec-path there.

I also moved `geiser''s definition to keep fennel and lua together.
2021-04-08 15:48:11 -05:00
Case Duckworth 0550d9ed97 Add `acdw/find-emacs-dotfiles' 2021-04-07 12:56:14 -05:00
Case Duckworth b34fce179c Remove minibuffer hook and make deletions more smarter
Turns out, `smart-hungry-delete-mode' is mostly unnecessary.  I can use the
really dumb version.
2021-04-07 11:28:15 -05:00
Case Duckworth 63fa8ed2e2 Fix immortal-buffer bug 2021-04-07 00:45:10 -05:00
Case Duckworth ab73a298d5 Merge branch 'main' of tildegit.org:acdw/emacs 2021-04-07 00:15:57 -05:00
Case Duckworth fc72ca6248 Uh 2021-04-07 00:14:08 -05:00
Case Duckworth 0f458f78cb Blink cursor once 2021-04-07 00:12:39 -05:00
Case Duckworth 030f2f0f43 Blink cursor once 2021-04-06 18:30:49 -05:00
Case Duckworth c05d1ba2c8 7 2021-04-06 17:59:45 -05:00
Case Duckworth 3680808477 Add more dired-subtree maps 2021-04-06 12:46:04 -05:00
Case Duckworth 3a18f61466 Unwrap `flyspell-correct' from the `when (executable-find ...' 2021-04-06 12:45:24 -05:00
Case Duckworth b0377f3f9b Switch `icomplete-vertical' for `vertico' 2021-04-06 12:44:49 -05:00
Case Duckworth c6f83be8cd Truncate lines in the minibuffer
The comment is wrong.
2021-04-06 12:43:59 -05:00
Case Duckworth 56e5b20d9b Remove gnus 2021-04-06 12:43:39 -05:00
Case Duckworth d5b80fa068 Typos? 2021-04-05 16:59:35 -05:00
Case Duckworth e8d3c1d573 Guile -> Scheme
Guile /is/ a scheme, after all.
2021-04-04 23:10:18 -05:00
Case Duckworth 4f2090bce7 Fix paredit-mode bindings
<backspace> was being shadowed by `smart-hungry-delete'.
2021-04-04 23:09:50 -05:00
Case Duckworth 5f4126e472 Fix outshine comment leaders 2021-04-03 09:48:05 -05:00
Case Duckworth 2c6fb051d9 Add `paren-face' 2021-04-03 09:47:58 -05:00
Case Duckworth c0bbc7b840 Add `geiser' 2021-04-03 09:47:42 -05:00
Case Duckworth bc962d91b3 Add `fennel' and `lua' 2021-04-03 09:47:19 -05:00
Case Duckworth 52bac1f364 Add `form-feed' 2021-04-03 09:46:48 -05:00
Case Duckworth f984937295 Fix typo
Should've gone with the other "fix typo" ... oh well.  One day I'll learn how to
git cherry-pick or whatev.
2021-04-03 09:46:13 -05:00
Case Duckworth fc6c7ddc79 Move stuff around 2021-04-03 09:45:59 -05:00
Case Duckworth d89223f00d Add paredit-mode
I also disabled electric-pair-mode in paredit-mode enabled buffers.
2021-04-03 09:45:24 -05:00
Case Duckworth b49611018e Fix typo 2021-04-03 09:44:41 -05:00
Case Duckworth afe7ff276b Remove split-window-* advice
It messed up too much.
2021-04-02 14:51:06 -05:00
Case Duckworth f7cdcce912 Require spelling program for spelling to work 2021-04-02 14:42:35 -05:00
Case Duckworth 4a3b0a34f1 Disable tool-tip-mode 2021-04-02 14:42:27 -05:00
Case Duckworth 1dedc6df5d Advise split-window- functions to prompt for a buffer 2021-04-02 14:42:15 -05:00
Case Duckworth af3147028c Remove `:acdw/map' from `setup' 2021-04-02 14:41:39 -05:00
Case Duckworth aa6002f07f Change hook formatting
I like putting the `defun' form into the hook definition for tighter coupling.
The functions are just for the hooks, after all.

I'm sure this is somehow bad practice, but ... bleh.
2021-04-02 13:29:50 -05:00
Case Duckworth 375490f225 Remove commented code 2021-04-02 13:29:38 -05:00
Case Duckworth 382fb6f4e5 Hook `electric-pair-mode' into `eval-expression' 2021-04-02 13:29:31 -05:00
Case Duckworth b0edf26ce6 Hook `executable-make-buffer-file-executable-if-script-p'
The worst-named function ... of all time.
2021-04-02 13:28:30 -05:00
Case Duckworth b649a25755 Add `defun-with-hooks' 2021-04-02 13:28:22 -05:00
Case Duckworth 437f89ef31 Tweak elisp-mode settings
So emacs-lisp-mode is really annoying, because it's called `emacs-lisp-mode' but
the file is "elisp-mode.el" -- like, pick one, yall.
2021-04-02 13:06:33 -05:00
Case Duckworth 95378118d4 Set up eldoc 2021-04-02 13:06:21 -05:00
Case Duckworth bad90ed2f9 Add `elpher:eww-browse-url' 2021-04-02 13:05:24 -05:00
Case Duckworth 784dc63916 Add `pkgbuild-mode' 2021-04-02 13:05:12 -05:00
Case Duckworth 3e2d645fae Change helpful advice to bindings 2021-04-02 13:04:52 -05:00
Case Duckworth 4c20a1d8e8 Set `find-function-C-source-directory' everywhere
On Windows, `acdw.cmd' downloads the source in the right spot.  On Linux, I need
to make sure it's in the right spot myself.
2021-04-02 12:57:07 -05:00