| 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.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
(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...
|
|/ |
|
| |
|
|
|
|
|
|
| |
`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.
|
| |
|
|
|
|
|
| |
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].
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
Now <S-return> will do its regular thing /in/ a table, but will also work
/outside/ a table as a regular <return>.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Added a block at the top of the function to call `auto-fill-function' if it's
enabled, and I changed the calls to `newline' to `insert "\n"`, due to
... something. It was having issues figuring out that the new lines were list
items I think.
I also removed the message part in the middle of the function that I forgot to
remove before.
|
| |
|
|
|
|
|
|
| |
`org-return-dwim' now ends a list on an empty nested list item.
See the comment for details.
|
|
|
|
| |
This keeps happening :/
|
|
|
|
| |
From amitp.blogspot.com.
|
|
|
|
|
|
|
|
| |
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?
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Based heavily (basically copied) from
https://github.com/olivertaylor/olivertaylor.github.io/blob/master/notes/20210324_emacs-optical-font-adjustment.org
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|