emacs-devel
[Top][All Lists]
Advanced

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

Re: An anonymous IRC user's opinion


From: Eli Zaretskii
Subject: Re: An anonymous IRC user's opinion
Date: Tue, 19 Nov 2024 19:10:53 +0200

> Date: Tue, 19 Nov 2024 18:13:31 +0200
> Cc: johan.myreen@gmail.com, emacs-devel@gnu.org
> From: Dmitry Gutov <dmitry@gutov.dev>
> 
> On 19/11/2024 17:41, Eli Zaretskii wrote:
> >> Date: Tue, 19 Nov 2024 04:44:06 +0200
> >> Cc:johan.myreen@gmail.com,emacs-devel@gnu.org
> >> From: Dmitry Gutov<dmitry@gutov.dev>
> >>
> >>>> You wanted a user option - sure, no problem. But if taken the most
> >>>> straightforward approach, the option would only have effect after
> >>>> restart, and not on the current session. Otherwise it would need more
> >>>> information available somehow. You asked which data - the description
> >>>> was in the previous messages.
> >>> First, I still believe we can find a way of turning the enabled modes
> >>> on in the existing buffers.
> >> Existing buffers vs new buffers is not the main issue. Getting the
> >> auto-mode-alist or major-mode-alias-alist entries for modes that were
> >> previously "off" is something we'd need a registry for.
> > I don't think I follow: what are the problems with simply adding
> > associations to auto-mode-alist?
> 
> When treesit-enable-modes is nil?

No, when the user customizes it to specify some TS modes as preferred.



reply via email to

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