I talked to someone about the extensibility of emacs, but the person I was speaking to assumed that any IDE is just as extensible by using Plug Ins.

Without turning the conversation into a university style lecture, what is one or two simple actions I can do in emacs to show someone what separates it from other IDES.

  • ClerkOfCopmanhurst@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.