* bug#18064: perl-mode
@ 2014-07-20 13:04 schwiege
2014-07-21 3:40 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: schwiege @ 2014-07-20 13:04 UTC (permalink / raw)
To: 18064
[-- Attachment #1: Type: text/plain, Size: 4742 bytes --]
|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)
|||
[-- Attachment #2: Type: text/html, Size: 6553 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#18064: perl-mode
2014-07-20 13:04 bug#18064: perl-mode schwiege
@ 2014-07-21 3:40 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2014-07-21 3:40 UTC (permalink / raw)
To: 18064-done
Version: 24.1
schwiege@gmx.net wrote:
> #!/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
Thanks for the report; but, by experiment, this was fixed in Emacs 24.1.
So please upgrade (current is 24.3).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-21 3:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-20 13:04 bug#18064: perl-mode schwiege
2014-07-21 3:40 ` Glenn Morris
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.