[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40573: 27.0.90; flymake-mode broken in scratch buffer
From: |
Eli Zaretskii |
Subject: |
bug#40573: 27.0.90; flymake-mode broken in scratch buffer |
Date: |
Tue, 14 Apr 2020 18:42:54 +0300 |
> From: João Távora <joaotavora@gmail.com>
> Date: Tue, 14 Apr 2020 13:56:28 +0100
> Cc: Juri Linkov <juri@linkov.net>, 40573@debbugs.gnu.org,
> Stefan Monnier <monnier@iro.umontreal.ca>, Dmitry Gutov
> <dgutov@yandex.ru>
>
> > What I was getting at was that maybe there are other extensions that
> > we'd like to trigger this mode. Also, Emacs has means for
> > automatically turning modes on, other than the file-name extension and
> > the mode cookie. Maybe some of them could be used in this case.
>
> Do you mean magic-mode-alist?
That's one such feature, yes. There are others:
interpreter-mode-alist, auto-mode-interpreter-regexp, etc.
> Do you think you'd be able
> to come up with something that won't yield a lot of false
> positives or a lot of false negatives? If so, don't let me
> stop you.
I was just asking whether any of these can be relevant, that's all. A
negative answer is OK.
> > I meant traits that are relevant to what major modes do:
> > fontification, indentation, what is considered a defun, etc.
>
> Sure, and I meant it's easier to think of them as subtraction
> from the existing emacs-lisp-mode. Ask yourself the inverse
> question: what things _aren't_ relevant.
I was asking that aloud.
> Re. defun finding. In general, there are no things
> analogous to a defun in data files, there just aren't!
I think the example shown by Juri included a lambda-function.
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, (continued)
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, João Távora, 2020/04/12
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Juri Linkov, 2020/04/12
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Eli Zaretskii, 2020/04/13
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Juri Linkov, 2020/04/13
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Eli Zaretskii, 2020/04/14
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, João Távora, 2020/04/14
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Eli Zaretskii, 2020/04/14
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, João Távora, 2020/04/14
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Eli Zaretskii, 2020/04/14
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, João Távora, 2020/04/14
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer,
Eli Zaretskii <=
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, João Távora, 2020/04/14
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Stefan Monnier, 2020/04/14
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Juri Linkov, 2020/04/16
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Stefan Monnier, 2020/04/16
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Eli Zaretskii, 2020/04/17
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, João Távora, 2020/04/17
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Eli Zaretskii, 2020/04/17
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, João Távora, 2020/04/17
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, Eli Zaretskii, 2020/04/17
- bug#40573: 27.0.90; flymake-mode broken in scratch buffer, João Távora, 2020/04/17