[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: MetaPost syntax highlighting broken]

From: Richard Stallman
Subject: address@hidden: MetaPost syntax highlighting broken]
Date: Wed, 02 Mar 2005 06:23:15 -0500

Does anyone understand the features of Font Lock enough to
implement proper handling or btex...etex?

------- Start of forwarded message -------
X-Injected-Via-Gmane: http://gmane.org/
To: address@hidden
From: Stephan Hennig <address@hidden>
Date: Tue, 01 Mar 2005 01:19:01 +0100
X-Gmane-NNTP-Posting-Host: pd9e85e3b.dip0.t-ipconnect.de
X-Accept-Language: de-DE, de, en-us, en
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner: Found to be clean
X-MailScanner-From: address@hidden
X-MailScanner-To: address@hidden
Subject: MetaPost syntax highlighting broken
Reply-To: address@hidden
Sender: address@hidden
X-Spam-Status: No, hits=1.4 required=5.0
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 2.55 (

This is a multi-part message in MIME format.
- --------------090507090802010506050000
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Load the attached file using 'C-x C-f mpcoloring.mp RET'.

The double quote inside btex .. etex is identified as a MetaPost string
boundary where it shouldn't. All subsequent text until the end of the
file is colored as belonging to a string where, in fact, there is no
string at all. (The "| is defined in package babel to break potential
ligatures similar to \/.)

Expected behavior:
Characters inside btex/verbatimtex .. etex should be colored according
to tex file rules.

Stephan Hennig

In GNU Emacs (i386-mingw-nt5.1.2600)
 of 2005-01-30 on NONIQPC
Distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.3) --cflags
- -I../../jpeg-6b-3/include -I../../libpng-1.2.8/include
- -I../../tiff-3.6.1-2/include -I../../xpm-nox-4.2.0/include
- -I../../zlib-1.2.2/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DEU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: MetaPost

Minor modes in effect:
  delete-selection-mode: t
  pc-selection-mode: t
  tool-bar-mode: t
  encoded-kbd-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> C-x C-f <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> h <tab>
<tab> o <tab> l o a <tab> <backspace> <backspace> a
<tab> m e t a p <tab> m p c <tab> m <tab> <return>
<help-echo> M-x e m a <tab> r e <tab> p <tab> <backspace>
<backspace> <backspace> r e <backspace> <tab> <tab>
<backspace> <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> r e
<tab> p <tab> o <tab> r t <tab> <return>

Recent messages:
Loading delsel...done
Loading font-lock...done
Loading jit-lock...done
Making completion list...
Loading help-mode...done
Loading meta-mode...done
Making completion list...
call-interactively: Text is read-only
Making completion list... [3 times]
Loading emacsbug...done

- --------------090507090802010506050000
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;

  label(btex Brief"|inhalt etex, origin);

- --------------090507090802010506050000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Emacs-pretest-bug mailing list

- --------------090507090802010506050000--
------- End of forwarded message -------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]