unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: uzibalqa <uzibalqa@proton.me>
Cc: uzibalqa via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: Re: Remove auctex from emacs
Date: Mon, 12 Sep 2022 14:16:59 +0200	[thread overview]
Message-ID: <874jxc7pok.fsf@mbork.pl> (raw)
In-Reply-To: <cDkaTYFeIfnBOH1ESxGoBseF_eJ4xCQEJabW4ouP9LhegkQMzPBY0R2ZF-PAeNutq_fYLxHO924tb9W7ueIgxCb4WBFZKvlI7mWypiGOtHo=@proton.me>


On 2022-09-12, at 12:01, uzibalqa <uzibalqa@proton.me> wrote:

> ------- Original Message -------
> On Monday, September 12th, 2022 at 7:16 AM, Marcin Borkowski <mbork@mbork.pl> wrote:
>
>
>> On 2022-09-11, at 21:19, uzibalqa uzibalqa@proton.me wrote:
>> 
>> > How can remove auctex from emacs so that i can use tex-mode and latex-mode ?
>> 
>> 
>> 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).
>> 
>> 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' – but that makes sense given that the same file name
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 – but it is what it is, and I guess it's way too late to change
that.

Probably `magic-mode-alist' could help – but I have a hunch that it's
more recent than AUCTeX' mechanism for major mode selection.  (It was
defined in Emacs 22.1 – I'm 99% sure AUCTeX was around much earlier.
I seem to vaguely recollect the first Emacs version I used to be 21
(±1), and I almost certainly attended a presentation about AUCTeX before
I even used Emacs.)

Best,

-- 
Marcin Borkowski
http://mbork.pl



  reply	other threads:[~2022-09-12 12:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 19:19 Remove auctex from emacs uzibalqa
2022-09-11 20:22 ` Pankaj Jangid
2022-09-11 20:35   ` uzibalqa
2022-09-12  4:21     ` Pankaj Jangid
2022-09-12 10:03       ` uzibalqa
2022-09-11 20:24 ` Jean Louis
2022-09-11 21:08   ` uzibalqa
2022-09-11 21:34     ` Jean Louis
2022-09-11 21:42       ` uzibalqa
2022-09-12  7:16 ` Marcin Borkowski
2022-09-12 10:01   ` uzibalqa
2022-09-12 12:16     ` Marcin Borkowski [this message]
2022-09-12 13:18       ` uzibalqa
2022-09-19 17:15         ` Marcin Borkowski
2022-09-19 17:35           ` uzibalqa
2022-09-20 16:29             ` Marcin Borkowski
2022-09-20 21:28               ` Emanuel Berg
2022-09-20 22:36               ` uzibalqa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jxc7pok.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=help-gnu-emacs@gnu.org \
    --cc=uzibalqa@proton.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).