From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57470: fill-column icon on the ruler is wrongly placed Date: Mon, 29 Aug 2022 14:53:14 +0000 Message-ID: References: <834jxvxpcs.fsf@gnu.org> <83tu5vw5ue.fsf@gnu.org> Reply-To: uzibalqa Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4261"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57470-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 29 16:54:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSg9U-0000wg-Ek for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 16:54:12 +0200 Original-Received: from localhost ([::1]:49494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSg9S-00061l-WE for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Aug 2022 10:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSg9K-00061b-MY for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 10:54:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSg9K-0004uf-Dz for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 10:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSg9K-0002mQ-9p for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2022 10:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Aug 2022 14:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57470 X-GNU-PR-Package: emacs Original-Received: via spool by 57470-done@debbugs.gnu.org id=D57470.166178481710650 (code D ref 57470); Mon, 29 Aug 2022 14:54:02 +0000 Original-Received: (at 57470-done) by debbugs.gnu.org; 29 Aug 2022 14:53:37 +0000 Original-Received: from localhost ([127.0.0.1]:33396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSg8v-0002li-1A for submit@debbugs.gnu.org; Mon, 29 Aug 2022 10:53:37 -0400 Original-Received: from mail-40135.protonmail.ch ([185.70.40.135]:38991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSg8t-0002lR-Ql for 57470-done@debbugs.gnu.org; Mon, 29 Aug 2022 10:53:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1661784809; x=1662044009; bh=aryQverH8PQT7lyfaSMCnw7uP76u4+f5jcsD7OM2PHs=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=bW/yXVRD06tHrWgyRg8Dx/amZfKPgL/Ezrg2gapVPxE6QAUF8jBbTSu9E2l3IJPkw L8AC6Rw/Gs7jzIMuVdSxJmHTb2jnCS2Yiz6EmPM6GYpcP6D5mcWvYNgNOZIqTHwb83 yZM4X5Fh15H9gJniJ7MLRZXUSLNAWJm51I1SOMjbGmoMVTivx2JOYVI1tF3mK1VvG0 cEpuOYfrozKB4mcnGFvhn3WDanOEZ8ve9dHMFIwWjGcLt6Jx+UxQxrwIx5P5Ao8Q7c gcEFiQhbnkzGXjPQ3cud6pDtkTZqukOUocFeaHdSj4C+k4I8IylAk5JqPmGbbnwWTg Ld3CBJX59QqjQ== In-Reply-To: <83tu5vw5ue.fsf@gnu.org> Feedback-ID: 52887082:user:proton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , uzibalqa Xref: news.gmane.io gmane.emacs.bugs:241031 Archived-At: ------- Original Message ------- On Monday, August 29th, 2022 at 1:13 PM, Eli Zaretskii wrote= : > > Date: Mon, 29 Aug 2022 12:04:43 +0000 > > From: uzibalqa uzibalqa@proton.me > > Cc: 57470-done@debbugs.gnu.org > >=20 > > > Entering Latex mode runs the hook =E2=80=98text-mode-hook=E2=80=99, t= hen > > > =E2=80=98tex-mode-hook=E2=80=99, and finally =E2=80=98latex-mode-hook= =E2=80=99. When the special > > > subshell is initiated, =E2=80=98tex-shell-hook=E2=80=99 is run. > > >=20 > > > Note the reference to text-mode-hook. > > >=20 > > > This is not a bug. > >=20 > > It is very confusing. I thought it was related to prog-mode-hook (reaso= n I made request > > for way to list associated modes). Looks like there is ever greater nee= d 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 understa= nd efficiently. >=20 >=20 > You need to consult the documentation, yes. "C-v text-mode-hook" really states that it is=20 "Normal hook run when entering Text mode and many related modes." "Many related modes", basically tells you nothing.=20 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 t= ree on how modes extend to others. =20