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

From: Dmitry Gutov <[email-masked]>
Date: Sun, 19 Apr 2020 16:57:53 +0300

On 19.04.2020 12:25, João Távora wrote:
> On Sun, Apr 19, 2020 at 1:05 AM Dmitry Gutov <[email-masked] 
> <mailto:[email-masked]>> wrote:
> 
>     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? 
> 
> 
> What do you mean? In what conditions?

Just that you'd usually need to call 'read' multiple times, while 
accumulating the intermediate results.

Whereas lisp-data files usually contain just one Lisp form. So e.g. any 
"defun navigation" would jump between the direct children of that form.