From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: About LaTeX/TeX modes Date: Mon, 8 Aug 2022 06:56:48 -0700 Message-ID: <25329.5664.292702.538737@retriever.mtv.corp.google.com> References: <2025344680.2113516.1659863015529@mail1.libero.it> <868ro0b968.fsf@gnu.org> <86mtcfdfeh.fsf@gnu.org> 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="32622"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, angelo.g0@libero.it, emacs-devel@gnu.org To: arash@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 08 16:08:59 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oL3RD-0008FQ-Ih for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 16:08:59 +0200 Original-Received: from localhost ([::1]:47898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oL3RC-0004gN-5b for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Aug 2022 10:08:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oL3Fa-0003Ob-2i for emacs-devel@gnu.org; Mon, 08 Aug 2022 09:57:01 -0400 Original-Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:33578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oL3FY-0003r5-C9 for emacs-devel@gnu.org; Mon, 08 Aug 2022 09:56:57 -0400 Original-Received: by mail-pl1-x632.google.com with SMTP id w10so8679110plq.0 for ; Mon, 08 Aug 2022 06:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc; bh=qdjNiTjfz2r1FwAG8bv6ykWtNhQpr1z7r8AOCu39RE4=; b=RIhSqBqWLbZaumZh0duecHIyX6bFiXlJpchxDNI4lfHX0gK68Ie5sWvKW2/1ewlCqs fheeBsGVOTIsB54xGMRyJ5OBWfS0hqb79d7t705NWNKBrox9GGZssMgWu/U7Rx04nb5m uMbub+rd07XFVctnAOf7Kp4hFdx8mTNpm+Vzh9N76F+WLYWc01qNFiBpbfoyf6sApo+u ie6rF1KlXQhHiTY/x1NlRGmGCyWQ4wDY/GcuY2Tfxm/PcKQcyLsxrNHxLo3GUqJ6lPw0 wFFVZ396vhXZ21P69N34gxzLW7U6nhvQEaU05iR2QyIqDWe4PFBeGppfe7axryUaC/Pl i7GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc; bh=qdjNiTjfz2r1FwAG8bv6ykWtNhQpr1z7r8AOCu39RE4=; b=XojiKvvhxfKDxdvljsV+IktFEOIxjx9I8J3hlIykUBrG69Fpx3Y3H4Drg9Le9VrKF4 EWnIRj/5lyDbk9UtgBWFV2xadzk7XDmt/frV/RuilHswsXwVw545A31EJww+55hsBioF nuywPoRO3BUAlUrn7VMbuyFLPpcQzHLFNORwT67FG5StUsWjVU2MY3NNp9kt3Sc/Inji KUuVZJ+4cSfWxt5V9M0b+jxHZrEjfcf1Ikwh6HFyHWgxCg93eSI3hA1q+ra+KWtRgkPH oKrn8wKqXDf3KWInvh2u2QAq4Iol6Ckt20cxDKB05oKzLFfzxvP7fq2PTjcISED+hLgZ 1nDQ== X-Gm-Message-State: ACgBeo0MvsAZNDHavePTvkxoZ4J6O0QtbogZ0S8BxInNlv8JsTMQVIrx gjkUVjqwbstbPQ/K61SZS73T6FtoDkZevQ== X-Google-Smtp-Source: AA6agR5FB9wAWD9khrk+xudegIrFQEIgEcHpGA5Hg6du5O5pSvNzXrbskqBEzlg2PaQCWXK1tKZv4A== X-Received: by 2002:a17:903:447:b0:16e:cbe3:29de with SMTP id iw7-20020a170903044700b0016ecbe329demr18818161plb.65.1659967014257; Mon, 08 Aug 2022 06:56:54 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1612:3b01:6c4b:e53a:2a4e]) by smtp.gmail.com with ESMTPSA id cp17-20020a17090afb9100b001f207d1860fsm8163279pjb.45.2022.08.08.06.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Aug 2022 06:56:53 -0700 (PDT) In-Reply-To: <86mtcfdfeh.fsf@gnu.org> X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=raman@google.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293265 Archived-At: Could you say where/how you configured auctex to do the auto-insertion of the mode setting=3FArash Esbati writes: > "T.V Raman" writes: >=20 > > Not quite. > > Getting auctex-mode defined modes to become operational feels more= > > complex than it needs to be >=20 > For me, AUCTeX always inserts the mode into the local variables bloc= k > when I open a new file like: >=20 > %%% Local Variables: > %%% mode: latex > %%% TeX-master: t > %%% End: >=20 > or >=20 > %%% Local Variables: > %%% mode: latex > %%% TeX-master: "other-tex-file" > %%% End: >=20 > so the complexity behind the scenes shouldn't be visible to the user= s. >=20 > > and I've never understood (30+ years and counting) as to why Emacs= > > hasn't yet just made Auctex the default Tex editing package for em= acs; > > I note that we have adopted far newer packages as the default in m= ore > > recent times. >=20 > Getting AUCTeX into Emacs is still a mission statement in the RELEAS= E > file[1] which says: >=20 > Future development and additional information > --------------------------------------------- >=20 > AUCTeX is proceeding as a GNU project with the long-term intent of= > merging it into Emacs. For that reason, all new contributors need= to > assign copyright to their contributions to the FSF (the usual > procedure for Emacs contributors). >=20 > My personal view on this is that ELPA works fine for AUCTeX and the = goal > above isn't high on the todo list anymore. >=20 > > Many years ago I made the following my default first line in .tex = files: > > > > % foo.tex: -*- mode: LaTeX -*- > > > > and it works as in gets the mode from auctex -- but asking=20 > > describe-function about the mode still shows the one from the emac= s > > install, not from auctex. > > > > latex-mode is defaliased to=20 > > LaTeX-mode in tex-mode.el > > Library is file > > /usr/local/share/emacs/29.0.50/lisp/textmodes/tex-mode.elc >=20 > See above, a prop-line shouldn't be needed. But yes, AUCTeX loads > tex-mode.el and builds its functionality on top of it. >=20 > As a side note: I think tex-mode.el has still a user base, so replac= ing > it maybe upset some people. >=20 > Best, Arash >=20 > Footnotes: > [1] http://git.savannah.gnu.org/cgit/auctex.git/tree/RELEASE#n194 --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮