From: Ralf Angeli <dev.null@iwi.uni-sb.de>
Subject: Re: A question about Syntax highlighting, different modes.
Date: Mon, 11 Jul 2005 22:46:36 +0200 [thread overview]
Message-ID: <42d2daab$0$18646$14726298@news.sunsite.dk> (raw)
In-Reply-To: mailman.2829.1121111625.2857.help-gnu-emacs@gnu.org
* Jim Zhang (2005-07-11) writes:
> I am using Emacs for Mac to edit some latex files. And when I click
> "syntax highlight" from the menu, or set "M_x font_lock_mode". Emacs
> gives me a really fancy kind of highlighting scheme.
> I believe it's some embedded latex mode or something.
Where do you have your Emacs from? Your description sounds like you
are running a CVS Emacs with AUCTeX enabled. The distributor should
be able to tell you if this is the case.
> For example, if you input "x^y", the y will be put in a smaller font
> and put on the top of x, which is nice. But it slows down the text
> input speed.
> I have to wait a while for my words to show up!
Assuming you are using AUCTeX, could you please prepare a bug report
by typing `M-x TeX-submit-bug-report RET' and send it to the given
address? Please include an example file which triggers the slow down.
> Another annoying thing. I don't know why? some time if I finish a $
> \begin{align}$ environment, I can not input "$" sign. It shows in the
> minibuffer: "math mode because of align, Use C_q $ to force a dollar
> sign"! Heck, what's wrong with it???
Don't you close an align environment with "\end{align}"?
> I tried "M_x text-mode", it 's way faster. I just really don't need
> all those fancy gadgets. What i need is a very very simple syntax
> hightlighting scheme that runs functionally for editing tex file.
> Like what i have used before in Unix. Nothing fancy that will eat up
> my memory, or anything that slows down the main purpose: writing!
>
> Does anyone have an idea how to handle this? How can I set up my
> syntax highlighting, without those fancy packages involved?
You can reduce the amount of content to be highlighted by customizing
the variable `font-lock-maximum-decoration'. For example, you can put
something like
(setq font-lock-maximum-decoration '((latex-mode . 1) (t . t)))
into your init file.
--
Ralf
next parent reply other threads:[~2005-07-11 20:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2829.1121111625.2857.help-gnu-emacs@gnu.org>
2005-07-11 20:46 ` Ralf Angeli [this message]
2005-07-12 3:42 ` A question about Syntax highlighting, different modes N. Raghavendra
2005-07-12 7:08 ` David Kastrup
2005-07-12 9:25 ` N. Raghavendra
2005-07-11 19:45 Jim Zhang
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='42d2daab$0$18646$14726298@news.sunsite.dk' \
--to=dev.null@iwi.uni-sb.de \
--cc=angeli@iwi.uni-sb.de \
/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.