emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

skip-chars-forward error "Invalid ISO C character class"


From: Robert J. Chassell
Subject: skip-chars-forward error "Invalid ISO C character class"
Date: Mon, 14 Jun 2004 17:51:05 -0400 (EDT)

Today's CVS Update, Mon, 2004 Jun 14  11:35 UTC
GNU Emacs 21.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.2.4)
started with

    /usr/local/src/emacs/src/emacs -Q

`texinfo-all-menus-update' fails on the following line because of a
bug in `skip-chars-forward':

    * Introduction::

To repeat the error, place point at the end of the line, after the ::
and evaluate 

  (skip-chars-forward "[:.,\t\n ]+")

When the line is in the *scratch* buffer, this error message will be
generated:

Debugger entered--Lisp error: (error "Invalid ISO C character class")
  skip-chars-forward("[:.,      \n ]+")
  eval((skip-chars-forward "[:.,        \n ]+"))
  eval-expression((skip-chars-forward "[:.,     \n ]+") nil)
  call-interactively(eval-expression)
  recursive-edit()
  byte-code("��        !� �\n!ˆƒB�ed\"\fVƒ6eb�\f�yˆ`db�\f�\fZyˆ
`|ˆ)�cˆeb��� \"� address@hidden"� ��!�����!ˆ� ˆ,�‡" [unread-command-char 
debugger-buffer debugger-args noninteractive debugger-batch-max-lines 
middlestart -1 pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 
"...\n" message "%s" buffer-string kill-emacs debug backtrace-debug 3 t 
debugger-reenable "" nil "" recursive-edit buffer-read-only standard-output 
inhibit-trace] 3)
  debug(error (error "Invalid ISO C character class"))
  skip-chars-forward("[:.,      \n ]+")
  eval((skip-chars-forward "[:.,        \n ]+"))
  eval-expression((skip-chars-forward "[:.,     \n ]+") nil)
  call-interactively(eval-expression)
  recursive-edit()
  byte-code("��        !� �\n!ˆƒB�ed\"\fVƒ6eb�\f�yˆ`db�\f�\fZyˆ
`|ˆ)�cˆeb��� \"� address@hidden"� ��!�����!ˆ� ˆ,�‡" [unread-command-char 
debugger-buffer debugger-args noninteractive debugger-batch-max-lines 
middlestart -1 pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 
"...\n" message "%s" buffer-string kill-emacs debug backtrace-debug 3 t 
debugger-reenable "" nil "" recursive-edit buffer-read-only standard-output 
inhibit-trace] 3)
  debug(error (error "Invalid ISO C character class"))
  skip-chars-forward("[:.,      \n ]+")
  eval((skip-chars-forward "[:.,        \n ]+"))
  eval-expression((skip-chars-forward "[:.,     \n ]+") nil)
  call-interactively(eval-expression)


The bug produces that error when the line is in the *scratch* buffer
with the English language environment as reported by 
(describe-language-environment nil)

In a Texinfo mode buffer, with the same English language environment,
a shorter error message is produced:

Debugger entered--Lisp error: (error "Invalid ISO C character class")
  skip-chars-forward("[:.,      \n ]+")
  eval((skip-chars-forward "[:.,        \n ]+"))
  eval-expression((skip-chars-forward "[:.,     \n ]+") nil)
  call-interactively(eval-expression)


`texinfo-all-menus-update' succeeds if you first remove all the menus
from the Texinfo file that you are updating.

-- 
    Robert J. Chassell                         Rattlesnake Enterprises
    As I slowly update it,                     address@hidden
        I rewrite a "What's New" segment for   http://www.rattlesnake.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]