Commit Graph

714 Commits

Author SHA1 Message Date
Case Duckworth
8f17afeae4 Better configure ispell/hunspell 2021-07-22 21:15:56 -05:00
Case Duckworth
9534a7ed7f Configure ERC further 2021-07-22 21:15:34 -05:00
Case Duckworth
6964c20b29 Fix browse-url-browser-function setting 2021-07-22 21:14:34 -05:00
Case Duckworth
13a2cd8613 Add WBRH and KBRH
honestly i should break these out into another file or smth
2021-07-14 16:59:24 -05:00
Case Duckworth
bdc6e6518e Add end comment to init.el
bleh
2021-07-14 16:59:13 -05:00
Case Duckworth
d26c6e9df5 Comment out erc-image
It's annoying.
2021-07-14 16:58:58 -05:00
Case Duckworth
d6472e0673 Add "AWAY" to erc-track-exclude-types 2021-07-13 18:53:07 -05:00
Case Duckworth
7ac294a136 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-07-02 21:47:09 -05:00
Case Duckworth
b66f5ec1d8 Modify erc config 2021-07-02 21:45:37 -05:00
Case Duckworth
3633bacb94 Merge branch 'main' of tildegit.org:acdw/emacs 2021-06-30 19:37:42 -05:00
Case Duckworth
1454e80853 Start week on Monday 2021-06-30 19:34:06 -05:00
Case Duckworth
bbf53fcf22 Add vantaradio 2021-06-30 19:33:51 -05:00
Case Duckworth
7f9230da5e Comment <escape> bind 2021-06-30 19:33:31 -05:00
Case Duckworth
be228e03c5 Switch prefix with erc-switch-to-buffer 2021-06-30 19:32:56 -05:00
Case Duckworth
1c34a2196a Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-06-09 21:49:27 -05:00
Case Duckworth
fa69217742 Enable goto-address-mode 2021-06-09 21:48:42 -05:00
Case Duckworth
7071871ce4 Load erc module after erc 2021-06-09 21:48:31 -05:00
Case Duckworth
04d97d3dac Add browse-url functions
I should break this out into a thingy.
2021-06-09 21:48:11 -05:00
Case Duckworth
924d0fc4c7 Merge branch 'main' of tildegit.org:acdw/emacs 2021-06-07 14:10:24 -05:00
Case Duckworth
bb7924a4b6 Make Emacs work at work 2021-06-07 14:09:48 -05:00
Case Duckworth
411855b816 Change ERC config 2021-06-06 23:28:25 -05:00
Case Duckworth
41ffc15191 Write function to require private.el 2021-06-06 23:27:01 -05:00
Case Duckworth
f29e8c896c Add ssh-config-mode 2021-06-02 23:38:30 -05:00
Case Duckworth
b98098161f Add 'needs mpv' statement to eradio 2021-06-02 23:38:18 -05:00
Case Duckworth
a363220dbc Add edit-server
Also requires this extension:
https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/
2021-06-02 23:38:10 -05:00
Case Duckworth
0f7abf0795 Make some things private-r
Sure you can check the history.  But who knows what I've changed?!?!?! MYSTERY
2021-06-02 23:36:43 -05:00
Case Duckworth
6fd355d978 Add ORG functionality 2021-06-01 22:30:05 -05:00
Case Duckworth
85c68dcdf6 Change Gnus keybind 2021-06-01 22:29:47 -05:00
Case Duckworth
f3704f7cb7 Configure ERC 2021-06-01 22:29:38 -05:00
Case Duckworth
c698dc9869 Move things from init.el to acdw.el and acdw-eshell.el
Probably should've been 2 commits...
2021-05-30 00:07:02 -05:00
Case Duckworth
b6d56777f5 Add PDFs to auto-mode-alist 2021-05-29 23:18:46 -05:00
Case Duckworth
eea1485a0a Add iscorll 2021-05-29 23:18:42 -05:00
Case Duckworth
c08244115c Add eradio 2021-05-29 23:18:35 -05:00
Case Duckworth
e02c68d413 More setup of erc 2021-05-29 23:18:27 -05:00
Case Duckworth
488d0310e5 Add mastodon.el
Doesn't work right now, but that's my fault.
2021-05-28 22:42:59 -05:00
Case Duckworth
c835af64fd Add erc-hl-nicks 2021-05-28 22:42:53 -05:00
Case Duckworth
a108cfa9cc Remove comment 2021-05-28 22:42:48 -05:00
Case Duckworth
7b3cafc04b Add (setup... forms to imenu in elisp 2021-05-28 22:42:24 -05:00
Case Duckworth
89513fb0b8 Require auth-source 2021-05-28 22:42:14 -05:00
Case Duckworth
8d91bb02ce Setup imenu-anywhere 2021-05-28 20:51:32 -05:00
Case Duckworth
0523d84477 Setup epithet 2021-05-28 20:51:21 -05:00
Case Duckworth
7c7c6e0d3a Use repeat-mode on > emacs 28 2021-05-28 20:51:07 -05:00
Case Duckworth
db1eb2d7b4 Change frame-title-format 2021-05-28 20:50:58 -05:00
Case Duckworth
1ac673c763 Change flyspell-start behavior 2021-05-28 20:50:45 -05:00
Case Duckworth
8fd98de300 Add eshell last argument
https://old.reddit.com/r/emacs/comments/nlefvx/weekly_tips_and_tricks/gzpng5o/
2021-05-28 20:47:58 -05:00
Case Duckworth
a712b76ae9 Move defun into hook definition 2021-05-28 20:45:53 -05:00
Case Duckworth
bda5b2538f Fix mode-line flashing
Thanks, doom-themes!
2021-05-28 07:31:53 -05:00
Case Duckworth
2e0bebddc6 Merge 2021-05-27 12:53:37 -05:00
Case Duckworth
0acf0a28d7 Change C-z binds to C-c and remove leader 2021-05-27 12:52:12 -05:00
Case Duckworth
6124bf0ef7 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-27 08:13:46 -05:00
Case Duckworth
26602a1c16 Customize ibuffer filters 2021-05-27 08:13:14 -05:00
Case Duckworth
fda35b47f1 Add vuiet 2021-05-27 08:13:08 -05:00
Case Duckworth
8dfab51df9 Fix a weird error with straight-use-package
Description:

With the (or (ignore-errors ...) (progn ...)) form, `:straight' threw an error
/only/ with `avy'.  I couldn't figure out what the error was by re-evaluating
or changing it to just throw straight's error or anything, and
straight-use-package always returned t.  However, changing the form to the
simpler (straight-use-package) just ... works.  So I have no idea what the
matter might be.

I realized that I made the :straight form more complicated to begin with
because I was installing a lot of different packages and they were all over the
place, so I wanted to know that it failed sooner rather than later, but still
load the rest of my init file.  Now that my config is more stable, I feel okay
taking the extra stuff out of the form.
2021-05-26 17:29:24 -05:00
Case Duckworth
9d702afab8 Change eval-after-load to with-eval-after-load
idk, I like the macro better
2021-05-26 17:28:04 -05:00
Case Duckworth
37841b08a8 Fix erc-common-server-suffixes 2021-05-26 15:10:07 -05:00
Case Duckworth
08285aabb9 Tweak ERC 2021-05-26 08:28:24 -05:00
Case Duckworth
9a35749a3e Add `xr' 2021-05-26 07:32:36 -05:00
Case Duckworth
76948586ed Keep configuring erc
Turns out ... I'm /really/ using it :P
2021-05-25 23:49:52 -05:00
Case Duckworth
f13ddf9fc8 Add most important #bread channel
See note
2021-05-25 17:37:53 -05:00
Case Duckworth
074c1afd6d Advise `show-paren-function' to not do anything in erc-mode 2021-05-25 17:36:37 -05:00
Case Duckworth
817277405a Add moar channels 2021-05-25 13:45:12 -05:00
Case Duckworth
9eb8e7a3dc Move acdw/add-button-url-regexp-protocol 2021-05-25 12:54:42 -05:00
Case Duckworth
0fa1f6ce4f Formatting ... and stuff
Whatever.
2021-05-25 12:28:32 -05:00
Case Duckworth
f148e93b0e Use escape to quit in graphical sessions 2021-05-25 08:03:06 -05:00
Case Duckworth
a32a3832cc Fix new window handling with browse-url 2021-05-24 21:40:51 -05:00
Case Duckworth
67c4eb7fe7 Add gemini to browse-url-button-regexp
Also I overengineered some other stuff around that.
2021-05-24 18:00:23 -05:00
Case Duckworth
1a20d6329e Further customize ERC
I also added acdw-erc.el.
2021-05-24 17:08:32 -05:00
Case Duckworth
ebf034c010 Reindent 2021-05-23 20:24:00 -05:00
Case Duckworth
735a6efc63 Remove crux-reopen-as-root-mode 2021-05-23 20:23:37 -05:00
Case Duckworth
c1e9d32638 Further customize ibuffer
- sort groups
- hide empty groups
- use expert mode
2021-05-22 16:44:27 -05:00
Case Duckworth
f784434f39 Add keybind for `flyspell-start'
I'm kind of rethinking my whole 'leader' key stuff.  Like, maybe C-z should be
the leader for "application"-type things, but C-c chould be the leader for
other stuff (since that's the predefined leader for user configuration stuff).
2021-05-22 16:43:23 -05:00
Case Duckworth
7716dc5e5f Sort options
Just in the one spot.  I should do like, all of em.
2021-05-22 16:42:52 -05:00
Case Duckworth
2c90c19ac1 Turn off auto-fill-mode in gemini-mode 2021-05-22 16:42:05 -05:00
Case Duckworth
a1a9f77c24 Change winum position in mode-line 2021-05-22 16:41:42 -05:00
Case Duckworth
466fa4e93e Configure ERC
I'm not sure how much I'm going to use it, but it's done now.
2021-05-22 16:41:10 -05:00
Case Duckworth
03abc9caf4 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-21 17:58:53 -05:00
Case Duckworth
3ad0e05b13 Change branch of gemini-write back to og
... also add elpher to ibuffer
2021-05-21 17:58:18 -05:00
Case Duckworth
343cdc108a Change org-ellipsis
Trying to get a character that works in most character encodings
2021-05-21 11:09:18 -05:00
Case Duckworth
4e945fa7bc Add `comment-or-uncomment-sexp'
from https://endlessparentheses.com/a-comment-or-uncomment-sexp-command.html
2021-05-21 11:08:41 -05:00
Case Duckworth
dea4bff7f4 Fix arity of consult-sensible-* functions
... also fix the type of the equality function.
2021-05-21 11:01:46 -05:00
Case Duckworth
a5fe45e8db Comment out `hook-defun'
The only plus `hook-defun' has over (add-hook 'hook (defun name ... )) is the
ability to add the same function to multiple hooks at once.  My init files
don't use that functionality, so I've retired this macro for now.

I'm thinking, honestly, that if a function is used in more than one hook, it
should be defined separately and added to each hook in turn ... you know, like
Emacs does it by default.
2021-05-21 10:57:58 -05:00
Case Duckworth
df1f255780 Adapt to deprecated variable 2021-05-21 08:34:52 -05:00
Case Duckworth
2edbc01d87 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-19 22:03:24 -05:00
Case Duckworth
92c8fd1a1f Fix typo 2021-05-19 22:01:56 -05:00
Case Duckworth
4a305b8e5d Add org-contrib
As of ... 9.5(?), it's split into a separate package
2021-05-19 22:01:30 -05:00
Case Duckworth
93026316a5 Further configure eww/web browsing 2021-05-19 22:01:20 -05:00
Case Duckworth
19e1ce4c6a Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-19 17:07:36 -05:00
Case Duckworth
ccf03a4be3 Change definition of `acdw-org/count-words'
(I renamed it from `acdw-org/word-count'.)

It's still too slow for use in the modeline.  So I have work to do still...
2021-05-19 17:06:32 -05:00
Case Duckworth
66d0e6999c Rewrite acdw-modeline/word-count to show region counts 2021-05-19 15:28:58 -05:00
Case Duckworth
bb07f08067 Configure shell-command
From http://www.nextpoint.se/?p=864
2021-05-19 12:55:12 -05:00
Case Duckworth
f8198ee814 Add Firefox to exec-path /before/ checking if it's available 2021-05-19 12:41:16 -05:00
Case Duckworth
bdc2c3c40e Remove unused variables
IDK
2021-05-19 12:40:53 -05:00
Case Duckworth
33632cc283 Add `eshell-pop-or-quit' for easier keybinding 2021-05-19 12:40:35 -05:00
Case Duckworth
14f6bc67ff Start flyspell automatically at home
Free up the C-z s key for shell
2021-05-19 12:39:43 -05:00
Case Duckworth
9c6be2e953 Setup winum keys after frame is setup
I should probably change this to `after-make-frame-functions' instead...
2021-05-19 12:38:51 -05:00
Case Duckworth
32959ca977 Add variable-pitch-mode in Org and Info 2021-05-19 12:37:57 -05:00
Case Duckworth
3eeb9fb1a1 Change `browse-url-browser-function' to alist 2021-05-19 10:14:02 -05:00
Case Duckworth
5b978fb0e3 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-12 19:31:14 -05:00
Case Duckworth
b06a7305c1 Change common-lisp-ide -> sly
Since I just use sly
2021-05-12 19:30:24 -05:00
Case Duckworth
2341f0bac3 Save more variables 2021-05-12 16:42:36 -05:00
Case Duckworth
92ff615f9c Unbind <Help> h 2021-05-12 16:42:18 -05:00
Case Duckworth
05ea83385b Make recentf dired-aware 2021-05-12 16:41:58 -05:00
Case Duckworth
f3332efb77 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-11 09:46:47 -05:00
Case Duckworth
2bf518fab7 Add org-mode' to stupid-modes' for `dumb-auto-format'
To keep hanging list items from indenting at save.
2021-05-11 09:45:42 -05:00
Case Duckworth
b727d4f684 Add `acdw/system' macro
`acdw/system' eases configuration -- it returns the system when called with no
arguments, acts as a test with one argument, or as a `pcase' with more than one
argument.
2021-05-11 09:44:04 -05:00
Case Duckworth
0f1fe1c098 Refactor CL IDE binding code
This is a prelude to writing 'acdw-cl.el', since the two IDEs (that's what I'm
calling them) each have a known structure.  So I'm going to write a little
library to abstract that out.
2021-05-06 17:48:20 -05:00
Case Duckworth
a117f50463 File stuff ... but in init.el
Oop
2021-05-05 17:56:31 -05:00
Case Duckworth
3ffbf503fe Correct after-load file name
Oops, should've tested before pushing
2021-05-05 17:27:01 -05:00
Case Duckworth
11f2782f2b Correctly configure sly and slime keybindings
Had to load them after the files.
2021-05-05 17:22:33 -05:00
Case Duckworth
1f5beecd45 Add whitespace-cleanup-mode 2021-05-05 12:34:44 -05:00
Case Duckworth
d59ff1f811 Remove complicated which-key delay 2021-05-05 12:34:21 -05:00
Case Duckworth
47304ba506 Don't enable a mode just to disable it later 2021-05-05 12:33:52 -05:00
Case Duckworth
64ce556a57 Add section for ibuffer 2021-05-05 12:33:20 -05:00
Case Duckworth
fb4d9d85dc Change binding for reb-quit
M-q is shadowed by paredit, I think.
2021-05-04 23:45:38 -05:00
Case Duckworth
78a5be9f2c Add paredit-mode to reb-mode 2021-05-04 23:45:30 -05:00
Case Duckworth
d4f2c1fdb7 Replace fly-make-mode with flymake-mode-except
I didn't want flymake-mode to automatically fire in emacs-lisp-mode.  I should
probably be better served by either (a) getting my Emacs config files up to
snuff or (b) adding a better test to decide whether to flymake them.
2021-05-04 23:44:18 -05:00
Case Duckworth
4c8d004ea8 Add flymake-mode to prog-mode-hook 2021-05-04 23:28:35 -05:00
Case Duckworth
4480fab9e8 Change function name 2021-05-04 23:28:18 -05:00
Case Duckworth
6136a637ae Add package-lint 2021-05-04 23:28:09 -05:00
Case Duckworth
5ed2688149 Add unfocused 2021-05-04 23:25:35 -05:00
Case Duckworth
7372de3355 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-04 20:02:17 -05:00
Case Duckworth
b18d64c2ff Change which-key setup 2021-05-04 19:58:30 -05:00
Case Duckworth
095fbc7c94 Don't start idle-require-mode 2021-05-04 19:58:22 -05:00
Case Duckworth
9e0e42554e Remap C-w to backward-kill-word if the region isn't active 2021-05-04 17:27:36 -05:00
Case Duckworth
388dc3c704 Remap C-h to DEL 2021-05-04 17:27:09 -05:00
Case Duckworth
91a22256da Remove `idle-require'
It wasn't ... sparking joy.
2021-05-04 12:23:21 -05:00
Case Duckworth
a4c3a6d3b9 Add clhs and move common-lisp-ide to be in alpha order 2021-05-04 09:58:16 -05:00
Case Duckworth
2166e0f323 Go back to OG beginend
I think the author fixed the issue.
2021-05-04 09:57:43 -05:00
Case Duckworth
a274ec49c5 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-04 09:11:17 -05:00
Case Duckworth
7bee3489ef Add slime-repl-return-at-end
Get the benefits of paredit with easy keys in the REPL!
2021-05-04 09:10:36 -05:00
Case Duckworth
fa189fa1b6 Only update packages with C-u 2021-05-03 21:31:29 -05:00
Case Duckworth
ddda04e26f Add `winum'
I only rebind winum-select-window-* in graphical buffers because that's
apparently the only place where C-[n] is the same as M-[n].
2021-05-03 15:14:23 -05:00
Case Duckworth
cadba81fbf Add `idle-require'
Not sure how useful it'll be, but hopefully it'll help make some things a
little faster...
2021-05-03 15:12:14 -05:00
Case Duckworth
666e7c53b4 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-05-02 14:15:17 -05:00
Case Duckworth
f5d4b71b78 Add ledger-mode 2021-05-02 14:15:10 -05:00
Case Duckworth
14140211b1 Switch to SLY for Lisp REPL
I've kept SLIME's config around, in case I need it -- which REPL is loaded
depends on the `acdw/cl-ide' variable.
2021-05-01 15:22:49 -05:00
Case Duckworth
8d60190847 Tweak which-key idle timing
It does seem as though `which-key-show-early-on-C-h' isn't respected here, but
I'm not sure exactly what the issue is.  Could be the
`which-key-setup-minibuffer'... more research is needed.
2021-05-01 15:20:01 -05:00
Case Duckworth
74aa9c9e3a Customize fringes
Still to think about: changing the `fringe' face.  Do I want it another color?
Do I even need any buffer boundaries?  Hm....
2021-04-30 17:36:25 -05:00
Case Duckworth
b723eb988f Move emoji font configuration to the initial frame setup function 2021-04-30 12:50:33 -05:00
Case Duckworth
dfab28d79f Add the text scale to the modeline 2021-04-30 12:49:58 -05:00
Case Duckworth
8e36acc07d Change which-key popup delay
I found out about `which-key-delay-functions', which lets me tweak the delay
depending on what the key sequence is.  I set up a function to show bindings in
my "leader map" immediately, but to delay for a bit on everything else.

I also put which-key stuff in the minibuffer -- I think it looks pretty good.
2021-04-30 11:38:24 -05:00
Case Duckworth
07d3f8a3ee Change some defun'+advice-add' to `define-advice' 2021-04-29 19:47:54 -05:00
Case Duckworth
a8fca8b947 Change upgrade-packages-and-restart to emacs-upgrade 2021-04-29 17:55:36 -05:00
Case Duckworth
407771183e Massively refactor
- Redefine as much as possible as `setup' forms
- Reorganize into "Setup", "Basics", and "Packages" sections
- Within each section, alphabetize sexps
- Also (mostly) alphabetize acdw- files
- (Not the ones that are almost completely others' code)
- Sidebar: Why is this not a thing in elisp!?  Should write a function
- Break karthink's thing into another library `acdw-re'
- Add a function to `acdw': `acdw/find-emacs-source'
- Should refactor that to better find the source

I think everything looks much more better now!
2021-04-29 12:29:03 -05:00
Case Duckworth
27ae0a2ab8 Replace anzu with karthink's re-builder glue 2021-04-29 10:01:32 -05:00
Case Duckworth
51a3ca6dec Use my fork of `beginend'
I don't know why, but (setf (point) (point-min)) doesn't work (see the
`org-mode' function).  I changed it to the more ... older(?)
version, (goto-char (point-min)).
2021-04-28 16:51:32 -05:00
Case Duckworth
a3bef6eaef Add `restart-emacs' 2021-04-28 15:48:58 -05:00
Case Duckworth
e885e267ce Automatically 'view' read-only buffers, and 'read' view buffers 2021-04-28 15:48:37 -05:00
Case Duckworth
7514b598cf Advise `eval-region' to pulse
Just like SLIME.  I also rewrote acdw/eval-region-or-buffer a bit.
2021-04-28 15:28:00 -05:00
Case Duckworth
06409e4bd1 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-27 13:51:42 -05:00
Case Duckworth
78d2f6d3b6 Add a leader key for elpher-bookmarks; add gemini-write 2021-04-27 13:50:09 -05:00
Case Duckworth
7a62ff0a49 Add gnus leader mapping 2021-04-27 12:58:26 -05:00
Case Duckworth
582fefbf46 Improve emoji font selection
Now, I loop through a list of candidates and append all that are available to
the symbol fontset.
2021-04-27 11:35:40 -05:00
Case Duckworth
0298999997 Change emacs-lisp eval bindings
Try to emulate slime a little more.  I really like the flashy things, but IDK
how to get that with elisp yet.
2021-04-27 11:35:02 -05:00
Case Duckworth
0013a13d79 Add check for server on startup
Why the hell not?!
2021-04-26 15:29:51 -05:00
Case Duckworth
b58676daf8 Unbind M-s from paredit-mode-map
It shadows the (slightly more useful (for me (for now))) Isearch map(s).
2021-04-26 15:29:16 -05:00
Case Duckworth
ba19fdbc69 Comment out icomplete-mode
Sometimes it'd be called and the function turning it off wouldn't be, for some
reason.  Weird stuff.
2021-04-26 15:28:36 -05:00
Case Duckworth
1032b2cbd9 Change :mode' to :file-match'
Turns out setup.el has a local macro to deal with setting up modes.
2021-04-26 15:27:50 -05:00
Case Duckworth
476f696af8 Add `acdw/insert-iso-date'
Like `crux-insert-date', but I use ISO 8601.
2021-04-26 15:26:32 -05:00
Case Duckworth
c193fccb3c Fix dired-open 2021-04-24 23:23:43 -05:00
Case Duckworth
cc8bc8bb21 Switch to pdf-tools fork 2021-04-24 23:23:32 -05:00
Case Duckworth
bfabfcf70e Fix bindings in paredit-mode-modes 2021-04-24 23:23:15 -05:00
Case Duckworth
d407e9de54 Add <F12> bind to toggle eshell 2021-04-22 17:15:32 -05:00
Case Duckworth
7786e0ec4a Add a leader bind to kill emacs 2021-04-22 12:53:19 -05:00
Case Duckworth
6f3e287d49 Setup `dired' better
Instead of resetting `setup-*' in each of dired's dependent packages, just
install them using `:straight' and configure them in blocks.
2021-04-22 11:55:47 -05:00
Case Duckworth
ae355342c9 Add dired-git-info 2021-04-22 11:51:34 -05:00
Case Duckworth
60f8d3f903 Open files better, depending on system 2021-04-22 11:51:03 -05:00
Case Duckworth
4ff4537794 Bail out of `setup' if straight fails 2021-04-22 11:50:19 -05:00
Case Duckworth
62dd9dcaff Install w32-browser at work 2021-04-22 11:11:39 -05:00
Case Duckworth
8e49378b47 Move lexical-binding setting into a hook
*scratch* still doesn't apply the (setq-default lexical-binding t) form, but
the advice I'd been giving `setup' broke the documentation generator function.
So I just added lexical-binding to a hook when opening an emacs-lisp-mode
buffer.

Will this bite me later?  Possibly.  But I'll deal with that then.  The worst
that could happen is that I'd write another function, `setup-test' or
something, that'd apply lexical-binding and then run `setup'.  Or I could just
set lexical-binding to t manually.  Whatever.
2021-04-22 10:20:25 -05:00
Case Duckworth
152daf82ef Add macro `with-message' 2021-04-21 17:54:29 -05:00
Case Duckworth
c478ecae3c Setup emoji fonts!
This is a much better alternative than the old crusty unicode-fonts package.
2021-04-21 17:27:45 -05:00
Case Duckworth
0175f1c0e9 Add messages in `acdw/eval-region-or-buffer'
Probably should write a macro, `with-message' or something.
2021-04-21 17:22:54 -05:00
Case Duckworth
fda8192c81 Add keybinding for crux-transpose-windows 2021-04-21 11:50:34 -05:00
Case Duckworth
b51bf89f7a Add advice to kill lines and join 2021-04-21 11:50:18 -05:00
Case Duckworth
71d2664f23 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-21 09:38:27 -05:00
Case Duckworth
180fdac959 Fix boundp check in eshell-setup 2021-04-21 09:36:30 -05:00
Case Duckworth
c4a38fed1e Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-20 17:59:49 -05:00
Case Duckworth
82c75698ec Add `electric-cursor'
Mine own package!
2021-04-20 17:59:24 -05:00
Case Duckworth
76a464c7cf Fix some dumbness 2021-04-20 17:59:09 -05:00
Case Duckworth
193620eb92 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-20 16:26:34 -05:00
Case Duckworth
ec8f21a252 Use consult for completion-in-region 2021-04-20 16:25:31 -05:00
Case Duckworth
37e80f75e4 Only grow mini-windows, instead of resizing intensely 2021-04-20 16:24:59 -05:00
Case Duckworth
65f22f2d22 Autoload elpher-go 2021-04-20 16:24:42 -05:00
Case Duckworth
2d364b5c89 Advise setup to use lexical-binding 2021-04-20 16:24:06 -05:00
Case Duckworth
4a9252b114 Use company for completion-in-region instead of corfu
I found out it does completion-in-region, and honestly, it's a better
interface, and more uniform.
2021-04-20 14:27:22 -05:00
Case Duckworth
ec64f8bdff Correct things 2021-04-20 14:24:03 -05:00
Case Duckworth
b7e63d425a Change keybindings 2021-04-19 23:46:24 -05:00
Case Duckworth
780f58dece Rename functions in acdw-org.el 2021-04-19 16:16:46 -05:00
Case Duckworth
e035d7a378 Make visual-line-mode' and olivetti-mode' prettier 2021-04-19 16:16:19 -05:00
Case Duckworth
5be5b704b1 Handle cases where ~/.emacs/pkg doesn't exist 2021-04-19 16:15:44 -05:00
Case Duckworth
2f35181b9a Tweak `org-table-copy-down'
Now <S-return> will do its regular thing /in/ a table, but will also work
/outside/ a table as a regular <return>.
2021-04-19 15:46:31 -05:00
Case Duckworth
f09752f5a0 Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-04-19 15:25:53 -05:00
Case Duckworth
d057fde4ce Add `acdw/kill-a-buffer' and keybinding 2021-04-19 15:25:04 -05:00
Case Duckworth
4b7c2c092c Add (and ignore) pkg/
I'm going to put packages I develop in there.
2021-04-19 14:38:44 -05:00
Case Duckworth
6e8dda046c Move vertico-related config into its `setup' form 2021-04-19 12:33:13 -05:00
Case Duckworth
6e6f95570b Fix clipboard pasting non-ASCII characters
... at least on Windows.

Solution found here:
https://emacs.stackexchange.com/questions/22727/pasting-text-from-clipboard-why-m-instead-of-linebreaks

Other resources:
https://emacs.stackexchange.com/questions/22727/pasting-text-from-clipboard-why-m-instead-of-linebreaks
https://goyoambrosio.com/2018/06/Dealing-with-utf-8-in-Emacs/
2021-04-19 12:32:21 -05:00
Case Duckworth
cdaaee1a1d Fix :mode' keyword in setup' 2021-04-19 12:31:52 -05:00
Case Duckworth
9259da2345 Begin again with Gnus 2021-04-19 08:24:46 -05:00
Case Duckworth
48396d9888 Lower echo-keystrokes timeout 2021-04-19 00:21:36 -05:00
Case Duckworth
b140de36ba Enable minibuffer-electric-default-mode 2021-04-19 00:21:22 -05:00
Case Duckworth
1b652a2ec8 Switch out company for corfu
Corfu is like, alpha software, but it already seems pretty useful for what I
need.
2021-04-17 23:02:38 -05:00
Case Duckworth
44a6df13ce Consolidate home apps 2021-04-17 23:02:23 -05:00
Case Duckworth
c1f0a14b8f Reorganize magit settings 2021-04-17 23:02:11 -05:00
Case Duckworth
6607720854 Autoload `elpher-bookmarks' 2021-04-17 23:01:54 -05:00
Case Duckworth
c864c0d4d7 Re-organize org settings 2021-04-17 23:01:42 -05:00
Case Duckworth
014c37dc77 set lexical-binding by default 2021-04-17 19:03:52 -05:00
Case Duckworth
8e1f66e0e4 Don't add a space after slime company completion 2021-04-15 23:23:58 -05:00
Case Duckworth
47b7185d7d Try to fix vertico et al 2021-04-15 23:23:50 -05:00
Case Duckworth
9ce0660678 Enable lexical-binding by default 2021-04-15 23:23:32 -05:00
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