help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remove auctex from emacs


From: uzibalqa
Subject: Re: Remove auctex from emacs
Date: Mon, 19 Sep 2022 17:35:16 +0000

------- Original Message -------
On Monday, September 19th, 2022 at 5:15 PM, Marcin Borkowski <mbork@mbork.pl> 
wrote:


> On 2022-09-12, at 15:18, uzibalqa uzibalqa@proton.me wrote:
> 
> > ------- Original Message -------
> > On Monday, September 12th, 2022 at 12:16 PM, Marcin Borkowski 
> > mbork@mbork.pl wrote:
> > 
> > > 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). 

Correct, that it disregards `auto-mode-alist'.

> > > You could argue that there should be one major AUCTeX mode and plain 
> > > TeX/LaTeX/etc. minor
> > > modes – 

As there can be many modes, one mode should not take over any other mode.

> > > but it is what it is, and I guess it's way too late to change that. 

This is where we disagree.  There is never a time to say it is too late to 
change.
When it is time to change, the change should be made to happen.

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.)
> > 
> > There are too many tex and latex packages today, making the original design 
> > quite inadequate,
> > particularly with the emergence of cdlatex.
> 
> 
> Interesting. I've been using AUCTeX a lot for many years until about
> 2018, when I left academia. Since then I've been using it less often,
> but I still do from time to time. I didn't notice any major
> inadequacies (there are - and always have been - minor annoyances).
> What are the problems you mean?
> 
> Best,
> 
> --
> Marcin Borkowski
> http://mbork.pl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]