unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Plain TeX mode
Date: Wed, 03 Dec 2003 16:14:35 GMT	[thread overview]
Message-ID: <jwvfzg1lw35.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: vg03cc2h9u1.fsf@legolas.imf.au.dk

> Having successfully gotten an answer I will try to ask another
> question: I write a lot in danish where we have the letters æ, ø, å,
> Æ, Ø, Å (in Plain TeX: \ae, \o, \aa, etc.). I do known how to make TeX
> understand them directly, but I would also like Emacs to properly
> colour my macro names. Currently "\red" is coloured light blue; but
> with "\rød" the backslash and "r" are colored light blue but the "ø"
> and "d" are not. Is there some way I can tell Emacs to include these
> letters into its colour coding mechanism?

Change the font-lock-keywords patterns.
It's not very convenient, tho.

But I'm wondering: does TeX understand such a macro name (i.e. does it
consider ø to be a letter that can be used inside a macro name) ?
If it does, then your problem is not just a preference but a bug
which I should fix.


        Stefan

  reply	other threads:[~2003-12-03 16:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-02 20:07 Plain TeX mode Emil Hedevang Lohse
2003-12-03  2:05 ` Tim Heaney
2003-12-03  3:13   ` Emil Hedevang Lohse
2003-12-03 16:14     ` Stefan Monnier [this message]
2003-12-04  6:57       ` Emil Hedevang Lohse
2003-12-04 19:05         ` Stefan Monnier
2003-12-04 23:43           ` Emil Hedevang Lohse
2003-12-03  2:32 ` Sean Richards

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=jwvfzg1lw35.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
    --to=monnier@iro.umontreal.ca \
    /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).