GNU bug report logs - #16110
perl-mode is electric, without an easy opt-out option

Previous Next

Package: emacs;

Reported by: Ivan Shmakov <ivan <at> siamics.net>

Date: Wed, 11 Dec 2013 13:03:02 UTC

Severity: minor

Done: Ivan Shmakov <ivan <at> siamics.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16110 in the body.
You can then email your comments to 16110 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16110; Package emacs. (Wed, 11 Dec 2013 13:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Shmakov <ivan <at> siamics.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 11 Dec 2013 13:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: submit <at> debbugs.gnu.org
Subject: perl-mode is electric, without an easy opt-out option 
Date: Wed, 11 Dec 2013 13:01:43 +0000
Package:  emacs
Severity: minor

	As currently implemented, the “electricity” of the Perl mode
	cannot be easily turned off, which is a problem as it doesn’t
	get the indentation right in some cases.

	I therefore suggest that an interactive command, similar to
	c-toggle-electric-state, be implemented for perl-mode, to switch
	the electricity on and off.

-- 
FSF associate member #7257




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16110; Package emacs. (Wed, 11 Dec 2013 14:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 16110 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Ivan Shmakov <ivan <at> siamics.net>
Cc: 16110 <at> debbugs.gnu.org
Subject: Re: bug#16110: perl-mode is electric, without an easy opt-out option
Date: Wed, 11 Dec 2013 09:53:21 -0500
> 	As currently implemented, the “electricity” of the Perl mode
> 	cannot be easily turned off, which is a problem as it doesn’t
> 	get the indentation right in some cases.

Please try the Emacs trunk version of perl-mode.  Its electricity has
been rewritten to work on top of (and be controlled by)
electric-indent-mode.


        Stefan




Reply sent to Ivan Shmakov <ivan <at> siamics.net>:
You have taken responsibility. (Wed, 11 Dec 2013 15:25:01 GMT) Full text and rfc822 format available.

Notification sent to Ivan Shmakov <ivan <at> siamics.net>:
bug acknowledged by developer. (Wed, 11 Dec 2013 15:25:03 GMT) Full text and rfc822 format available.

Message #13 received at 16110-done <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: 16110-done <at> debbugs.gnu.org
Subject: Re: bug#16110: perl-mode is electric, without an easy opt-out option
Date: Wed, 11 Dec 2013 15:24:39 +0000
>>>>> Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

 >> As currently implemented, the “electricity” of the Perl mode cannot
 >> be easily turned off, which is a problem as it doesn’t get the
 >> indentation right in some cases.

 > Please try the Emacs trunk version of perl-mode.  Its electricity has
 > been rewritten to work on top of (and be controlled by)
 > electric-indent-mode.

	Indeed, I’ve failed to see these changes in the code.  Thanks!

-- 
FSF associate member #7257




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jan 2014 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.