From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Howells Newsgroups: gmane.emacs.bugs Subject: bug#18502: 24.4.50; perl-mode indentation problem Date: Thu, 18 Sep 2014 14:53:48 +0100 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 Message-ID: <20231.1411048428@warthog.procyon.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: ger.gmane.org 1411077163 24118 80.91.229.3 (18 Sep 2014 21:52:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Sep 2014 21:52:43 +0000 (UTC) Cc: dhowells@redhat.com To: 18502@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 18 23:52:37 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 1XUjcw-0006PR-3A for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Sep 2014 23:52:34 +0200 Original-Received: from localhost ([::1]:53982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUjcv-0007N6-O8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Sep 2014 17:52:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUjcd-000751-Fk for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 17:52:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUjcW-00025U-Ux for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 17:52:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUjcW-0001xY-RX for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 17:52:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XUjcR-0008DF-HG for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 17:52:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Howells Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Sep 2014 21:52:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18502 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.141107709531510 (code B ref -1); Thu, 18 Sep 2014 21:52:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Sep 2014 21:51:35 +0000 Original-Received: from localhost ([127.0.0.1]:44859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUjbx-0008C3-M0 for submit@debbugs.gnu.org; Thu, 18 Sep 2014 17:51:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53089) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XUcA9-0002vL-08 for submit@debbugs.gnu.org; Thu, 18 Sep 2014 09:54:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUcA2-0000s1-Jj for submit@debbugs.gnu.org; Thu, 18 Sep 2014 09:54:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:50114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUcA2-0000rj-GO for submit@debbugs.gnu.org; Thu, 18 Sep 2014 09:54:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUc9s-00066c-9G for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 09:54:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XUc9m-0000gP-71 for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 09:54:04 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:20650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XUc9l-0000fl-Vn for bug-gnu-emacs@gnu.org; Thu, 18 Sep 2014 09:53:58 -0400 Original-Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8IDrpOk028972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 18 Sep 2014 09:53:51 -0400 Original-Received: from warthog.procyon.org.uk ([10.3.112.6]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s8IDrnZS028759; Thu, 18 Sep 2014 09:53:50 -0400 Content-ID: <20230.1411048428.1@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Thu, 18 Sep 2014 17:51:30 -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:93488 Archived-At: perl mode automatically indents substantially off to the right following the first sub definition that has an odd number of '$' characters in the argument spec, eg.: #!/usr/bin/perl -w sub add_funds($) { return 0; } The closing brace should be against the left margin, but isn't because it seems that perl-mode interprets '$)' in the sub line as being a variable expansion and not a variable spec and a closing bracket. In GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-09-17 on warthog.procyon.org.uk Windowing system distributor `Fedora Project', version 11.0.11404000 System Description: Fedora release 20 (Heisenbug) Configured using: `configure --prefix=/warthog/emacs64 --without-gconf --with-x-toolkit=athena --without-gsettings' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t display-time-mode: t tooltip-mode: t electric-indent-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 line-number-mode: t Recent input: M-. s-b C-s C-w C-w C-s C-s C-a C-s C-w C-w C-s C-s C-w C-w C-s C-s C-s C-s C-s C-r C-r C-s C-s C-s C-s C-s C-s C-l C-l C-x C-f C-# C-x C-f ~ / . e m s a C-s p e r l C-s C-s C-s C-s C-s C-x k C-x C-f s r e m 6 / s r l i s p e p r o g p e r C-x C-f C-g C-x C-f p e r p C-g C-x C-f C-g C-x v l C-x 1 M-x r e p o r Recent messages: Mark set Mark saved where search started C-# is undefined Quit Mark saved where search started Making completion list... [5 times] Quit Making completion list... Quit [2 times] Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message cl-macs dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils add-log log-view pcvs-util help-mode vc-annotate vc vc-dispatcher etags misearch multi-isearch rect hippie-exp comint ansi-color ring perl-mode sh-script smie executable jka-compr desktop frameset vc-git cl gv cl-loaddefs cl-lib cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs diff-mode easymenu easy-mmode time time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-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 nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 218584 8136) (symbols 48 23771 0) (miscs 40 205 1045) (strings 32 55442 7922) (string-bytes 1 1788377) (vectors 16 16976) (vector-slots 8 487454 6144) (floats 8 92 214) (intervals 56 12172 13) (buffers 976 36) (heap 1024 19728 2625))