bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#68246: 30.0.50; Add non-TS mode as extra parent of TS modes


From: Dmitry Gutov
Subject: bug#68246: 30.0.50; Add non-TS mode as extra parent of TS modes
Date: Mon, 8 Jan 2024 22:05:43 +0200
User-agent: Mozilla Thunderbird

On 08/01/2024 21:57, Eli Zaretskii wrote:
From: Stefan Kangas<stefankangas@gmail.com>
Date: Mon, 8 Jan 2024 11:18:41 -0800
Cc:68246@debbugs.gnu.org,casouri@gmail.com,joaotavora@gmail.com

Eli Zaretskii<eliz@gnu.org>  writes:

Please don't call it "language".  That'd be confusing.  LSP is about
programming languages, so "language" is natural there.  But in Emacs,
a major mode is more general than that.  For example, it is not
unthinkable to consider mail-mode to be the extra-parent of
message-mode (or vice versa) -- but what is the "language" in that
case?
Isn't the language for such modes in this paradigm just the empty set?
No.  The "language" there is "text", except that it's silly to call
that "language".

If it was just "text", we wouldn't need different highlighting rules in message-mode or log-edit-mode, would we?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]