unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* syntax table not greedy enough
@ 2004-10-27 20:18 Spike Ilacqua
  0 siblings, 0 replies; only message in thread
From: Spike Ilacqua @ 2004-10-27 20:18 UTC (permalink / raw)


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

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i386--freebsd, X toolkit, Xaw3d scroll bars)
 of 2004-02-16 on net.indra.com
configured using `configure  --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --prefix=/usr/local i386--freebsd'
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: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

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

If you have a comment syntax that uses the same charater as the start
of a single and a two-character comment, ie: "| " and "|* [...] *| are
both types of comments, Emacs fails to reconize the second form
because it stops when it sees the first.  This syntax-table:


      (modify-syntax-entry ?\n ">" st)
      (modify-syntax-entry ?\| "< 14" st)
      (modify-syntax-entry ?\* ". 23b" st)

describes the above syntax, but does not work because "|" overides
"|*".  Because comment type "b" is not reconized multi-line comments
do not work and in-line comments are extended past "*|" to the end of
the line.

Thanks,

->Spike

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-27 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-27 20:18 syntax table not greedy enough Spike Ilacqua

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).