Subject: bug#10463: closed (Bug #10463 fixed)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 11 Jan 2012 22:46:02 +0000

Your bug report

#10463: 24.0.92; c-literal-limits out of range

which was filed against the emacs,cc-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
10463: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10463
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Bug #10463 fixed
From: Alan Mackenzie <[email-masked]>
To: [email-masked]
Date: Wed, 11 Jan 2012 22:38:15 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Bug fixed in revision 106849.

-- 
Alan Mackenzie (Nuremberg, Germany).

Subject: 24.0.92; c-literal-limits out of range
From: martin rudalics <[email-masked]>
To: Bug-Gnu-Emacs <[email-masked]>
Date: Mon, 09 Jan 2012 11:13:35 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

For quite some time, when editing c-mode buffers I get errors which
typically look like:

Debugger entered--Lisp error: (args-out-of-range 170988 178401)
   parse-partial-sexp(170988 178401)
   c-literal-limits(nil nil t)
   c-indent-new-comment-line(t)
   default-indent-new-line(t)
   do-auto-fill()
   apply(do-auto-fill nil)
   c-mask-paragraph(nil t do-auto-fill)
   c-do-auto-fill()
   self-insert-command(1)
   call-interactively(self-insert-command nil nil)

At this time the buffer is visibly narrowed - the arguments of
`parse-partial-sexp' were apparently within (point-min) and (point-max)
of the widened buffer but the second argument was likely after the end
of the the narrowed buffer.

Moreover, the buffer was no more associated with the file I was trying
to edit, so reverting the buffer was impossible, undo information had
been discarded, killing the buffer was possible without asking.

In GNU Emacs 24.0.92.1 (i386-mingw-nt5.1.2600)
  of 2012-01-08 on NESTOR
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt'

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: ENU
   value of $XMODIFIERS: nil
   locale-coding-system: cp1252
   default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
   shell-dirtrack-mode: t
   scroll-restore-mode: t
   regexp-lock-mode: t
   eldoc-header-mode: t
   show-paren-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   temp-buffer-resize-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug
-report>

Recent messages:
Loading paren...done
Loading vc-cvs...done
Loading vc-bzr...done
With .emacs from "2012-01-09 10:52:57 martin"

Load-path shadows:
None found.

Features:
(shadow gnus-util mail-extr message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
hippie-exp dabbrev emacsbug cus-edit wid-edit cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-bzr
add-log speck elp cl local-tags windmove info-look find-func
elinfo-support elinfo texinfo info shell pcomplete comint ring vc-cvs
sidebar easymenu bookmark pp sort m&d scroll-restore regexp-lock
easy-mmode time-stamp eldoc help-fns find-dired dired regexp-opt
jka-compr paren cus-start cus-load avoid time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win
w32-vars tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer button
faces cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process multi-tty emacs)