Commit Graph

791 Commits

Author SHA1 Message Date
Case Duckworth a6fd6508c9 Break out functionality into other files 2021-08-16 22:48:29 -05:00
Case Duckworth 3609e1c2c9 Hid fill-column-indicator in ‘variable-pitch-mode’ 2021-08-16 17:10:58 -05:00
Case Duckworth f4c9181a9e Add ‘typo’
See my fancy quotes??
2021-08-16 17:10:39 -05:00
Case Duckworth d5ecda3de5 Un-interactify ‘flyspell-start’ 2021-08-16 17:10:21 -05:00
Case Duckworth 3eeed49d3d Move ‘org-mode@wc-stupid’ and try to make it smarterer 2021-08-16 17:09:35 -05:00
Case Duckworth e316ee7550 Merge branch 'main' of tildegit.org:acdw/emacs 2021-08-16 09:13:33 -05:00
Case Duckworth 5ea646b17a Change wc-idle-wait to 2 2021-08-16 09:13:14 -05:00
Case Duckworth 61e81d749f Add `acdw/set-mark-or-expand-region' function and binding
A combination of `set-mark-command' and `er/expand-region' that is pretty
useful IMO.  I'm going to keep testing it and see if it's a-ok to keep using.
2021-08-15 22:08:25 -05:00
Case Duckworth 48301bdcfe Merge branch 'main' of tildegit.org:acdw/emacs 2021-08-15 21:27:09 -05:00
Case Duckworth a6fc17f9ae Disconnect erc on kill-emacs 2021-08-15 21:26:39 -05:00
Case Duckworth c9bcd38f9c Um-lambdafy a variable 2021-08-15 21:10:48 -05:00
Case Duckworth 7dcb7e8ce0 Move erc-hide-list to erc-track-exclude-types 2021-08-15 21:10:32 -05:00
Case Duckworth c46149516f Change straight repo 2021-08-15 21:10:13 -05:00
Case Duckworth 19462a9e3c Require `request' with `mastodon' 2021-08-14 18:00:02 -05:00
Case Duckworth 9c2fd2848f Remove comments 2021-08-14 17:21:39 -05:00
Case Duckworth 4b3ebd99a0 Implement `with-eval-after-loads' macro 2021-08-14 12:40:52 -05:00
Case Duckworth 8d8e56272e Use `unfill' package and delete `kill-ring-save-unfilled'
`acdw/copy-region-plain' takes care of what I want it to.
2021-08-14 12:39:31 -05:00
Case Duckworth f5e6987d8e Remove <F1> for consult-buffer 2021-08-14 12:38:45 -05:00
Case Duckworth 3fcbf3a238 Merge two functions doing basically the same thing
for Custom buffers
2021-08-14 12:38:30 -05:00
Case Duckworth a3601ca1d8 Edit `acdw-org/count-words-stupidly' to be even MOAR stupider 2021-08-13 17:06:36 -05:00
Case Duckworth 8a9cfd8b41 Provide for when wc-mode isn't bound yet 2021-08-13 08:29:16 -05:00
Case Duckworth 381d3402ab Undo earlier change with ERC message types 2021-08-12 21:15:21 -05:00
Case Duckworth fe2f9241d2 Add acdw/copy-region-plain
This is finally the thing I was looking for
2021-08-12 21:07:47 -05:00
Case Duckworth dc1284c5ba Only show wc mode-line in wc-mode 2021-08-12 21:05:48 -05:00
Case Duckworth 8d204e6bd7 Correct simple-modeline--format for olivetti-mode, etc. 2021-08-12 21:05:29 -05:00
Case Duckworth 1e3fdfdb5d Remove comment 2021-08-12 21:05:20 -05:00
Case Duckworth bcc40b35fd Don't warn on killing read-only text 2021-08-12 21:04:15 -05:00
Case Duckworth acf8229674 Change my word-count stuff to use wc-mode
More efficient (well, it doesn't block anyway)
2021-08-12 14:22:52 -05:00
Case Duckworth 90ea0355f7 Break lambda out into function
.. and remove vuiet.  oop
2021-08-12 14:22:26 -05:00
Case Duckworth 166a47f458 Check that `consult-crm-map' is bound before assigning things to it 2021-08-12 14:21:05 -05:00
Case Duckworth 0d8f9d5cd6 Add comment 2021-08-12 14:20:48 -05:00
Case Duckworth c9521dca1b Show JOIN/NICK/PART/QUIT, but not in modeline 2021-08-12 14:20:24 -05:00
Case Duckworth a95f811af0 Merge branch 'main' of tildegit.org:acdw/emacs 2021-08-12 08:44:17 -05:00
Case Duckworth 1d869e5329 Customize quit message 2021-08-12 08:42:12 -05:00
Case Duckworth 1d364a9011 Moving help back to C-h and F1 to consult-buffer 2021-08-11 22:52:34 -05:00
Case Duckworth 79eb4dce2b Prefix current candidate in Vertico with ":" 2021-08-11 22:06:57 -05:00
Case Duckworth eb46c6a277 Add lots of orderless stuff 2021-08-11 22:06:46 -05:00
Case Duckworth a6793e3e53 Remove bind for embark-dwim 2021-08-11 22:06:26 -05:00
Case Duckworth b5e070b137 Add vertico crm integration
I still don't know what crm is....
2021-08-11 22:06:11 -05:00
Case Duckworth 7936875a2f Use Orderless Regexp Compiler for consult 2021-08-11 22:05:43 -05:00
Case Duckworth c5bf468878 Use consult-rg BEFORE consult-git-grep 2021-08-11 22:05:26 -05:00
Case Duckworth eabc0680d8 Change {capitalize,upcase,downcase}-word to {}-dwim 2021-08-11 22:05:02 -05:00
Case Duckworth 6ad0efeee6 Recenter cursor on page after navigating pages 2021-08-11 22:04:41 -05:00
Case Duckworth 1fa1054de6 Set up eshell prompt for outline 2021-08-11 22:04:22 -05:00
Case Duckworth d187b2b8cb Add acdw-compat.el 2021-08-11 22:04:05 -05:00
Case Duckworth ed938fc096 Enable `crux-reopen-as-root-mode' 2021-08-11 20:25:40 -05:00
Case Duckworth a6a027876d Enhance `customize' buffer for browsing
I rarely use `customize' to actually set any options, preferring the
programmatic `setup' macro.  However, I often use `customize' to browse through
my options for different packages.  This setup removes the buttons and shows
all hidden elements so I can more easily scroll through the `customize' buffer.
2021-08-10 18:47:20 -05:00
Case Duckworth f5b575aec1 Customize 'customize'
... somewhat. still needs work.
2021-08-10 17:28:03 -05:00
Case Duckworth 49374613f6 Comment out org-tag code
It isn't working for me right now.
2021-08-10 14:48:02 -05:00
Case Duckworth 3a100209da Add acdw-modeline/position 2021-08-10 14:47:00 -05:00
Case Duckworth aec8e509f4 Change acdw/system call to executable-find
It's better this way.
2021-08-10 14:46:10 -05:00
Case Duckworth c6c0a378b2 Merge branch 'main' of tildegit.org:acdw/emacs 2021-08-10 08:31:23 -05:00
Case Duckworth 65dc1705f0 Add BadRadio 2021-08-10 08:30:28 -05:00
Case Duckworth 346e58658f Change 0x0 repo 2021-08-10 08:30:17 -05:00
Case Duckworth 0b1c2337c3 Whitespace 2021-08-09 23:46:48 -05:00
Case Duckworth bdf3994e69 Ad which-key config to embark 2021-08-09 23:41:26 -05:00
Case Duckworth 28e0353b73 Further configure embark 2021-08-09 23:36:58 -05:00
Case Duckworth e550fd8010 Add embark
Remove imenu-anywhere -- I didn't know I had it installed!
2021-08-09 23:14:39 -05:00
Case Duckworth 2d3e66de18 Add vertico extensions 2021-08-09 23:14:25 -05:00
Case Duckworth 5715040088 Configure minibuffer 2021-08-09 23:14:14 -05:00
Case Duckworth 6eaf17979c Configure completion framework 2021-08-09 23:14:01 -05:00
Case Duckworth d06004ca67 Add guard to erc-hl-nicks 2021-08-08 22:48:50 -05:00
Case Duckworth 9f93b9ab5c Add `eshell-buffer-name` 2021-08-08 22:45:50 -05:00
Case Duckworth e2f167fbc5 Show narrowed status in mode-line 2021-08-07 16:59:56 -05:00
Case Duckworth 6619e7067e Merge branch 'main' of https://tildegit.org/acdw/emacs 2021-08-07 15:14:27 -05:00
Case Duckworth 367e14cc7e Add C-g to quit re-builder 2021-08-07 15:13:10 -05:00
Case Duckworth adbe9b0d69 Merge branch 'main' of tildegit.org:acdw/emacs 2021-08-07 15:09:22 -05:00
Case Duckworth f53bc67913 Change acdw-modeline requirement location 2021-08-07 15:08:01 -05:00
Case Duckworth 41b48c4814 Add `acdw-org/count-words-stupidly'
To count words in an Org-mode buffer, disregarding headings and drawers
completely.
2021-08-07 15:07:04 -05:00
Case Duckworth 87bdfcf43a Truncate less of ERC nick 2021-08-07 15:06:19 -05:00
Case Duckworth 4f72e23f72 Add twitter.com URL handling
TODO: This could be smarter, e.g. not going to nitter if twitter.com/t.co is
part of the URL query.
2021-08-07 15:05:16 -05:00
Case Duckworth 721441893f Add `lacarte'
A menu system using `completing-read'.
2021-08-06 22:49:45 -05:00
Case Duckworth 93be3cb626 Configure vertico 2021-08-06 21:26:37 -05:00
Case Duckworth fde8912d00 Change org recipe 2021-08-06 21:26:29 -05:00
Case Duckworth 43c2d65ef8 Further configure erc 2021-08-06 21:26:14 -05:00
Case Duckworth e34371a70a Change re-builder to F2
I don't use the 2C binds. Idea taken from here:

https://www.reddit.com/r/emacs/comments/ofen99/weekly_tips_tricks_c_thread/h4srmb3
2021-07-22 22:10:18 -05:00
Case Duckworth 2bc99f0e85 Further configure org-mode
Especially `kill-ring-save-unfilled', though it doesn't quite work in a really
weird way.
2021-07-22 21:17:14 -05:00
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