summary refs log tree commit diff stats
path: root/lisp
Commit message (Collapse)AuthorAge
...
* Comment out `hook-defun'Case Duckworth2021-05-21
| | | | | | | | | | 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.
* Fix `acdw/system' argument parsingCase Duckworth2021-05-21
| | | | | | | | | | `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.
* Merge branch 'main' of https://tildegit.org/acdw/emacsCase Duckworth2021-05-19
|\
| * Add variable-pitch-mode in Org and InfoCase Duckworth2021-05-19
| |
* | Change definition of `acdw-org/count-words'Case Duckworth2021-05-19
| | | | | | | | | | | | (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...
* | Rewrite acdw-modeline/word-count to show region countsCase Duckworth2021-05-19
|/
* Add `acdw-org/word-count'Case Duckworth2021-05-13
|
* Add `acdw/system' macroCase Duckworth2021-05-11
| | | | | | `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.
* Remap C-w to backward-kill-word if the region isn't activeCase Duckworth2021-05-04
|
* Add `winum'Case Duckworth2021-05-03
| | | | | 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].
* Add `dos2unix'Case Duckworth2021-05-01
| | | | | | | 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.
* Change the fringe faceCase Duckworth2021-04-30
| | | | "dim gray" looks good on both black and white.
* Customize fringesCase Duckworth2021-04-30
| | | | | Still to think about: changing the `fringe' face. Do I want it another color? Do I even need any buffer boundaries? Hm....
* Move emoji font configuration to the initial frame setup functionCase Duckworth2021-04-30
|
* Add the text scale to the modelineCase Duckworth2021-04-30
|
* Break emacs-git-pull-config out of emacs-refreshCase Duckworth2021-04-29
| | | | ... and rename refresh-emacs to emacs-refresh ...
* Massively refactorCase Duckworth2021-04-29
| | | | | | | | | | | | | | - 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!
* Add prefix arg to pull ~/.emacs from gitCase Duckworth2021-04-27
| | | | I could probably do better things with the output and error buffers. Whatever.
* Add `acdw/insert-iso-date'Case Duckworth2021-04-26
| | | | Like `crux-insert-date', but I use ISO 8601.
* Enhance `refresh-emacs'Case Duckworth2021-04-26
| | | | | - Enable `debug-on-error' - Save all init files before sourcing them
* Also load files in .emacs.d/lisp when running `refresh-emacs'Case Duckworth2021-04-22
|
* Fix wrong function callsCase Duckworth2021-04-22
| | | | | | | 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.
* Add macro `with-message'Case Duckworth2021-04-21
|
* Merge branch 'main' of https://tildegit.org/acdw/emacsCase Duckworth2021-04-21
|\
| * Fix some dumbnessCase Duckworth2021-04-20
| |
* | Fix typoCase Duckworth2021-04-21
|/
* Rename functions in acdw-org.elCase Duckworth2021-04-19
|
* Tweak `org-table-copy-down'Case Duckworth2021-04-19
| | | | | Now <S-return> will do its regular thing /in/ a table, but will also work /outside/ a table as a regular <return>.
* Add `acdw/kill-a-buffer' and keybindingCase Duckworth2021-04-19
|
* Make `org-return-dwim' auto-fill-mode-awareCase Duckworth2021-04-14
| | | | | | | | | | 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.
* Change (insert "\n\n") -> (newline)Case Duckworth2021-04-13
|
* `org-return-dwim': work in nested listsCase Duckworth2021-04-13
| | | | | | `org-return-dwim' now ends a list on an empty nested list item. See the comment for details.
* Formatting etc.Case Duckworth2021-04-13
| | | | This keeps happening :/
* Add a generate custom ids function for headingsCase Duckworth2021-04-13
| | | | From amitp.blogspot.com.
* Add `acdw-org/delete-backward-char' and adviseCase Duckworth2021-04-12
| | | | | | | | 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?
* Load slime-helper.el if it existsCase Duckworth2021-04-09
| | | | | | 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.
* Change font loading logic to hopefully be more robustCase Duckworth2021-04-09
| | | | | Based heavily (basically copied) from https://github.com/olivertaylor/olivertaylor.github.io/blob/master/notes/20210324_emacs-optical-font-adjustment.org
* Add `acdw/find-emacs-dotfiles'Case Duckworth2021-04-07
|
* UhCase Duckworth2021-04-07
|
* 7Case Duckworth2021-04-06
|
* Remove acdw/mapCase Duckworth2021-04-06
|
* Fix acdw/reading-modeCase Duckworth2021-04-04
| | | | Mismatched parens
* Remove *disabling* of simple-modeline-mode from acdw/reading-modeCase Duckworth2021-04-02
| | | | I can just overwrite the buffer-local `mode-line-format'.
* Add `defun-with-hooks'Case Duckworth2021-04-02
|
* Add function `dumb-auto-format' that checks with apheleia firstCase Duckworth2021-04-01
| | | | | | | 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.
* Define `acdw/reindent-buffer' and hook into elispCase Duckworth2021-04-01
| | | | | Hopefully this will put a halt to all of my whitespace commits. Of course, this commit also includes whitespace-only diffs.
* Add commentsCase Duckworth2021-04-01
|
* Add `olivetti' and tweak `acdw/reading-mode'Case Duckworth2021-03-31
|
* Tweak garbage collectionCase Duckworth2021-03-30
|
* Fix arrayp bug in `acdw-modeline/vc-branch'Case Duckworth2021-03-30
|