From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Remove auctex from emacs Date: Mon, 12 Sep 2022 14:16:59 +0200 Message-ID: <874jxc7pok.fsf@mbork.pl> References: <878rmp6p1a.fsf@mbork.pl> 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="17886"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.1.0; emacs 29.0.50 Cc: uzibalqa via Users list for the GNU Emacs text editor To: uzibalqa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 12 14:19:15 2022 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 1oXiPD-0004TG-OO for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 14:19:15 +0200 Original-Received: from localhost ([::1]:40530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXiPC-0004Jc-SQ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 08:19:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXiNH-0004H8-5G for help-gnu-emacs@gnu.org; Mon, 12 Sep 2022 08:17:15 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:37492) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXiNC-0003TQ-Kz for help-gnu-emacs@gnu.org; Mon, 12 Sep 2022 08:17:14 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 4B10BE6D90; Mon, 12 Sep 2022 14:17:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cCpcrgWyq6te; Mon, 12 Sep 2022 14:17:00 +0200 (CEST) Original-Received: from localhost (83.21.0.95.ipv4.supernova.orange.pl [83.21.0.95]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 3B351E61F8; Mon, 12 Sep 2022 14:17:00 +0200 (CEST) In-reply-to: Received-SPF: pass client-ip=195.110.48.8; envelope-from=mbork@mbork.pl; helo=mail.mojserwer.eu X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.help:139419 Archived-At: On 2022-09-12, at 12:01, uzibalqa wrote: > ------- Original Message ------- > On Monday, September 12th, 2022 at 7:16 AM, Marcin Borkowski wrote: > > >> On 2022-09-11, at 21:19, uzibalqa uzibalqa@proton.me wrote: >>=20 >> > How can remove auctex from emacs so that i can use tex-mode and latex-= mode ? >>=20 >>=20 >> Out of curiosity: why? Is there anything that AUCTeX doesn't do that >> the built-in tex-mode/latex-mode does? I never used the built-in mode, >> but I read its documentation (many years ago), and it seems rather >> simplistic. OTOH, I used AUCTeX for many, many years (at least 15 years >> - now I rarely do anything in (La)TeX), and it has always served me well >> (maybe apart from rather poor ConTeXt support, idk if that improved - >> but it still wasn't very bad). >>=20 >> Best, > > Whatever it is, major-modes are not supposed to work that way. Not sure what do you mean. Worked for me for well over a decade. I assume it might bother you that it doesn't seem to have an entry in `auto-mode-alist' =E2=80=93 but that makes sense given that the same file n= ame pattern ("\\.tex$") corresponds to several modes (plain TeX/LaTeX/ConTeXt/possible others, like AMSTeX). You could argue that there should be one major AUCTeX mode and plain TeX/LaTeX/etc. minor modes =E2=80=93 but it is what it is, and I guess it's way too late to chan= ge that. Probably `magic-mode-alist' could help =E2=80=93 but I have a hunch that it= 's more recent than AUCTeX' mechanism for major mode selection. (It was defined in Emacs 22.1 =E2=80=93 I'm 99% sure AUCTeX was around much earlier. I seem to vaguely recollect the first Emacs version I used to be 21 (=C2=B11), and I almost certainly attended a presentation about AUCTeX befo= re I even used Emacs.) Best, --=20 Marcin Borkowski http://mbork.pl