summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
14 hourstest:custom-line-paragraph: add tests and fix region deactivationCraig Jennings
- 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)
15 hoursfeat: chime: make chime start immediatelyCraig Jennings
15 hoursfix:org-roam: copy completed tasks to dailies on state transitionsCraig Jennings
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)
19 hoursrefactor:dirvish: Remove redundant nerd-icons setupCraig Jennings
Move the `nerd-icons` setup from `dirvish-config.el` to `font-config.el` to consolidate icon configurations.
19 hoursrefactor:dirvish: remove unused dired sidebar codeCraig Jennings
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.
19 hoursfeat:erc-config: add image inline support and simplify hooksCraig Jennings
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.
19 hoursrefactor:keymaps: Replace define-prefix-command with defvar-keymapCraig Jennings
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.
19 hoursfeat:erc: Enable IRC client in dashboard and update keybindingsCraig Jennings
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.
20 hoursfeat(dirvish-config): Add sidebar attribute settingCraig Jennings
Add `dirvish-side-attributes` for explicit sidebar configuration.
23 hoursrefactor:video-audio-recording: remove unused autoload cookiesCraig Jennings
Remove unnecessary `;;;###autoload` comments from function definitions. This cleanup clarifies the code and has no functional impact as these autoload cookies were not utilized.
23 hoursfeat:org-config: Add function to clear org-element cacheCraig Jennings
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.
23 hoursfix:dwim-shell: ensure dirvish starts dwim-shellCraig Jennings
Update `use-package` to load `dwim-shell-command` after both `dired` and `dirvish`, ensuring proper integration and compatibility with the additional package.
23 hoursrefactor: org-agenda: add chimeCraig Jennings
Add chime for managing agenda notifications. Update configuration settings for chime, including notification times and modeline display. Enable chime-mode by default.
23 hoursfeat:org-drill: Add cj/drill-start command to autoloadCraig Jennings
Extend the use-package setup to include the new command `cj/drill-start` in addition to `org-drill`.
23 hoursfeat:org-gcal: Add function to clear sync lock and bindingCraig Jennings
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`.
23 hoursfeat:dirvish: shortcuts for Google Drive, remote git:cjennings.netCraig Jennings
Include shortcuts for Google Drive in documents and add a remote access path for git at cjennings.net in the dirvish configuration.
23 hourschore: music: remove eradio-config and update music-configCraig Jennings
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.
3 daysfeat:browser: Add browser configuration moduleCraig Jennings
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.
4 daysfeat:dirvish-config: Add absolute path copy functionalityCraig Jennings
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.
4 daysrefactor: unify and simplify key binding setupsCraig Jennings
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.
4 daysrefactor:org-contacts-config: Update template and keymap bindingsCraig Jennings
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.
4 daysrefactor:org-modules: Improve org-mode configurationCraig Jennings
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.
4 daysrefactor:help-config: update keybinding functionsCraig Jennings
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.
4 dayschore:keybindings: update comments and remove unused codeCraig Jennings
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.
4 daysstyle:host-environment: Fix quoting in docstringsCraig Jennings
Correct the quoting style in docstrings for commands using backticks instead of incorrect characters.
4 daysrefactor:font-config: update font settings and keybindingsCraig Jennings
Add EBook font setting with specified weight and height. Change global keybinding functions to keymap-global-set for better clarity and maintainability.
4 daysrefactor:mail-config: update command declarations and keymap bindingCraig Jennings
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.
4 daysrefactor:eshell-vterm-config): update keymap and eshell loadingCraig Jennings
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`.
4 daysrefactor:help-utils: keymap bindings for devdocs and cj/local-archCraig Jennings
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.
4 daysstyle:media-utils: Fix indentation and change default playerCraig Jennings
Correct indentation for readability. Change default player to VLC.
4 daysdocs:games-config: Update commentary on game packagesCraig Jennings
Streamline the commentary section by removing redundant descriptions and instructions for accessing games. Focus on configuring game packages instead of listing individual games.
4 daysrefactor(dwim-shell-config): Reorganize and remove redundant codeCraig Jennings
Remove redundant function declarations and reorganize key binding logic for better clarity and maintainability. Bind `dwim-shell-commands-menu` to `dired-mode-map` directly within `use-package`.refactor(dwim-shell-config): Remove redundant function declarations Remove unused function declarations and move the key binding setup to an appropriate section. Change the `use-package` directive to load `dwim-shell-command` only after `dired` to ensure proper initialization.
4 daysrefactor(dirvish-config): streamline commentary and key bindingsCraig Jennings
Condensed the commentary section to enhance readability. Reorganized key bindings to follow a consistent format and moved `dired-mode` auto-reversion to a separate expression. Simplified the `use-package` declaration with a deferred init and added mode overrides.
4 daysrefactor:custom-line-paragraph:: Remove expand-region demandCraig Jennings
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.
4 daysfeat:nov/epub: Enhance EPUB handling and visual preferencesCraig Jennings
Introduce nov-mode for .epub files, bypassing archive-mode detection. Enhance reading experience with visual-fill-column-centered text, Merriweather font, and improved color scheme. Provide utilities for paragraph navigation and document rendering. Improve previous nov-mode preferences for consistent visual adjustments and text wrapping.
4 daysfeat: modules: Add popper-config for popup window managementCraig Jennings
Introduce popper-config.el to manage secondary buffers as popup windows using popper.el. This configuration includes keybindings for toggling, cycling, and promoting popups, and sets up popper with specific buffer references and display settings. This enhances the user experience by managing secondary buffers efficiently.
4 daysfeat: undead-buffers: Add `cj/make-buffer-undead` function and testsCraig Jennings
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.
4 daysfix cosmetic whitespace issueCraig Jennings
5 daysfix: config-utilities: Show Emacs binary location in version infoCraig Jennings
Also update which-key label for config debugging utilities.
5 daysfeat:custom-misc: added switch to previous buffer C-; SPCCraig Jennings
5 daysmoved toggle-debug-on error keybindign to config-utilsCraig Jennings
5 daysrefactor:config-utils: method rename, remove dead codeCraig Jennings
- renamed methods to allow intuitive grouping - removed uncommented/unused code - fixed compilation bug when no compilation is available
5 daysfeat:config-utils: add debug-keymap C-c d, profiling, benchmarkingCraig Jennings
5 daysfeat: buffer: added cj/copy-buffer-name convenience functionCraig Jennings
6 daysfeat:org-agenda: enhance daily agenda performance and keybindingsCraig Jennings
Add caching mechanism to improve performance by reducing redundant directory scans for org-agenda files. Introduce a periodic rebuild timer for automatic cache updates. Update keybindings for main agenda, task list, and buffer-specific lists. Enhance org-agenda commands to force cache rebuilds when needed. Restructure and optimize org-agenda configuration, disabling costly features by default to ensure faster agenda generation. Implement new keybinding sets upon module load, ensuring immediate accessibility. Extend autoload directives to key functions for external invocation.
6 daysfeat:reconcile-open-repos: enhance git repository reconciliationCraig Jennings
Improve the workflow for synchronizing git repositories across projects. Add detailed commentary and handle edge cases for stash, pull, and stash pop operations. Implement checks for project directories and dependencies defined in init.el, enhancing robustness against undefined variables and failed git operations. Ensure Magit opens for manual intervention when issues arise.
6 daysrefactor:org: improve forward declarations and update key bindingsCraig Jennings
Add forward declarations for org-mode variables and functions to improve code clarity and organization. Update key binding methods to use keymap-unset and keymap-global-set for better compatibility. Group org-mode settings more logically and remove unnecessary custom-set-variables call. Enable org-superstar mode using a hook for cleaner initialization.
6 daysrefactor:recording:: improve ffmpeg-based device detection + perfCraig Jennings
- Simplified variable declarations by using defvar instead of defcustom. - Added functions to auto-detect audio devices using PulseAudio - Enhanced ffmpeg command construction to include detected device names and optimized process start and stop messages. - Adjusted process interruption timing for better file finalization. - Autoload settings and key bindings have also been restructured.
6 daysfeat:flyspell: Enhance spell check flow and abbrev integrationCraig Jennings
Refactor flyspell and abbrev functionalities to improve spell checking workflow. Key changes include detailed workflow documentation, manual activation of flyspell, deferred configuration for abbrev, and enhanced correction process. This update introduces automatic abbrev creation for corrected misspellings, significantly increasing typing speed over time. Additional changes include command simplification and updated keybindings for a more streamlined user experience.
6 daysfeat:programming: Enhance language-specific keybindings and setupCraig Jennings
Add language-specific keybindings and configurations for C, Go, Python, and shell scripting panels. Introduce system utility function declarations and improve keybinding consistency across languages. Implement keybindings for debug, format, and static analysis tools tailored to each programming language, enhancing the developer experience and workflow efficiency.