From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: Mode hooks for latex and tex files Date: Sun, 01 Dec 2024 21:20:20 +0000 Message-ID: References: Reply-To: Heime 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="11078"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jean Louis , Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 01 22:21:11 2024 Return-path: Envelope-to: geh-help-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 1tHrNP-0002l0-7U for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 01 Dec 2024 22:21:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHrMs-0001h3-9t; Sun, 01 Dec 2024 16:20:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHrMq-0001gm-If for help-gnu-emacs@gnu.org; Sun, 01 Dec 2024 16:20:36 -0500 Original-Received: from mail-10699.protonmail.ch ([79.135.106.99]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHrMo-0002nL-Km for help-gnu-emacs@gnu.org; Sun, 01 Dec 2024 16:20:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1733088024; x=1733347224; bh=72fHsAkWPf87UlqhyUlsk63g0G/afW/Vo/NTsAZQJ4U=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=yiy9lLHDPODGcuBKESi+8xB58s3KfOvioyINJbpVmPR4N++KH+pWGIyfxTovmolKH nXnsljfxguC+aTrYJTmiardIjIgdgRW50+jaN+ACJVhcnB08TuAlesyAoT7LVDFFzx dnHLyyLIPSAncYM8YPSc/vpyqNRfRXE3+eBonuqKi0RpsHPopAjMN0tENzujJTkrml q7qZf7j4pOEDqtgWYWtrldhLWO+p2an7KdTqTrpdmt/oshXX+mbFFlhEr7MG4D1x4h cCTfLaOQXKzX+q0HtJrQckgvLhWlLXj0IEHood6AdZm7Lm2MV2Q9jnyOx4gaFKABv+ x8OA2GdrKEhjg== In-Reply-To: Feedback-ID: 57735886:user:proton X-Pm-Message-ID: 67b2dced21e6b32a5f19cedc89971a1a8acb8642 Received-SPF: pass client-ip=79.135.106.99; envelope-from=heimeborgia@protonmail.com; helo=mail-10699.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TO_EQ_FM_DIRECT_MX=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148481 Archived-At: On Monday, December 2nd, 2024 at 2:58 AM, Heime via Users list for the GNU = Emacs text editor wrote: > Sent with Proton Mail secure email. >=20 > On Monday, December 2nd, 2024 at 2:43 AM, Jean Louis bugs@gnu.support wro= te: >=20 > > * Heime via Users list for the GNU Emacs text editor help-gnu-emacs@gnu= .org [2024-11-30 22:57]: > >=20 > > > What are the mode hooks for latex and tex files? > > >=20 > > > Using latex and tex is currently very non-intuitive, with things > > > like LaTex-mode, TeX-mode. This mixed capitalisation is all too > > > confusing because ordinary users see only a latex or tex configuratio= n > > > for their modes, rather than the nuances of capitalisation changes. > >=20 > > You could do: > >=20 > > M-x find-library RET latex TAB to see what is available > >=20 > > Then go into the library and search for "hook" > >=20 > > Then you position cursor on name of the hook and C-h v or C-h f to desc= ribe variable or function. > >=20 > > You need to learn to use help functions within Emacs, you will otherwis= e never get out of problems. > >=20 > > -- > > Jean Louis >=20 >=20 > I do not see how that would be a productive endeavour, going through the = libraries to figure > out what might be going on. Emacs should have just a standard latex and t= ex modes. And other > libraries should start with the library name as emacs is supposed to requ= ire, instead of playing > around with changes in capitalisation to do different things. The whole t= hing becomes confusion > 101. >=20 > The design should be not to get others into problems, not about encouragi= ng them to hack around > trying to get out of emacs self-inflicted ones! What are the built-in default modes fol latex and tex? =20