• 0 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: October 12th, 2023

help-circle

  • It’s the always-on REPL that’s the kicker.

    (defun invert-case ()
      (backward-delete-char-untabify 1)
      (insert (funcall (if (< last-command-event ?a)
    		       #'downcase
    		     #'upcase)
    		   last-command-event)))
    
    (add-hook 'post-self-insert-hook #'invert-case)
    

    Then C-u C-M-x on invert-case to convey the larger point that emacs is always running within a gdb-like harness. Your buddy will immediately bristle at the prohibitive investment necessary to achieve this pointless and trivial hack, at which point he’ll have truly grokked emacs.








  • Even if things weren’t broken now, they will be in a couple months. If you take the fragility of emacs to its logical conclusion as I have, you end up writing emacs instead of writing software.

    Diddling python is but an intermediary phase to non-coding management, but diddle you must to prove you’ve been in the trenches. Alas many a doughboy fell under emacs’s hypnotic spell and never poked their heads out to see the war’s been long over.