all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Subject: [newsspam@web.de: MetaPost syntax highlighting broken]
Date: Wed, 02 Mar 2005 06:23:15 -0500	[thread overview]
Message-ID: <E1D6Rwh-00054C-IT@fencepost.gnu.org> (raw)

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: emacs-pretest-bug@gnu.org
From: Stephan Hennig <newsspam@web.de>
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: gebp-emacs-pretest-bug@m.gmane.org
X-MailScanner-To: emacs-pretest-bug@gnu.org
Subject: MetaPost syntax highlighting broken
Reply-To: mailing_list@web.de
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org
X-Spam-Status: No, hits=1.4 required=5.0
	tests=RCVD_IN_NJABL,RCVD_IN_ORBS,USER_AGENT_MOZILLA_UA,
	      X_ACCEPT_LANG,X_NJABL_DIALUP
	version=2.55
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

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 emacs-pretest-bug@gnu.org mailing
list.

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

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

Symptom:
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.

Thanks,
Stephan Hennig



In GNU Emacs 21.3.50.1 (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;
 name="mpcoloring.mp"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="mpcoloring.mp"

verbatimtex
\documentclass{article}
\usepackage[ngerman]{babel}
\usepackage{mathptmx}
\begin{document}
etex
prologues:=1;
beginfig(1);
  label(btex Brief"|inhalt etex, origin);
endfig;
end

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

_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

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

                 reply	other threads:[~2005-03-02 11:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=E1D6Rwh-00054C-IT@fencepost.gnu.org \
    --to=rms@gnu.org \
    /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.