| Commit message (Collapse) | Author | Age |
... | |
| |
|
|
|
|
| |
from unpackaged.el
|
|
|
|
| |
from https://endlessparentheses.com/a-comment-or-uncomment-sexp-command.html
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
`acdw/system' parsed arities of the form
(acdw/system (:home (do-thing)))
incorrectly: instead of expanding to (pcase acdw/system (:home (do-thing))),
it parsed to ... something else that tried to call `:home' as a function and
crapped out. I've fixed that issue and clarified the `cond' clauses.
|
|
|
|
|
|
| |
`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.
|
| |
|
|
|
|
|
|
|
| |
Does the same thing (in general) as the dos2unix C program. By which I mean,
it converts \r\n to \n in the buffer. It doesn't do anything else.
... So it really doesn't do much of the same thing as dos2unix.
|
|
|
|
| |
"dim gray" looks good on both black and white.
|
|
|
|
|
| |
Still to think about: changing the `fringe' face. Do I want it another color?
Do I even need any buffer boundaries? Hm....
|
|
|
|
| |
... and rename refresh-emacs to emacs-refresh ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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!
|
|
|
|
| |
I could probably do better things with the output and error buffers. Whatever.
|
|
|
|
| |
Like `crux-insert-date', but I use ISO 8601.
|
|
|
|
|
| |
- Enable `debug-on-error'
- Save all init files before sourcing them
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Mismatched parens
|
|
|
|
| |
I can just overwrite the buffer-local `mode-line-format'.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Hopefully this will put a halt to all of my whitespace commits. Of course, this
commit also includes whitespace-only diffs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
setup (https://git.sr.ht/~zge/setup) does everything I tried to do with
`acdw/pkg', et al., but better.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Instead of only allowing (list-of-hooks) (list-of-functions), `acdw/hooks' now
accepts a (list-of-hook-specs), each of which is of the above form, allowing the
user to set multiple unrelated hooks at once.
|
|
|
|
|
| |
This change means I don't have to `require' libraries that haven't been
registered with `straight' yet.
|
| |
|
|
|
|
| |
I should probably change `acdw/bind-after-map' to use this macro...
|
| |
|
| |
|
| |
|
| |
|
| |
|