* bug#16110: perl-mode is electric, without an easy opt-out option
@ 2013-12-11 13:01 Ivan Shmakov
2013-12-11 14:53 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Ivan Shmakov @ 2013-12-11 13:01 UTC (permalink / raw)
To: 16110
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#16110: perl-mode is electric, without an easy opt-out option
2013-12-11 13:01 bug#16110: perl-mode is electric, without an easy opt-out option Ivan Shmakov
@ 2013-12-11 14:53 ` Stefan Monnier
2013-12-11 15:24 ` Ivan Shmakov
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2013-12-11 14:53 UTC (permalink / raw)
To: Ivan Shmakov; +Cc: 16110
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#16110: perl-mode is electric, without an easy opt-out option
2013-12-11 14:53 ` Stefan Monnier
@ 2013-12-11 15:24 ` Ivan Shmakov
0 siblings, 0 replies; 3+ messages in thread
From: Ivan Shmakov @ 2013-12-11 15:24 UTC (permalink / raw)
To: 16110-done
>>>>> Stefan Monnier <monnier@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-11 15:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 13:01 bug#16110: perl-mode is electric, without an easy opt-out option Ivan Shmakov
2013-12-11 14:53 ` Stefan Monnier
2013-12-11 15:24 ` Ivan Shmakov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).