| Age | Commit message (Collapse) | Author |
|
|
|
|
|
- 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 26 tests covering normal cases, boundary cases, and error cases
- Tests verify column width calculation with tabs, Unicode support, various underline characters
- Mock read-char function for batch mode testing
- All 26 tests passing on first run
|
|
- 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 35 tests covering normal cases, boundary cases, and error cases
- Tests verify duplicate removal with case-insensitive matching, region vs buffer operations, Unicode support
- Discovered function requires trailing newlines for duplicate detection and uses case-insensitive matching
- All 35 tests passing
|
|
- Add 31 tests covering normal cases, boundary cases, and error cases
- Tests verify duplication with/without comments, Unicode, RTL text, undo behavior, and edge cases
- All 31 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)
|
|
|
|
|
|
|
|
Fixed and enhanced the org-roam hook that copies completed tasks to
daily notes:
- Fixed hook not triggering immediately after Emacs launch by moving it
outside the lazy-loaded use-package org-roam :config block and into
with-eval-after-load 'org
- Changed hook to trigger for ANY org-done-keyword (DONE, CANCELLED,
etc.) instead of just "DONE"
- Updated hook to only trigger on non-done → done transitions using
org-last-state, preventing duplicate copies when changing between
done states (e.g., DONE → CANCELLED)
- Added docstrings to org-roam helper functions to fix checkdoc linter
warnings
- Created comprehensive ERT test suite with 10 tests covering:
* Hook registration before org-roam loads (lazy-loading fix)
* Transitions to done states (nil→DONE, TODO→DONE, IN-PROGRESS→DONE,
WAITING→CANCELLED)
* Non-triggering cases (done→done, transitions to non-done states)
|
|
|
|
Move the `nerd-icons` setup from `dirvish-config.el` to
`font-config.el` to consolidate icon configurations.
|
|
Remove unused functions and configurations related to dired-sidebar
and nerd-icons-dired. This cleans up the code and reduces
unnecessary dependencies within the dashboard-config.el and
dirvish-config.el modules.
|
|
Enable inline image support in ERC by adding 'image' to erc-modules.
Simplify hook usage by removing ERC colorization setup, leveraging
built-in functionality for better color management.
|
|
Refactor the keymap definitions across multiple modules by replacing
`define-prefix-command` with `defvar-keymap`. This simplifies the
keymap setup and integrates better with the `which-key` package for
enhanced documentation and usability. Updated modules include
custom-ordering, custom-text-enclose, custom-whitespace,
mail-config, music-config, org-drill-config, test-runner, and
vc-config.
|
|
Uncommented ERC client initialization in `init.el`. Replaced
"cj/erc-start-or-switch" with
"cj/erc-switch-to-buffer-with-completion" in dashboard. Altered
keybindings to use "C-; E" instead of "C-c e" for ERC commands.
Defined a new keymap "cj/erc-keymap" for better command
organization. Removed deprecated `locate-library` checks and
`cj/erc-command-map`. Refined code layout for clarity.
|
|
Add `dirvish-side-attributes` for explicit sidebar configuration.
|
|
Prevent tracking of sensitive client secret file in version control
by ignoring it in .gitignore.
|
|
The eradio-config dependency has been removed from the init file,
potentially because it is no longer needed or has been deprecated.
|
|
Enable error notifications by adjusting warning level. Simplify
startup performance by removing version control backend adjustments.
Restore initial settings after startup.
|
|
Remove unnecessary `;;;###autoload` comments from function
definitions. This cleanup clarifies the code and has no functional
impact as these autoload cookies were not utilized.
|
|
Introduce `cj/org-clear-element-cache` to clear the org-element
cache for the current buffer or all buffers. This is useful for
resolving parsing errors encountered during agenda generation, such
as 'wrong-type-argument stringp nil'. The function can be triggered
with a prefix argument to clear the cache for all org buffers, or
without it to clear only the current buffer's cache.
|
|
Update `use-package` to load `dwim-shell-command` after both `dired`
and `dirvish`, ensuring proper integration and compatibility with
the additional package.
|
|
Add chime for managing agenda notifications. Update configuration
settings for chime, including notification times and modeline display.
Enable chime-mode by default.
|
|
Extend the use-package setup to include the new command
`cj/drill-start` in addition to `org-drill`.
|
|
Add `cj/org-gcal-clear-sync-lock` function to allow clearing the
`org-gcal` sync lock. This is useful when a sync fails and leaves
the lock in place, preventing future syncs. This function can be
invoked with the keybinding "C-; G". Additionally, ensure
credentials are retrieved from `authinfo.gpg` before loading
`org-gcal`.
|
|
Include shortcuts for Google Drive in documents and add a remote
access path for git at cjennings.net in the dirvish configuration.
|
|
Deleted eradio-config.el file as it is no longer needed. Refactored
music-config.el to improve readability and maintainability by
removing unused autoload directives, unnecessary eval-when-compile
blocks, adjusting indentation, and enhancing the setup function for
EMMS. Additionally, removed duplicate code and ensured playlist
handling is more robust.
|
|
|
|
|
|
|
|
Commented out signature checking to avoid issues during package
installation.
|
|
Introduce `browser-config.el` to handle browser selection and
configuration within Emacs. This module discovers available
browsers, allows user selection through `M-x cj/choose-browser`, and
persists the choice while supporting all link types.
|
|
Clean up init.el by removing the unnecessary commented require
statement for prog-lsp.
|
|
Introduce the 'L' key binding to copy the absolute file path in
Dirvish. Extend `cj/dired-copy-path-as-kill` function to support
force copying of absolute paths with the new `force-absolute`
argument. This enhances the path copying capabilities by allowing
users to directly copy absolute paths when needed.
|
|
Reorganize and comment out certain module requirements for clarity.
Include comments to indicate test progress and modules in
development.
|
|
Fixes inconsistent indentation in emacs-startup-hook lambda
function. Comments out warning level setting and reenables package
signature checking.
|
|
Optimized key binding configurations across modules for consistency
and reduced redundancy. Improved conditional requiring to handle
errors gracefully in `music-config.el`, ensuring robustness across
different machine environments. Eliminated comments clutter and
adjusted function definitions to adhere to revised standards.
|
|
Add birthday and website fields to the contact template while
removing duplicate template code. Comment out unused org-roam
linking function. Replace `define-key` and `global-set-key` with
`keymap-set` and `keymap-global-set` for cleaner keymap definitions
and bindings.
|
|
Remove redundant declarations and reorganize settings for clarity.
Centralize org-mode customizations and use `use-package` for
streamlined loading and configuration. Remove backward-compatible
safeguards and reduce inline comments for cleaner code. Optimize key
mappings and simplify the setup of org-related packages.
|
|
Replace `global-set-key` with `keymap-global-set` for consistency
and readability. Remove deferring in `helpful` and `man` use-package
configurations as it's unnecessary.
|
|
Update comments in keybindings.el for clarity by removing tilde
markers around key sequences. Remove unused code related to
which-key initialization to streamline the configuration.
|
|
Correct the quoting style in docstrings for commands using backticks
instead of incorrect characters.
|
|
Add EBook font setting with specified weight and height. Change
global keybinding functions to keymap-global-set for better clarity
and maintainability.
|
|
Change the use-package command specification for `mu4e` to use
:commands for lazy loading. Update keymap binding from `define-key`
to `keymap-set` for readability and maintainability.
|
|
Replace `define-key` with `keymap-set` for better key binding
clarity and reliability. Switch eshell loading from `:defer .5` to
`:commands (eshell)` for on-demand loading. Remove unnecessary
`:defer` from `xterm-color`.
|
|
Replace `global-set-key` with `keymap-global-set` for consistency
and improved readability. Additionally, transition devdocs commands
from deferred loading to command-based setup, enhancing
initialization control.
|
|
Correct indentation for readability. Change default player to VLC.
|