From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [kbrint@hamachi.rufus.net: cperl-mode problem under emacs 22.1] Date: Wed, 08 Aug 2007 00:54:51 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1186548789 1808 80.91.229.12 (8 Aug 2007 04:53:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2007 04:53:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 08 06:53:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IIdXf-00088o-HI for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2007 06:53:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIdXe-0000Eo-TI for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2007 00:53:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IIdWX-0007u2-LV for emacs-devel@gnu.org; Wed, 08 Aug 2007 00:51:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IIdWX-0007te-1k for emacs-devel@gnu.org; Wed, 08 Aug 2007 00:51:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIdWW-0007tW-Tc for emacs-devel@gnu.org; Wed, 08 Aug 2007 00:51:56 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IIdWW-0001KU-L5 for emacs-devel@gnu.org; Wed, 08 Aug 2007 00:51:56 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IIdZL-00040W-U4; Wed, 08 Aug 2007 00:54:51 -0400 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:76181 Archived-At: Would someone please try to DTRT, then ack? Sometimes these problems are impossible to fix, or impossible without creating worse problems. But it would be good to try it and see, before giving up. ------- Start of forwarded message ------- X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=failed version=3.1.0 From: kevin brintnall To: bug-gnu-emacs@gnu.org Date: Tue, 7 Aug 2007 10:13:55 -0500 (CDT) Subject: cperl-mode problem under emacs 22.1 emacs -q C-x C-f file.pl M-x cperl-mode Type into buffer: $k =~ s{a}{b}; ^ the second open brace will fail to insert, generating message: Args out of range: 14, 15 This is with the built-in cperl-mode 5.22 in Emacs 22.1. This does not happen with emacs 21.x or 20.x. ################################### With cperl-mode 5.23 form ilya, I can type the {}'s, but the following error is generated instead: End of `s{ ... }{ ... }' string/RE not found: (scan-error Unbalanced parentheses 11 13) This causes fontification to fail. In GNU Emacs 22.1.1 (i386-pc-freebsd) of 2007-07-22 on hamachi.rufus.net configured using `configure '--with-x=no' '--infodir=${prefix}/info' '--mandir=${prefix}/man' '--prefix=/usr/local' 'i386-freebsd' 'build_alias=i386-freebsd' 'host_alias=i386-freebsd' 'target_alias=i386-freebsd' 'CC=cc' 'CFLAGS=-O2 -fno-strict-aliasing -pipe '' 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 Major mode: CPerl Minor modes in effect: menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x C-f f i l e . p l RET ESC x c p e r l - m o d e RET $ k SPC = ~ SPC m { a } { b } DEL DEL DEL ; RET $ k SPC = ~ SPC m { DEL DEL s } DEL [ DEL { a } { } b DEL DEL { { { { C-o C-o C-o C-a C-e DEL DEL DEL DEL s { a } { ESC x e m a c s - b u g RET C-a r e p o r e t - ESC DEL r e p o r t - RET Recent messages: Error during redisplay: (wrong-type-argument number-or-marker-p nil) End of `s{ ... }' string/RE not found: (scan-error Unbalanced parentheses 20 25) Error during redisplay: (wrong-type-argument number-or-marker-p nil) End of `s{ ... }