Subject: bug#40573: 27.0.90; flymake-mode broken in scratch buffer

From: Dmitry Gutov <[email-masked]>
Date: Sun, 19 Apr 2020 03:05:40 +0300

On 19.04.2020 02:36, João Távora wrote:
> -(define-derived-mode lisp-mode prog-mode "Lisp"
> +(define-derived-mode lisp-mode lisp-data-mode "Lisp"

Speaking of. Is lisp-mode a special case of lisp-data-mode?

I would say maybe not: you usually can't (read) a whole Lisp buffer, 
right? So I would make lisp-data-mode inherit from prog-mode (and have 
them share a helper initializer).

But then again, I'm not sure which extra features a lisp-data-mode would 
have, that would have to be incompatible with lisp-mode.