[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should yaml-ts-mode inherit from prog-mode?
From: |
Rudolf Schlatte |
Subject: |
Re: Should yaml-ts-mode inherit from prog-mode? |
Date: |
Fri, 03 Mar 2023 10:00:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) |
Philip Kaludercic <philipk@posteo.net> writes:
> Deriving from prog-mode or from text-mode doesn't mean much in practice.
> I see it as less of a formal taxonomy of programming languages, and more
> of a convenience measure to make changes that (vaguely speaking) "all
> programming modes" or "all text-related modes" have in common. E.g. I
> have this in my init.el:
>
> (add-hook 'text-mode-hook #'flyspell-mode)
> (add-hook 'prog-mode-hook #'flyspell-prog-mode)
Similarly, I use variable-width fonts for text mode buffers and fixed
width fonts for prog-mode buffers. Since in yaml indentation is
significant, it would be preferrable for me to have yaml-mode inherit
from prog-mode, if only for convenience's sake.
Re: Should yaml-ts-mode inherit from prog-mode?, Romanos Skiadas, 2023/03/02
- Re: Should yaml-ts-mode inherit from prog-mode?, Richard Stallman, 2023/03/02
- Re: Should yaml-ts-mode inherit from prog-mode?, Romanos Skiadas, 2023/03/04
- Re: Should yaml-ts-mode inherit from prog-mode?, Randy Taylor, 2023/03/19
- Re: Should yaml-ts-mode inherit from prog-mode?, Eli Zaretskii, 2023/03/20
- Re: Should yaml-ts-mode inherit from prog-mode?, Rudolf Schlatte, 2023/03/20
- Re: Should yaml-ts-mode inherit from prog-mode?, Brian Cully, 2023/03/20
- Re: Should yaml-ts-mode inherit from prog-mode?, Eli Zaretskii, 2023/03/20