all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: 40573@debbugs.gnu.org, joaotavora@gmail.com,
	monnier@iro.umontreal.ca, dgutov@yandex.ru
Subject: bug#40573: 27.0.90; flymake-mode broken in scratch buffer
Date: Tue, 14 Apr 2020 08:51:28 +0300	[thread overview]
Message-ID: <83h7xmipi7.fsf@gnu.org> (raw)
In-Reply-To: <87imi39e8w.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 14 Apr 2020 02:17:11 +0300)

> From: Juri Linkov <juri@linkov.net>
> Cc: joaotavora@gmail.com,  40573@debbugs.gnu.org,  monnier@iro.umontreal.ca,
>   dgutov@yandex.ru
> Date: Tue, 14 Apr 2020 02:17:11 +0300
> 
> These files need font-locking from emacs-lisp-mode for viewing, and other
> features of emacs-lisp-mode for editing: indentation, commenting, etc.
> i.e. everything from emacs-lisp-mode except code evaluation.  This is
> one difference between emacs-lisp-data-mode and emacs-lisp-mode.
> 
> Another difference is that distinction between dynamic/lexical binding
> makes no sense for ELisp data files.  It's wrong to use "ELisp/d" as
> a mode name for ELisp data files where "/d" indicates dynamic binding.

What do you propose to show as the mode-lighter instead?

> http://git.savannah.nongnu.org/cgit/ee.git/tree/ee-datafile.el
> currently assigns emacs-lisp-mode:
> 
>   (add-to-list 'auto-mode-alist '("\\.ee\\'" . emacs-lisp-mode))
> 
> but could use emacs-lisp-data-mode instead:
> 
>   (add-to-list 'auto-mode-alist '("\\.ee\\'" . emacs-lisp-data-mode))
> 
> There are many other examples of ELisp data files.  One is already
> mentioned .dir-locals.el that needs editing features from
> emacs-lisp-mode (indentation, commenting, ...) as well,
> but doesn't need the dynamic/lexical distinction.

How would you propose to identify these files for turning on this
special mode?  They don't seem to have a clear-cut set of extensions
and/or file names.

Thanks for the other details, I think this is very useful.





  reply	other threads:[~2020-04-14  5:51 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-12 13:18 bug#40573: 27.0.90; flymake-mode broken in scratch buffer João Távora
2020-04-12 13:48 ` Eli Zaretskii
2020-04-12 14:24   ` João Távora
2020-04-12 14:44     ` Eli Zaretskii
2020-04-12 17:02       ` João Távora
2020-04-12 17:17         ` Eli Zaretskii
2020-04-12 17:50           ` João Távora
2020-04-12 23:58         ` Juri Linkov
2020-04-13  4:36           ` Eli Zaretskii
2020-04-13 23:17             ` Juri Linkov
2020-04-14  5:51               ` Eli Zaretskii [this message]
2020-04-14  8:48                 ` João Távora
2020-04-14 11:29                   ` Eli Zaretskii
2020-04-14 11:48                     ` João Távora
2020-04-14 12:38                       ` Eli Zaretskii
2020-04-14 12:56                         ` João Távora
2020-04-14 15:42                           ` Eli Zaretskii
2020-04-14 16:42                             ` João Távora
2020-04-14 20:05                               ` Stefan Monnier
2020-04-16 21:43                 ` Juri Linkov
2020-04-16 23:06                   ` Stefan Monnier
2020-04-17  6:49                     ` Eli Zaretskii
2020-04-17 10:07                       ` João Távora
2020-04-17 10:12                         ` Eli Zaretskii
2020-04-17 10:21                           ` João Távora
2020-04-17 11:49                             ` Eli Zaretskii
2020-04-17 11:57                               ` João Távora
2020-04-17 13:05                                 ` Eli Zaretskii
2020-04-17 15:20                                   ` João Távora
2020-04-17 15:28                                     ` Eli Zaretskii
2020-04-17 15:35                                       ` João Távora
2020-04-17 15:46                                         ` Eli Zaretskii
2020-04-17 15:55                                           ` João Távora
2020-04-17 17:19                                             ` Eli Zaretskii
2020-04-18  8:26                                               ` João Távora
2020-04-18  9:28                                                 ` Eli Zaretskii
2020-04-18 10:03                                                   ` João Távora
2020-04-18 11:08                                                     ` Eli Zaretskii
2020-04-18 11:57                                                       ` João Távora
2020-04-18 12:35                                                         ` Eli Zaretskii
2020-04-18 15:10                                                           ` João Távora
2020-04-18 23:36                                                             ` João Távora
2020-04-19  0:05                                                               ` Dmitry Gutov
2020-04-19  9:25                                                                 ` João Távora
2020-04-19 13:57                                                                   ` Dmitry Gutov
2020-04-19 16:31                                                                     ` João Távora
2020-04-19 16:38                                                                       ` Dmitry Gutov
2020-04-19  2:44                                                               ` Stefan Monnier
2020-04-19 14:01                                                               ` Eli Zaretskii
2020-04-19 20:17                                                                 ` João Távora
2020-04-20 13:41                                                                   ` Eli Zaretskii
2020-04-20 14:02                                                                     ` João Távora
2020-04-20 16:05                                                                       ` Eli Zaretskii
2020-05-01 11:10                                                                         ` João Távora
2020-04-18 11:55                                                     ` Basil L. Contovounesios
2020-04-18 12:03                                                       ` João Távora
2020-04-19  0:20                                                         ` Basil L. Contovounesios
2020-04-19 11:41                                                           ` João Távora
2020-04-18 23:42                                                 ` Juri Linkov
2020-04-19  9:16                                                   ` João Távora
2020-04-17 14:44                               ` Basil L. Contovounesios
2020-04-17 16:04                                 ` Stefan Monnier
2020-04-17  6:23                   ` Eli Zaretskii
2020-04-18 23:36                     ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h7xmipi7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=40573@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=joaotavora@gmail.com \
    --cc=juri@linkov.net \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.