From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: lenfestj@networksubscriptions.com (Aaron Lenfestey) Newsgroups: gmane.emacs.bugs Subject: Perl Indentation Date: Thu, 7 Aug 2003 14:44:52 -0400 (EDT) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030807184452.7114E328225@everest.networksubscriptions.com> NNTP-Posting-Host: deer.gmane.org X-Trace: main.gmane.org 1060282425 24583 80.91.224.253 (7 Aug 2003 18:53:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2003 18:53:45 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 20:54:09 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19kpto-0002Pb-00 for ; Thu, 07 Aug 2003 20:54:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19kpqr-0007I2-Gn for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2003 14:51:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19kpqn-0007Fh-Jo for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2003 14:51:01 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19kpks-00057V-K7 for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2003 14:45:25 -0400 Original-Received: from [199.95.56.245] (helo=everest.networksubscriptions.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19kpks-00055i-7l for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2003 14:44:54 -0400 Original-Received: by everest.networksubscriptions.com (Postfix, from userid 1005) id 7114E328225; Thu, 7 Aug 2003 14:44:52 -0400 (EDT) Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list 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 Xref: main.gmane.org gmane.emacs.bugs:5505 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5505 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.2 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-04-24 on raven, modified by Debian configured using `configure i386-linux --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif' 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 Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Emacs is not correctly indenting my perl. As in the example, it too much indents a line following a statement including '::'. { mylib::perlfunc(); mylib::perlfunc(); } A minor change causes correct behavior: { mylibperlfunc(); mylib::perlfunc(); } Also, note that correct behavior is exhibited without the enclosing {}. Recent input: SPC ; ; M-x r e p o r t - b u g r e p Recent messages: Loading font-lock...done Loading mwheel...done For information about the GNU Project and its goals, type C-h C-p. service_export.pl has auto save data; consider M-x recover-file Loading perl-mode...done Auto-saving...done Auto-saving...done Making completion list... Loading view...done Loading emacsbug...done