[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57470: fill-column icon on the ruler is wrongly placed
From: |
uzibalqa |
Subject: |
bug#57470: fill-column icon on the ruler is wrongly placed |
Date: |
Mon, 29 Aug 2022 14:53:14 +0000 |
------- Original Message -------
On Monday, August 29th, 2022 at 1:13 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Mon, 29 Aug 2022 12:04:43 +0000
> > From: uzibalqa uzibalqa@proton.me
> > Cc: 57470-done@debbugs.gnu.org
> >
> > > Entering Latex mode runs the hook ‘text-mode-hook’, then
> > > ‘tex-mode-hook’, and finally ‘latex-mode-hook’. When the special
> > > subshell is initiated, ‘tex-shell-hook’ is run.
> > >
> > > Note the reference to text-mode-hook.
> > >
> > > This is not a bug.
> >
> > It is very confusing. I thought it was related to prog-mode-hook (reason I
> > made request
> > for way to list associated modes). Looks like there is ever greater need
> > now for things
> > that help us without excessive need to go into internals. Am quite sure
> > that emacs internal
> > design is rather atrocious for even experienced programmers to understand
> > efficiently.
>
>
> You need to consult the documentation, yes.
"C-v text-mode-hook" really states that it is
"Normal hook run when entering Text mode and many related modes."
"Many related modes", basically tells you nothing.
I can understand your comment about keeping in mind that every mode for
something that looks like a programming language inherits from prog-mode.
But cannot understand any good comment to keep in mind regarding text-mode-hook.
Emacs should have some automatic mechanism that determines an association tree
on how modes extend to others.