--- Begin Message ---
Subject: |
perl-mode is electric, without an easy opt-out option |
Date: |
Wed, 11 Dec 2013 13:01:43 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#16110: perl-mode is electric, without an easy opt-out option |
Date: |
Wed, 11 Dec 2013 15:24:39 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> Stefan Monnier <address@hidden> 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
--- End Message ---