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

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

bug#57469: Missing information about all the modes that fall under prog-


From: uzibalqa
Subject: bug#57469: Missing information about all the modes that fall under prog-mode.
Date: Mon, 29 Aug 2022 11:53:40 +0000

------- Original Message -------
On Monday, August 29th, 2022 at 11:36 AM, Eli Zaretskii <eliz@gnu.org> wrote:


> > Cc: 57469@debbugs.gnu.org, uzibalqa uzibalqa@proton.me
> > From: Christopher Dimech dimech@gmx.com
> > Date: Mon, 29 Aug 2022 12:29:28 +0200
> > 
> > > > OP does not want examples, but the actual list of language major-modes.
> > 
> > Quite a list. If it is problematic to include in the manual, a built-in 
> > lisp function
> > could be introduced that returns this list. Would be useful.
> 
> 
> Not only is it problematic to include this in the manual, it will also
> be inaccurate in every Emacs session out there, because the above list
> cannot possibly include all the modes in 3rd-party packages out there.
> 
> Users who set such settings in the likes of prog-mode should
> understand what they are doing. If they are unsure which modes this
> will affect, they should do this in mode hooks of specific modes, noit
> in prog-mode.
> 
> I'm closing this bug because there's no bug here.
> 

It was a request for improvements.  I am using the hook but did not know which
modes might not be affected by it, whilst I am debugging a part of my elisp 
code.

I like the idea of calling a function.  At least get information only about 
built-in
language major modes.  Would still be much better than current situation.
 






reply via email to

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