summaryrefslogtreecommitdiff
path: root/modules/custom-misc.el
AgeCommit message (Collapse)Author
4 daysfeat:which-key: Add descriptive labels for custom keymapsCraig Jennings
Enhance which-key integration by providing detailed descriptions for new key bindings across multiple modules. This improves the usability of custom keymaps by clarifying the purpose of each keybinding, making it easier for users to navigate and understand different menus and options available within the configuration. This update ensures that all custom keymaps now display a descriptive label in the which-key popup to explain their functionality, aiding users in identifying keymap purposes promptly.
5 days test+fix:custom-misc: add tests and fix fraction glyph bugCraig Jennings
Add test coverage for 4 functions in custom-misc.el: - cj/replace-fraction-glyphs (24 tests) - cj/format-region-or-buffer (17 tests) - cj/count-words-buffer-or-region (20 tests) - cj/jump-to-matching-paren (18 tests) Refactored functions using internal/interactive split pattern: - Internal functions (cj/--function-name) contain business logic with explicit parameters and validation - Interactive wrappers handle UI concerns (region detection, messages) - Tests call internal functions directly (no mocking required) Bug Fix: cj/--replace-fraction-glyphs Fixed "Invalid search bound" error when converting glyphs to text. Original code used fixed end position which became invalid when replacements changed buffer size. Fixed by using copy-marker for dynamic end position tracking.
10 daysfeat:custom-misc: added switch to previous buffer C-; SPCCraig Jennings
10 daysmoved toggle-debug-on error keybindign to config-utilsCraig Jennings
11 daysfix: custom-misc: correct custom-keymap evaluationCraig Jennings
Changed the evaluation of `cj/custom-keymap` to use `defvar` for proper reference, fixing potential issues in compilation without requiring 'keybindings'.
14 daysrefactor: custom-misc: Improve utility functions and modernize codeCraig Jennings
- Add comprehensive module documentation - Enhance jump-to-matching-paren with better delimiter detection and error handling - Add user feedback messages to format and fraction replacement functions - Modernize keybindings to use keymap-set instead of define-key - Fix potential advice stacking issue on file reload - Improve code formatting and consistency throughout
2025-10-12maint: remaining custom functions grouped into separate modulesCraig Jennings