all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Emanuel Berg <moasenwood@zoho.eu>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Detect latexmk is running on currently buffer.
Date: Tue, 12 Oct 2021 21:10:47 +0800	[thread overview]
Message-ID: <CAGP6POJoe92tRyFH2tOQP6P+HJKGzAUp1TJekD5mtD2iv2QU_Q@mail.gmail.com> (raw)
In-Reply-To: <8735p6xutm.fsf@zoho.eu>

On Tue, Oct 12, 2021 at 9:00 PM Emanuel Berg via Users list for the
GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
>
> Hongyi Zhao wrote:
>
> >> I use the "LaTeX mode defined in ‘tex-mode.el’" and there
> >> is an important difference compared to yours, which is in
> >> line with our respective styles, ha.
> >
> > It's called `latex-mode', as shown by `C-h o latex-mode
> > RET':
> >
> > latex-mode is an interactive native compiled Lisp function
> > in ‘tex-mode.el’.
> >
> > (latex-mode)
>
> OK, so what is the difference between the other mode then?

https://www.gnu.org/software/emacs/manual/html_node/reftex/Installation.html

1.1.3 Entering RefTeX Mode

To turn RefTeX Mode on and off in a particular buffer, use M-x
reftex-mode RET. To turn on RefTeX Mode for all LaTeX files, add the
following lines to your .emacs file:

(add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex)   ; with Emacs latex mode

HZ



  reply	other threads:[~2021-10-12 13:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-12  7:54 Detect latexmk is running on currently buffer Hongyi Zhao
2021-10-12  9:32 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12 12:08   ` Hongyi Zhao
2021-10-12 12:58     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12 12:15   ` Hongyi Zhao
2021-10-12 12:59     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12 13:10       ` Hongyi Zhao [this message]
2021-10-12 13:23         ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-10-12 17:33           ` Emanuel Berg via Users list for the GNU Emacs text editor

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=CAGP6POJoe92tRyFH2tOQP6P+HJKGzAUp1TJekD5mtD2iv2QU_Q@mail.gmail.com \
    --to=hongyi.zhao@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /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.