all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: latex-mode hook?
Date: Tue, 09 Sep 2014 08:06:00 -0400	[thread overview]
Message-ID: <jwv8ultovl7.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 20140909095151.706f3cdd@aga-netbook

> C-c C-e enum TAB RET

In plain latex-mode, it's C-c C-o enum TAB RET

> and you get

> \begin{enumerate}
>   (point)
> \end{enumerate}

And if you enable latex-electric-env-pair-mode, you can edit one of the
`enumerate' and the other one is kept in sync on the fly.

> How is that not a win?  And it even understands your \newcommand and
> \newenvironment invocations.

And that's the crucial difference between AUCTeX and plain latex-mode:
plain latex-mode does not even attempt to keep track of which packages
you use and which commands you define.

> In AUCTeX, if I have \usepackage[cp1250]{inputenc} near the beginning,
> the buffer is automatically put in the respective encoding.

This is also the case in plain latex-mode.  The two packages may differ
when it comes to the encoding used for the non-main files of
a multi-file LaTeX document, tho.


        Stefan




  reply	other threads:[~2014-09-09 12:06 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-07  7:43 latex-mode hook? Sharon Kimble
2014-09-07  7:49 ` Teemu Likonen
2014-09-07 13:22   ` Sharon Kimble
     [not found] ` <mailman.8384.1410076210.1147.help-gnu-emacs@gnu.org>
2014-09-07 18:49   ` Emanuel Berg
2014-09-08  9:10     ` Marcin Borkowski
2014-09-08 10:30       ` Thorsten Jolitz
     [not found]       ` <mailman.8449.1410172233.1147.help-gnu-emacs@gnu.org>
2014-09-08 11:46         ` Sebastien Vauban
2014-09-08 12:55           ` Rusi
2014-09-08 22:02             ` Emanuel Berg
2014-09-09  9:17           ` Sebastien Vauban
2014-09-09  9:34             ` Thorsten Jolitz
2014-09-09 12:39               ` Stefan Monnier
2014-09-08 21:57         ` Emanuel Berg
2014-09-09  0:49           ` Thorsten Jolitz
     [not found]           ` <mailman.8489.1410223819.1147.help-gnu-emacs@gnu.org>
2014-09-09  1:09             ` Emanuel Berg
2014-09-09  6:54               ` Thorsten Jolitz
2014-09-09 12:34           ` Stefan Monnier
     [not found]     ` <mailman.8444.1410167430.1147.help-gnu-emacs@gnu.org>
2014-09-08 21:54       ` Emanuel Berg
2014-09-09  7:51         ` Marcin Borkowski
2014-09-09 12:06           ` Stefan Monnier [this message]
2014-09-09 12:36             ` Tassilo Horn
2014-09-09 13:21               ` Stefan Monnier
2014-09-09 13:39                 ` Marcin Borkowski
2014-09-09 14:13                   ` Stefan Monnier
2014-09-09 17:00                     ` Marcin Borkowski
2014-09-09 17:24                       ` Stefan Monnier
     [not found]                       ` <mailman.8551.1410283491.1147.help-gnu-emacs@gnu.org>
2014-09-09 19:51                         ` Emanuel Berg
2014-09-09 13:14             ` Thorsten Jolitz
     [not found]         ` <mailman.8504.1410249128.1147.help-gnu-emacs@gnu.org>
2014-09-09 19:35           ` Emanuel Berg

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

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

  git send-email \
    --in-reply-to=jwv8ultovl7.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.