From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: master bd86a6c4fde: perl-mode.el: Improve indent after hanging open-paren Date: Mon, 08 Jul 2024 04:39:05 -0400 Message-ID: References: <172018816877.20149.12049864165694613040@vcs2.savannah.gnu.org> <20240705140249.2BC2DC1F9F8@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26689"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 08 10:39:49 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sQjuW-0006mE-Ux for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Jul 2024 10:39:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQjtv-00054O-LD; Mon, 08 Jul 2024 04:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQjtu-00054G-8W for emacs-devel@gnu.org; Mon, 08 Jul 2024 04:39:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQjtt-00051M-FV; Mon, 08 Jul 2024 04:39:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=IbOKT6AkIr0/PXBPbke9Xonw3tY5DVJ8nB2QCmMzdBA=; b=fKBfiUpaAN5FYqQyk/t9 6kkbAcr3O6HJnPDz8pgTd5O1ILjttGZQv5VRN16sfQjPuiHpnHhNV+A8sM1wzNX2YcCLloWKm772N xNQq6GxQh1wHIM3aOtrWZFCTGlg9jeWYtMcjHRVEoUD6zMdO8XJaMc1T5bwqmtkVi4BlRViK6gO6J A9G1IlHOpIGU+AjfP3to8dHfZm6V3U/cYP0Jdea+LiFlWSkL0gxspnEmY4TrMOK7eJgQvU0I5bECw d9xDu/Xkyc3H8bWzm7U8+dI/+ziMvkVtW5+/eiNt83tXHb59WLBXIlVU7A0PDeZ4TMUzSbY835jXI kB4L5FCbvykiqA==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1sQjtp-0001zP-Lm; Mon, 08 Jul 2024 04:39:09 -0400 In-Reply-To: <20240705140249.2BC2DC1F9F8@vcs2.savannah.gnu.org> (Stefan Monnier via Mailing list for Emacs changes's message of "Fri, 5 Jul 2024 10:02:49 -0400 (EDT)") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321526 Archived-At: Stefan Monnier via Mailing list for Emacs changes writes: > branch: master > commit bd86a6c4fde1aa42ea9e8b5434f0cb63f8d52684 > Author: Stefan Monnier > Commit: Stefan Monnier > > perl-mode.el: Improve indent after hanging open-paren > > Make the indentation of the code right after an open paren/brace > use the same rule as already used to indent the corresponding > matching paren/brace. > > * lisp/progmodes/perl-mode.el (perl-calculate-indent): > Use `perl-indent-new-calculate`s "virtual" indentation instead of > approximating it with `current-indentation`. [...] Hello :) I see this is regressing cperl-test-bug-64364 here on my testbench on master. Andrea