| Age | Commit message (Collapse) | Author |
|
Add author information and improve commentary to detail line and
paragraph manipulation utilities more clearly, enhancing the
module's documentation.
|
|
|
|
- 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)
|
|
- 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
|
|
- 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)
|
|
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.
|
|
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.
|
|
|
|
- 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
|
|
|
|
|