[emacs-berlin] Suggested way to unset/undef/unalias stuff with emacsclient?

jman emacs-berlin at city17.xyz
Tue Jul 15 14:58:43 UTC 2025


Hello folks!

I've been using emacsclient for a couple of days and so far great experience. There's just one 
wrinkle: being Emacs basically a "Lisp REPL", it's easy to iterate lisp code anywhere and test 
things but never restarting the Emacs server means that all the junk I evaluate persists in memory 
forever (functions, variables, alias ... anything really).

I guess there are two ways to fix this: either restart the server (with `M-x restart-emacs`) or 
figure out all the inverse functions for setq, defun, defalias, keymap-set, etc which is all a bit 
annoying.

Has anyone anything to share? :)

Thanks


More information about the emacs-berlin mailing list