all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jose Antonio Ortega Ruiz <jao@gnu.org>
To: emacs-pretest-bug@gnu.org
Cc: rfrancoise@debian.org
Subject: bug#5350: 23.1.91; error in c++-mode highlighting/indentation
Date: Sun, 10 Jan 2010 15:18:27 +0100	[thread overview]
Message-ID: <87tyuuujpo.fsf@newton.homeunix.net> (raw)


Hi, this is a bugs somewhere in c-mode syntactic analyser (or so it
seems). It happens to me in several circumstances; below i describe a
simple instance for a C++ file (i've seen it happening also in pure C
files).

1) Start emacs with -nw and -Q
2) Create a new C++ file, say test.cpp
3) Insert the following text:

/* Copyright (C) 2009, 2100 Foo Industries */

#include <libPlasma/c++/Pool.h>

4) When pressing the closing '>' an error occurs with the following
backtrace:

Debugger entered--Lisp error: (args-out-of-range 79 80)
  put-text-property(79 80 category c-cpp-delimiter)
  byte-code("\306 \x18\307\211\x19\x1a\307^[\310\211\x1c\x1d\310\211\x1e
\x1e\x0e\310\x1e\x0f\311\216\x0e\x10\x1e\x11\312\x0e\x11\211T\313\314$\210)\x0e\x12\x1e\x11\312\x0e\x11\211T\313\314$\210.\v\310\207" [modified buffer-undo-list inhibit-read-only inhibit-point-motion-hooks before-change-functions after-change-functions buffer-modified-p t nil ((byte-code "\b\204

             reply	other threads:[~2010-01-10 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-10 14:18 Jose Antonio Ortega Ruiz [this message]
2010-01-20 13:03 ` bug#5350: 23.1.91; error in c++-mode highlighting/indentation Alan Mackenzie
2010-01-20 13:03 ` Alan Mackenzie
2010-01-20 15:24   ` Chong Yidong
2010-01-20 15:24   ` Chong Yidong

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=87tyuuujpo.fsf@newton.homeunix.net \
    --to=jao@gnu.org \
    --cc=5350@debbugs.gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=rfrancoise@debian.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.