Commit Graph

404 Commits

Author SHA1 Message Date
Case Duckworth
bbfc7c8f17 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-14 18:40:08 -05:00
Case Duckworth
f2dd261315 Remove some modes from dumb-format 2021-04-14 18:40:05 -05:00
Case Duckworth
f691294a32 Remove vertico' from comp-deferred-compilation-deny-list'
See https://github.com/minad/vertico/issues/15 -- might not be necessary
2021-04-14 17:46:43 -05:00
Case Duckworth
99ec5c04f9 icomplete->vertico... again
this time, I just commented out icomplete, so it should be easier to test
things.  uff....

I guess I'm getting close to 1000 commits! so gotta do what i can, right?
2021-04-14 17:10:53 -05:00
Case Duckworth
627350d33d Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-14 10:05:47 -05:00
Case Duckworth
042e1cc5e2 Remove company-active-map keys
The ones removed aren't necessary with company-tng-mode.
2021-04-14 10:05:14 -05:00
Case Duckworth
272537bf84 Change :option to setq-default for some setup forms
:option loads the symbols with custom-load-symbol, but for some of the settings
I don't care about that.
2021-04-14 10:04:28 -05:00
Case Duckworth
29e9ad67ca Change frame-title-format 2021-04-14 10:03:47 -05:00
Case Duckworth
5b4b410036 Don't automatically show company at work
company seems to be very slow on Windows.  Until I can better diagnose the
slowdown, I'm just disabling `company-idle-delay' at work.
2021-04-13 17:48:00 -05:00
Case Duckworth
a571580171 Fix a bug with paredit not properly indenting lisp
... i honestly don't know.
2021-04-12 21:19:32 -05:00
Case Duckworth
114fd0988f Back to `icomplete-mode'
While `vertico' is nice, it's honestly still a bit buggy, and slower than
`icomplete-vertical'.  So there we are.
2021-04-12 21:18:58 -05:00
Case Duckworth
57e027f753 Add `acdw-org/delete-backward-char' and advise
The advice I've added untabifies in addition to deleting the character, which
enables the function to look at `delete-backward-char-untabify-method' or
whatev.

Also ... whitespace apparently?
2021-04-12 17:58:33 -05:00
Case Duckworth
a467c8c530 Configure `company-mode' 2021-04-12 17:57:26 -05:00
Case Duckworth
59c229a35a Fix lispy modes hooks 2021-04-12 17:57:06 -05:00
Case Duckworth
701adacf0e Set initial-major-mode' to emacs-lisp-mode'
I don't use C-j anyway.
2021-04-12 17:55:28 -05:00
Case Duckworth
52883ee48c Told ya it was subject to change 2021-04-12 12:59:59 -05:00
Case Duckworth
65eb2308f5 Add visual-line-mode' to org-mode-hook'
See the comments for details.  Subject to change.
2021-04-12 12:54:52 -05:00
Case Duckworth
69abf8d1b0 Remove ctrlf' and customize isearch'
While Ctrlf is nice, it doesn't hook into other mechanisms of Emacs as well as
Isearch.  So .. I'm just going to put up with Isearch for now.  Honestly I
don't miss Ctrlf too much.
2021-04-12 12:53:47 -05:00
Case Duckworth
ae35c20747 Customize `customize' 2021-04-12 12:53:22 -05:00
Case Duckworth
58dec6ba0c Set the bell to flash the mode-line
... and beep at home (I like the little beep!)
2021-04-12 09:45:53 -05:00
Case Duckworth
8f24fa7087 Add `company'
- Hook into `prog-mode'
- Change some bindings
- Add `slime-company'
2021-04-10 17:32:11 -05:00
Case Duckworth
2b69e6e31c Refactor to define all lispish modes in one place
See variable `lispy-modes'
2021-04-10 17:31:40 -05:00
Case Duckworth
92f2f4c767 Reorganize a bit 2021-04-10 17:30:58 -05:00
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
Case Duckworth
6a7d8e7b71 Setup `ediff' 2021-04-02 12:56:41 -05:00
Case Duckworth
3a67ac7c37 Fix eshell mode line 2021-04-02 12:56:31 -05:00
Case Duckworth
ea721f08ff Change RET in dired-mode-map' to dired-find-alternate-file' 2021-04-01 17:56:51 -05:00
Case Duckworth
bf6a117838 Add ^D binding to quit eshell 2021-04-01 17:56:24 -05:00
Case Duckworth
d04a3bbd78 Move MS Windows settings above Etc settings and add some
Most are from https://depp.brause.cc/dotemacs/.
2021-04-01 17:55:48 -05:00
Case Duckworth
b475595d07 Change method of init-time message
Going off [1], I've just redefined the `display-startup-echo-area-message'
function to show the startup time, instead of adding a hook to Emacs's startup
and trying to figure out how to give my username to the original function.

[1]: https://depp.brause.cc/dotemacs/#org2cdacdd
2021-04-01 17:04:41 -05:00
Case Duckworth
4dbe145c9e Fix typos 2021-04-01 16:59:15 -05:00
Case Duckworth
e535ec0a4b Add function `dumb-auto-format' that checks with apheleia first
In adding `dumb-auto-format', I've removed `acdw/reformat-buffer' because it's
not complex enough or stand-alone enough to keep as its own function.

21 guns.
2021-04-01 16:55:40 -05:00
Case Duckworth
cda59ad6b2 Break "Programming languages" out into its own section 2021-04-01 16:42:44 -05:00
Case Duckworth
9af70cbf60 Define `acdw/reindent-buffer' and hook into elisp
Hopefully this will put a halt to all of my whitespace commits.  Of course, this
commit also includes whitespace-only diffs.
2021-04-01 16:41:41 -05:00
Case Duckworth
b04d4bd2a6 Update `consult' bindings and config 2021-04-01 16:39:46 -05:00
Case Duckworth
a3a937ee42 Add `which-key' 2021-04-01 16:37:09 -05:00
Case Duckworth
c46a180ae5 Don't compress undo-fu-session files at work 2021-04-01 16:36:36 -05:00
Case Duckworth
4bcb25c276 Change etc. bindings' mapping to global-map 2021-04-01 16:35:49 -05:00
Case Duckworth
b132794031 Set up spelling 2021-04-01 16:35:26 -05:00
Case Duckworth
d23d77879f Remove ehelp' binds in favor of helpful' package 2021-04-01 16:34:25 -05:00
Case Duckworth
21f9b5c397 Add forth-mode
Only if gforth.el is around, though.
2021-03-31 23:08:50 -05:00
Case Duckworth
8e2312b500 Add PDF Tools at home 2021-03-31 23:08:42 -05:00
Case Duckworth
8b11109865 Show client status in `frame-title-format'
Also: fix the tab bar.
2021-03-31 23:08:22 -05:00
Case Duckworth
904ce589af Replace :acdw/map' with :global'
My `acdw/map' bindings were shadowing things.  Let's just try global bindings
and see if that's /really/ that big of a deal.  I'll keep acdw/mode around for
kicks right now.
2021-03-31 23:07:28 -05:00
Case Duckworth
c1b330ca80 Fixup comments for outshine-mode 2021-03-31 19:10:09 -05:00
Case Duckworth
3863807d12 Remove `eshell' bindings
still have to figure out how best to do this.
2021-03-31 18:59:42 -05:00
Case Duckworth
88b4590bd4 Change binding to `crux-smart-open-line' 2021-03-31 18:59:28 -05:00
Case Duckworth
bd8775cd6b Add `outshine' 2021-03-31 18:00:22 -05:00
Case Duckworth
1bc43220a2 Whitespace 2021-03-31 18:00:06 -05:00
Case Duckworth
d57a5d00d5 Tweak debugger 2021-03-31 17:59:49 -05:00
Case Duckworth
1bd224af5e Fix -mode setups 2021-03-31 17:59:28 -05:00
Case Duckworth
a09e80daf3 Add keybindings 2021-03-31 17:58:52 -05:00
Case Duckworth
37c942bf36 Add `smart-hungry-delete' 2021-03-31 12:56:38 -05:00
Case Duckworth
4189e1c8a3 Fix typos and verbosity 2021-03-31 12:47:11 -05:00
Case Duckworth
8b9470d7c2 Add plugins 2021-03-31 12:46:14 -05:00
Case Duckworth
d503a2d1b6 Add olivetti' and tweak acdw/reading-mode' 2021-03-31 12:45:42 -05:00
Case Duckworth
0c1f670cad Fix font setting
I wrap it in a function hooked to `after-focus-change-function', from which it
removes itself.  ~Fancy~ stuff.
2021-03-30 17:30:47 -05:00
Case Duckworth
0905fab8ee Add `:setq-default' macro to save a little load time 2021-03-30 12:31:26 -05:00
Case Duckworth
4ba0c92df0 Set all fonts on all possible systems 2021-03-30 12:30:51 -05:00
Case Duckworth
be24eae19a Add autoloads to :acdw/map' and :acdw/leader' 2021-03-30 11:58:05 -05:00
Case Duckworth
6ee7a75d35 Correct typo 2021-03-29 23:22:45 -05:00
Case Duckworth
db3d8d26a2 Sturf 2021-03-29 23:21:58 -05:00
Case Duckworth
1dd6b9c0ee Switch to using `setup.el' for customizations
setup (https://git.sr.ht/~zge/setup) does everything I tried to do with
`acdw/pkg', et al., but better.
2021-03-29 17:52:23 -05:00
Case Duckworth
2fdfc43684 bleh 2021-03-27 12:29:54 -05:00
Case Duckworth
8dee3a66e6 Add elpher and gemini-mode 2021-03-27 10:33:11 -05:00
Case Duckworth
66707baa84 Incorporate idiomdrottning's magit display bit 2021-03-27 00:04:11 -05:00
Case Duckworth
e33fd78ef7 Fix indentation 2021-03-27 00:03:54 -05:00
Case Duckworth
ef3fb64f5f Correct :work settings 2021-03-27 00:03:43 -05:00
Case Duckworth
09a2142fb2 Correct truncate-lines setting /again/
I keep thinking I've made a mistake.  I want it to be NIL!!!
2021-03-27 00:03:11 -05:00
Case Duckworth
c805de7faa Move `acdw-modeline/vc-branch' to the left side 2021-03-25 17:46:51 -05:00
Case Duckworth
b50a79b303 Add beginend 2021-03-25 17:46:29 -05:00
Case Duckworth
73f7886f53 Add recursion-indicator 2021-03-25 17:46:12 -05:00
Case Duckworth
23e94b52f4 Flip RET and C-j in `icomplete-minibuffer-map' 2021-03-25 15:41:54 -05:00
Case Duckworth
00df8d5748 Add windows settings 2021-03-25 15:41:27 -05:00
Case Duckworth
07876efe87 Add god-mode indicator to modeline
... and whitespace...
2021-03-25 12:21:37 -05:00
Case Duckworth
f6f0e0c628 Add `god-mode' 2021-03-25 12:03:40 -05:00
Case Duckworth
46f53399d5 Require acdw' in early-init.el' 2021-03-25 12:03:14 -05:00
Case Duckworth
aaf9a2d6dc Truncate lines 2021-03-25 10:51:25 -05:00
Case Duckworth
e679a9bd98 Stuff 2021-03-23 23:10:43 -05:00
Case Duckworth
6707795b08 Whitespace? 2021-03-18 22:47:28 -05:00
Case Duckworth
0337a1cda1 Merge branch 'main' of tildegit.org:acdw/emacs 2021-03-16 22:52:18 -05:00
Case Duckworth
68bd42577d Add crux bindings 2021-03-16 22:48:44 -05:00
Case Duckworth
599f7beff1 Don't indent with tabs no more 2021-03-16 22:48:35 -05:00
Case Duckworth
fe1706e7d9 Remove empty comment lines in headers 2021-03-16 11:16:21 -05:00
Case Duckworth
a84730b0d0 Turn back on `global-font-lock-mode' 2021-03-16 11:15:59 -05:00
Case Duckworth
f17f0a6629 Merge branch 'main' of https://tildegit.org/acdw/emacs into 5c 2021-03-16 09:30:40 -05:00
Case Duckworth
c21f21afab "Package-ize" dired 2021-03-16 09:29:53 -05:00
Case Duckworth
4283ccdd2c Further configure the mode line
I've broken out extra functions into `acdw-modeline', so they don't clutter up
the init.el too much.
2021-03-14 23:48:40 -05:00
Case Duckworth
9128a6abed Turn `font-lock-mode' off 2021-03-14 19:19:17 -05:00
Case Duckworth
eb15a3f8e3 Add `racket-mode' 2021-03-14 19:19:11 -05:00
Case Duckworth
60954ae4ec Add `0x0' 2021-03-14 19:19:02 -05:00
Case Duckworth
98472a480d Add `nov' 2021-03-14 19:18:52 -05:00
Case Duckworth
8d4d84839e Change `:map-after' behavior 2021-03-14 19:18:32 -05:00
Case Duckworth
b52013f05f Add keybinding for `unpackaged/org-return-dwim' 2021-03-13 01:56:50 -06:00
Case Duckworth
b5b1f51c88 Change `frame-title-format' 2021-03-13 01:56:40 -06:00
Case Duckworth
824b887900 Set `fixed-pitch' face
Still to do: `variable-pitch' (will need to change based on `acdw/system')
2021-03-13 01:54:30 -06:00
Case Duckworth
8661a1ffea Add `expand-region' 2021-03-12 23:05:42 -06:00
Case Duckworth
a1ed955633 Fix typo
That colon .. twould jam up me colon
2021-03-12 17:39:42 -06:00
Case Duckworth
fe2e1dee76 Remove commented lines 2021-03-12 17:33:11 -06:00
Case Duckworth
a7454b956f Change cursor for `overwrite-mode' 2021-03-12 17:32:48 -06:00
Case Duckworth
884343deb4 Add :set', :local', :require' keywords to acdw/pkg' 2021-03-12 17:32:13 -06:00