From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: schwiege@gmx.net Newsgroups: gmane.emacs.bugs Subject: bug#18064: perl-mode Date: Sun, 20 Jul 2014 15:04:23 +0200 Message-ID: <53CBBE57.1080701@gmx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------050100030708030803030609" X-Trace: ger.gmane.org 1405878684 9427 80.91.229.3 (20 Jul 2014 17:51:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Jul 2014 17:51:24 +0000 (UTC) To: 18064@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 20 19:51:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X8vGX-0006P7-IZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Jul 2014 19:51:17 +0200 Original-Received: from localhost ([::1]:58521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8vGX-0002IG-6j for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Jul 2014 13:51:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8vGP-0002H5-0T for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2014 13:51:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X8vGI-0008Oj-TV for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2014 13:51:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8vGI-0008Oe-Pz for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2014 13:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X8vGI-0001zt-7P for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2014 13:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: schwiege@gmx.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Jul 2014 17:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18064 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14058786377623 (code B ref -1); Sun, 20 Jul 2014 17:51:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Jul 2014 17:50:37 +0000 Original-Received: from localhost ([127.0.0.1]:60534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X8vFr-0001yp-Ar for submit@debbugs.gnu.org; Sun, 20 Jul 2014 13:50:36 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47446) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X8qo1-0002g4-Dg for submit@debbugs.gnu.org; Sun, 20 Jul 2014 09:05:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X8qnq-0000bG-8X for submit@debbugs.gnu.org; Sun, 20 Jul 2014 09:05:28 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8qnq-0000bC-5i for submit@debbugs.gnu.org; Sun, 20 Jul 2014 09:05:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8qnk-0002of-IP for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2014 09:05:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X8qnf-0000XE-6C for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2014 09:05:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:56405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X8qne-0000WA-S1 for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2014 09:05:11 -0400 Original-Received: from [10.10.13.30] ([134.76.63.1]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MHHZT-1XLAkS0MWR-00E4FD for ; Sun, 20 Jul 2014 15:05:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 X-Provags-ID: V03:K0:OsIavsKBLhF5wV1QUkUVvhZu9Xk32KAEEq5vhQupx7up4IQUEGc Oy/YwDb7pcfeWiIQ02IbdAXZ2TNGswc7H5K9GV/7HWgs8wUHRh4xEhg5BkBXnk13UEhoadi zKZjyvjzFGC9L5dkiC/6rNmi3ibaYX5mAo6hg8OXohwG11hlHsLmIxK4Zb810cFBDozSkAE fGzfiKXSErmsruhLVnqgw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sun, 20 Jul 2014 13:50:32 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:91708 Archived-At: This is a multi-part message in MIME format. --------------050100030708030803030609 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit |From: schwiege@gmx.net To: bug-gnu-emacs@gnu.org Subject: 23.3; perl mode Date: Sun, 20 Jul 2014 14:55:19 +0200 Message-ID: <87silwur48.fsf@fuckupmobile.i-did-not-set--mail-host-address--so-tickle-me> --text follows this line-- no idea how it got to this ( working fine yesterday ), but right now, opening the following simple script in perl-mode leads to it incorrectly identifying a paren mismatch ( marked by <- HERE in the code ). This pretty much renders perl-mode unusable as I cannot even use hashes anymore. I have no idea of lisp ( shame on me ), but would prefer to continue using emacs and the perl-mode, since I am no fan of fancy colors all over ('cperl-mode'), so I would be most thankful for a fix. PS: the bug appears even without the comments :P code: #!/usr/bin/perl my $hash = { x => 1, y => 2 };# <- Here, the '}' closing bracket is reported as mismatch # not fun, since now all code coming after this is no longer parsed properly print "hash: ".$hash->{x}.", ".$hash->{y}."\n"; In GNU Emacs 23.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2013-05-17 on komainu, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11103000 configured using `configure '--build' 'i686-linux-gnu' '--build' 'i686-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.3/leim' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf' 'build_alias=i686-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Perl Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e e p o - r Recent messages: Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /home/erazor/matlab-emacs/matlab-load.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. normal-splash-screen: Opening directory: permission denied, /home/erazor/.emacs.d/auto-save-list/ Making completion list... [2 times] Load-path shadows: /usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell Features: (shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode easymenu view perl-mode matlab-load tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting x-toolkit x multi-tty emacs) ||| --------------050100030708030803030609 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: schwiege@gmx.net
To: bug-gnu-emacs@gnu.org
Subject: 23.3; perl mode
Date: Sun, 20 Jul 2014 14:55:19 +0200
Message-ID: <87silwur48.fsf@fuckupmobile.i-did-not-set--mail-host-address--so-tickle-me>
--text follows this line--
no idea how it got to this ( working fine yesterday ), but right now,
opening the following simple script in perl-mode leads to it incorrectly
identifying a paren mismatch ( marked by <- HERE in the code ).
This pretty much renders perl-mode unusable as I cannot
even use hashes anymore. I have no idea of lisp ( shame on me ), but
would prefer to continue using emacs and the perl-mode, since I am no
fan of fancy colors all over ('cperl-mode'), so I would be most thankful for a fix.
PS: the bug appears even without the comments :P

code:

#!/usr/bin/perl
my $hash = { x => 1, y => 2 };# <- Here, the '}' closing bracket is reported as mismatch
# not fun, since now all code coming after this is no longer parsed properly

print "hash: ".$hash->{x}.", ".$hash->{y}."\n";


In GNU Emacs 23.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2013-05-17 on komainu, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
configured using `configure  '--build' 'i686-linux-gnu' '--build' 'i686-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.3/leim' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf' 'build_alias=i686-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Perl

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<C-down> <C-down> M-x r e e <backspace> p <tab> o <tab>
- <backspace> r <tab> <return>

Recent messages:
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /home/erazor/matlab-emacs/matlab-load.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
normal-splash-screen: Opening directory: permission denied, /home/erazor/.emacs.d/auto-save-list/
Making completion list... [2 times]

Load-path shadows:
/usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
sha1 hex-util hashcash mail-utils emacsbug help-mode easymenu view
perl-mode matlab-load tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
font-render-setting x-toolkit x multi-tty emacs)

--------------050100030708030803030609--