From: Marcin Borkowski <mbork@mbork.pl>
To: Teemu Likonen <tlikonen@iki.fi>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: How to diff (La)TeX files
Date: Sat, 09 May 2020 13:29:17 +0200 [thread overview]
Message-ID: <87pnbdjqia.fsf@mbork.pl> (raw)
In-Reply-To: <87v9l5qv2i.fsf@iki.fi>
On 2020-05-09, at 12:08, Teemu Likonen <tlikonen@iki.fi> wrote:
> Marcin Borkowski [2020-05-09T10:38:01+02] wrote:
>
>> when I diff LaTeX files, I get "double font-lock" - both AucTeX's and
>> diff's. How would I turn off AUCTeX's font-lock?
>
> (setq TeX-install-font-lock 'ignore)
Thanks, but I'm afraid you misunderstood me. I _do_ want font lock in
my AUCTeX buffers. I don't want it when diffing LaTeX files (since they
become completely unreadable with all the colors then).
Bonus points if I could easily turn TeX font-lock on and off, leaving
the diff font-lock on all the time.
Best,
--
Marcin Borkowski
http://mbork.pl
next prev parent reply other threads:[~2020-05-09 11:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-09 8:38 How to diff (La)TeX files Marcin Borkowski
2020-05-09 10:08 ` Teemu Likonen
2020-05-09 11:29 ` Marcin Borkowski [this message]
2020-05-10 22:19 ` Stefan Monnier
2020-05-10 23:13 ` Marcin Borkowski
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=87pnbdjqia.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=help-gnu-emacs@gnu.org \
--cc=tlikonen@iki.fi \
/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).