all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#5350: 23.1.91; error in c++-mode highlighting/indentation
@ 2010-01-10 14:18 Jose Antonio Ortega Ruiz
  2010-01-20 13:03 ` Alan Mackenzie
  2010-01-20 13:03 ` Alan Mackenzie
  0 siblings, 2 replies; 5+ messages in thread
From: Jose Antonio Ortega Ruiz @ 2010-01-10 14:18 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-20 15:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-10 14:18 bug#5350: 23.1.91; error in c++-mode highlighting/indentation Jose Antonio Ortega Ruiz
2010-01-20 13:03 ` Alan Mackenzie
2010-01-20 13:03 ` Alan Mackenzie
2010-01-20 15:24   ` Chong Yidong
2010-01-20 15:24   ` Chong Yidong

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.