aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-line-paragraph.el
Commit message (Collapse)AuthorAgeFilesLines
* docs:custom-line-paragraph: Update author info, enhance commentaryCraig Jennings2025-10-261-6/+5
| | | | | | Add author information and improve commentary to detail line and paragraph manipulation utilities more clearly, enhancing the module's documentation.
* fix:custom-line-paragraph:missing forward declarationsCraig Jennings2025-10-261-0/+3
|
* feat:custom-line-paragraph: add keybinding for duplicate-and-commentCraig Jennings2025-10-261-2/+4
| | | | | | - Add C-; l c keybinding to duplicate line/region with commenting - Add which-key description "duplicate and comment" for the new binding - Complements existing C-; l d (duplicate without comment)
* fix+test:custom-line-paragraph:infinite loop remove-lines-containingCraig Jennings2025-10-261-21/+23
| | | | | | | - Add guard clause to handle empty string input gracefully (would cause infinite loop) - Add 33 comprehensive tests covering normal cases, boundary cases, and error cases - Tests verify Unicode support, regex character escaping, region vs buffer operations - All 33 tests passing
* test:custom-line-paragraph: add tests and fix region deactivationCraig Jennings2025-10-261-1/+2
| | | | | | - Add 11 new tests for cj/join-line-or-region covering boundary cases, Unicode, stress testing, and undo behavior - Fix region deactivation in cj/join-line-or-region function - All 62 tests now passing (41 join-line-or-region + 21 join-paragraph)
* refactor:custom-line-paragraph:: Remove expand-region demandCraig Jennings2025-10-221-5/+3
| | | | | | | Remove the demand for expand-region package and require it in `cj/join-paragraph` function instead. This streamlines the package loading process and keeps its usage localized to the part of the code that actually needs it.
* feat: undead-buffers: Add `cj/make-buffer-undead` function and testsCraig Jennings2025-10-221-69/+73
| | | | | | | | | | | | | | | Introduce a new function `cj/make-buffer-undead` that appends a buffer name to the `cj/undead-buffer-list`, preventing it from being killed. This comes along with a suite of tests to check various scenarios and edge cases for handling undead buffers. Additionally, add tests for related functions: `cj/kill-buffer-or-bury-alive`, `cj/kill-buffer-and-window`, and others to ensure they correctly manage buffers, particularly with undead-status considerations. Refactor `undead-buffer-list` naming for consistency and clarity in the module.
* doc: Improved CommentaryCraig Jennings2025-10-201-1/+13
|
* refactor: keymap: Use defvar-keymap and keymap-setCraig Jennings2025-10-171-17/+15
| | | | | | | - Replace define-prefix-command/define-key with defvar-keymap and keymap-set - Preserve existing bindings under cj/custom-keymap "l" - Tidy docstrings and reflow long lines - No functional changes
* fix: call cj/join-line-or-region with 0 (correct number) argsCraig Jennings2025-10-121-1/+1
|
* maint: remaining custom functions grouped into separate modulesCraig Jennings2025-10-121-0/+127