From 6534147e502f3f1d504b8d2d9757aefa04bfbb07 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 3 Nov 2025 13:29:56 -0600 Subject: fix: Swap print keybinding and add confirmation prompt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Print operations are now safer and more intuitive: Keybinding changes: - C-; b p → copy file path (safe, common action) - C-; b P → print to PostScript (dramatic, requires shift) Print function improvements: - Add y-or-n-p confirmation before printing - C-u prefix skips confirmation and enables color printing - Prevents accidental waste of paper/toner Serves V2MOM Values: - Intuitive: Dramatic actions require shift key - Intuitive: Prevents muscle memory mistakes - Simple: Reliability through confirmation Also updated docs/NOTES.org with Makefile availability note. Closes inbox items from emacs-inbox-zero session (2025-11-03). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- docs/NOTES.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'docs/NOTES.org') diff --git a/docs/NOTES.org b/docs/NOTES.org index 1b7b644c..a08a25e8 100644 --- a/docs/NOTES.org +++ b/docs/NOTES.org @@ -170,6 +170,27 @@ Deeply nested code: | CI/CD | pre-commit hooks | Prevent bad commits | | Review | byte-compile-file | Comprehensive check | +** Makefile - Comprehensive Testing & Validation Tool + +A comprehensive Makefile is available in the repository root with targets for testing, validation, and utilities. + +#+BEGIN_SRC bash +make # Show all available targets +make test # Run all tests (unit + integration) +make test-file FILE=... # Run specific test file +make test-name TEST=... # Run tests matching pattern +make validate-parens # Check for unbalanced parentheses +make validate-modules # Load all modules to verify compilation +make compile # Byte-compile all modules +make lint # Run checkdoc, package-lint, elisp-lint +make profile # Profile Emacs startup +make clean # Remove test artifacts and compiled files +make reset # Reset to first launch (destructive!) +#+END_SRC + +Created: 2025-11-03 +Adapted from chime.el Makefile with config-specific enhancements + * 📋 AVAILABLE SESSION TYPES ** create-session -- cgit v1.2.3