From unknown Wed Jun 18 23:07:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16110 <16110@debbugs.gnu.org> To: bug#16110 <16110@debbugs.gnu.org> Subject: Status: perl-mode is electric, without an easy opt-out option Reply-To: bug#16110 <16110@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:07:28 +0000 retitle 16110 perl-mode is electric, without an easy opt-out option=20 reassign 16110 emacs submitter 16110 Ivan Shmakov severity 16110 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 11 08:02:29 2013 Received: (at submit) by debbugs.gnu.org; 11 Dec 2013 13:02:29 +0000 Received: from localhost ([127.0.0.1]:43021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqjQq-0004p9-OD for submit@debbugs.gnu.org; Wed, 11 Dec 2013 08:02:29 -0500 Received: from fely.am-1.org ([78.47.74.50]:55502) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqjQn-0004p0-Ac for submit@debbugs.gnu.org; Wed, 11 Dec 2013 08:02:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Sender:Subject:To:From; bh=VsmRCq7pR0rIj5ztSW27w1CMvsXj5D1nY0gVGAMZGWM=; b=UaAiQuJu6AldNy2bR6tYp74G6kkx2f2ba8ag9cmsalxelAN30v7y4X+iWYhdaN8SMypnBzIYFywyZuj/zHeM5cIhQ+uEvI0e0n7jaQztgkBDSS/Zu+iN6Pejz6jvj51UcoM1BAvJmYMek2YiXH5MP2jCzvaSYzVIrPj6kBFZqGk=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1VqjQb-0008Pn-QY for submit@debbugs.gnu.org; Wed, 11 Dec 2013 13:02:13 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VqjQ8-0005Yf-Pp for submit@debbugs.gnu.org; Wed, 11 Dec 2013 20:01:44 +0700 From: Ivan Shmakov To: submit@debbugs.gnu.org Subject: perl-mode is electric, without an easy opt-out option Date: Wed, 11 Dec 2013 13:01:43 +0000 Message-ID: <87d2l34k3s.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) Package: emacs Severity: minor As currently implemented, the =E2=80=9Celectricity=E2=80=9D of the Perl mo= de cannot be easily turned off, which is a problem as it doesn=E2=80=99t 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. --=20 FSF associate member #7257 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 11 09:53:25 2013 Received: (at 16110) by debbugs.gnu.org; 11 Dec 2013 14:53:25 +0000 Received: from localhost ([127.0.0.1]:43102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqlAC-0007WV-KC for submit@debbugs.gnu.org; Wed, 11 Dec 2013 09:53:24 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:50639) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqlAA-0007WN-O1 for 16110@debbugs.gnu.org; Wed, 11 Dec 2013 09:53:23 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBBErJB5017904; Wed, 11 Dec 2013 09:53:20 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 16670AE321; Wed, 11 Dec 2013 09:53:21 -0500 (EST) From: Stefan Monnier To: Ivan Shmakov Subject: Re: bug#16110: perl-mode is electric, without an easy opt-out option Message-ID: References: <87d2l34k3s.fsf@violet.siamics.net> Date: Wed, 11 Dec 2013 09:53:21 -0500 In-Reply-To: <87d2l34k3s.fsf@violet.siamics.net> (Ivan Shmakov's message of "Wed, 11 Dec 2013 13:01:43 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4788=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4788> : inlines <303> : streams <1089099> : uri <1620899> X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 16110 Cc: 16110@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.5 (-) > As currently implemented, the =E2=80=9Celectricity=E2=80=9D of the Perl = mode > cannot be easily turned off, which is a problem as it doesn=E2=80=99t > 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 11 10:24:53 2013 Received: (at 16110-done) by debbugs.gnu.org; 11 Dec 2013 15:24:53 +0000 Received: from localhost ([127.0.0.1]:44017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vqlee-0008Te-OT for submit@debbugs.gnu.org; Wed, 11 Dec 2013 10:24:53 -0500 Received: from fely.am-1.org ([78.47.74.50]:55519) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vqled-0008TW-25 for 16110-done@debbugs.gnu.org; Wed, 11 Dec 2013 10:24:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=2R8c4IeXC2PKF5McjSZjDrjXuxmzLtWg1ALetVCcOUg=; b=H0FOCzwBkZTWZz1lA6O315+SHjKx0V5KbUxNuU8Lj4aafZbLh6rA2Ub73OLA2LCiMDuC1e5j64iRlPfjDAE593g7oskcuP7l/ytb8p31+PIb9ZV9mUW3o6mxrqFCtkWSiNeW2TNb4m7vSAhbmGYsl68MjFlXm+Qk8WowCc6ipOo=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Vqleb-00010N-8d for 16110-done@debbugs.gnu.org; Wed, 11 Dec 2013 15:24:49 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VqleS-0005jH-0M for 16110-done@debbugs.gnu.org; Wed, 11 Dec 2013 22:24:40 +0700 From: Ivan Shmakov To: 16110-done@debbugs.gnu.org Subject: Re: bug#16110: perl-mode is electric, without an easy opt-out option References: <87d2l34k3s.fsf@violet.siamics.net> Date: Wed, 11 Dec 2013 15:24:39 +0000 In-Reply-To: (Stefan Monnier's message of "Wed, 11 Dec 2013 09:53:21 -0500") Message-ID: <87zjo72yx4.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 16110-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) >>>>> Stefan Monnier writes: >> As currently implemented, the =E2=80=9Celectricity=E2=80=9D of the Perl= mode cannot >> be easily turned off, which is a problem as it doesn=E2=80=99t 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=E2=80=99ve failed to see these changes in the code. Thanks! --=20 FSF associate member #7257 From unknown Wed Jun 18 23:07:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 09 Jan 2014 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator