Commit Graph

1205 Commits

Author SHA1 Message Date
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 cef00c0b13 Inhibit loading X Resources 2021-04-29 20:21:31 -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 64739e7e99 Break emacs-git-pull-config out of emacs-refresh
... and rename refresh-emacs to emacs-refresh ...
2021-04-29 17:21:05 -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 6b6555056b Show all messages in imap mailboxen 2021-04-28 16:51:04 -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 b281c6d9c6 Don't worry about a ~/.newsrc file
I don't plan on using any other news readers.
2021-04-27 17:30:06 -05:00
Case Duckworth 693ef0e7d0 Add gnus-options{,-not}-subscribe settings
Does this leak a little bit?  Sure.  But I /think/ (god, I pray) it's okay.
2021-04-27 17:20:17 -05:00
Case Duckworth 8b3af62cc9 Add prefix arg to pull ~/.emacs from git
I could probably do better things with the output and error buffers.  Whatever.
2021-04-27 15:35:42 -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 d466b613ea Change a couple gnus settings 2021-04-27 11:34:29 -05:00
Case Duckworth 5adbcfab5d Add acdw/reading-mode to read gnus articles 2021-04-27 11:34:04 -05:00
Case Duckworth a3faeaaf97 Fix comments 2021-04-27 11:33:48 -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 dcc7d643e2 Enhance `refresh-emacs'
- Enable `debug-on-error'
- Save all init files before sourcing them
2021-04-26 15:24:31 -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 c29078259d Get rid of a dumb alias that slows down Emacs
See the comment in the commit.
2021-04-22 17:58:43 -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 182389170d Correct nnimap definition
Still plenty of problems, though.  I really need to read that manual.
2021-04-22 11:51:54 -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 87ffff0ac0 Also load files in .emacs.d/lisp when running `refresh-emacs' 2021-04-22 10:06:39 -05:00
Case Duckworth 32e2fba6da Fix wrong function calls
When I changed `unpackaged/org-element-descendent-of' to
`acdw-org/element-descendent-of' (honestly, to make it easier to see where the
definition of the function is), I didn't change all the references to that
function.
2021-04-22 09:59:31 -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