~/talk

Object Oriented Code in the Gnus Newsreader

Talkat EmacsConf 2020 · 2020-11-28..11-29· [software-architecture]
links:none on file
slides:none on file

Gnus implements object-like behavior in nno.el with top-level macros defvu/defu (dates back to 1996) that create defvar slots and defun methods, cache them, and materialize server instances by copying slot values into global variables like nno-state at runtime; methods dispatch by naming convention (nnimap-close-server, etc.) and inheritance lives mostly in nnmail. Proposal converts defu to cl-defgeneric/cl-defmethod (EIEIO in 2010, generic functions improved 2015), but challenges include optional-argument dispatch, adding slots to cl-defstruct/cl-defclass, and keeping backward compatibility for ~10–100 existing backends.

AI-written summary · about

  1. 0:00Introduction to Gnus
  2. 1:27Object orientation in Gnus
  3. 3:59Gnus server objects
  4. 10:01Methods in Gnus
  5. 13:48Modern OOP libraries
  6. 15:14Rewriting Gnus with CL-OOP
  7. 22:36Future of Gnus OOP
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.