From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Oliver Newsgroups: gmane.emacs.bugs Subject: bug#74245: 30.0.92; CPerl subroutine signatures are left open when last param is $ Date: Thu, 7 Nov 2024 19:19:31 +0000 (GMT) Message-ID: <457f28cf-be1f-58e0-5a49-8690ecd4ad25@mavit.org.uk> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8039"; mail-complaints-to="usenet@ciao.gmane.io" To: 74245@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 07 20:20:39 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1t983a-0001uj-LP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Nov 2024 20:20:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9832-0003pi-Te; Thu, 07 Nov 2024 14:20:05 -0500 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 1t9830-0003o3-Ol for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 14:20:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9830-0006eu-FT for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 14:20:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=nJjnpMk7jon8Z4UBUy/VR1os/Y43r25mgq799Tx2SDc=; b=QIc1MfXQ3B9PPvGEkasgwgbxiP1m1W/7g8tpv3v9P+p7OWTv5zDwTkovFVKsDJPRKNiPq7Sq/g7dQIjID7zfB5hjFbLipM1DSNOtb4a+HveAAkqKslsAH6VSzxZ142gOEOp3WQyTduEK3poMFX8aIr9s/CK2GM/GCEReR/BgGtBsiiq2tnt63N3I4tu32UIFF6yG5Ck7ceq7hEJCFt0CJKoM+0cShzN+C3WG+DP7YDM4y4cor5PH+7bd/H3R9PB5PfC9w2eeYsAM9EXTQPiGnGPpUXQnNNmAktUbhsUtbf8PhgfzSWqz5DG3fqZ0tw4Px4G/gxaRkTM+tPRnNXxZ0A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9830-0007RB-Aw for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 14:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Peter Oliver Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Nov 2024 19:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74245 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173100718328556 (code B ref -1); Thu, 07 Nov 2024 19:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Nov 2024 19:19:43 +0000 Original-Received: from localhost ([127.0.0.1]:49625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t982g-0007QV-IF for submit@debbugs.gnu.org; Thu, 07 Nov 2024 14:19:42 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t982e-0007QO-Im for submit@debbugs.gnu.org; Thu, 07 Nov 2024 14:19:41 -0500 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 1t982e-0003mh-AS for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 14:19:40 -0500 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t982b-0006Zo-Do for bug-gnu-emacs@gnu.org; Thu, 07 Nov 2024 14:19:39 -0500 Original-Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4315eeb2601so15487245e9.2 for ; Thu, 07 Nov 2024 11:19:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google; t=1731007174; x=1731611974; darn=gnu.org; h=mime-version:message-id:subject:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=nJjnpMk7jon8Z4UBUy/VR1os/Y43r25mgq799Tx2SDc=; b=KgFf2Sha0Vn9n4jf/kW7Z1uoHA+BFez4PVSBSsDnFy97YVJ8UX2N3rmqmYzxWluFpD oM98MzsNny41paTG9ThjHgahIsnwmqf4WuL5v5B0iJQ5lQ7ZGMtACJJD0aTDMfHrESCn uF+0wEf3kzHHsHBr7bPhLfjBPZ3OcN8M5lnQM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731007174; x=1731611974; h=mime-version:message-id:subject:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=nJjnpMk7jon8Z4UBUy/VR1os/Y43r25mgq799Tx2SDc=; b=JgMGUwB19JKJ3d/Rpuk64omBG/2pzxxr+pgbZWLzCWaaQz6P6kZseFxvot+diEwt2F 22yz0lQy5CwKNWELDrLEBuRiwvbU3K+asW9omoFfHSt6lDVPk7V6BYTDBvUxPgJqSsS5 Bn6JUyRvp6T+3rs0bvJ2ZhsiRwx5mJcKW+CdAWzL6taADhTAyNBTTjmf/gujJgJ40gG0 v+Mm1gmUK4scLTZ1CuPyWNZSVfdHKYpqMHywbgvqKbviQu5RVSXHK62w2Tpcc4bN978+ u1MG/RO39cPA4PgtQTO3yOwgG06S5X9zAOXyvicXM7cv3gn1x6wRqemJdBJz0QAeqLOn Fi3Q== X-Gm-Message-State: AOJu0Yyaz13wskWipaVVafMizAkPgUnIhBK83fM9AXdOiBHWAK+B0z2H RxqJDaAiJ705NhXdWvjBQms4h+2YJzrdJ/hg8kZ3U8WUx5HvDPu0YedzyIJSPaUuNunyS9gTmz1 UXQ== X-Google-Smtp-Source: AGHT+IFPnF27FcyWWLAPFLep04/iGfzSlRJu5Cvwx/dWqgi8nlkp5VvSZo8jotmqWqgcUuojc4Jreg== X-Received: by 2002:a05:600c:3507:b0:426:59fe:ac27 with SMTP id 5b1f17b1804b1-4328327c3d5mr285139785e9.26.1731007173620; Thu, 07 Nov 2024 11:19:33 -0800 (PST) Original-Received: from froglet.home.mavit.org.uk (dudl-14-b2-v4wan-165806-cust1021.vm31.cable.virginm.net. [82.32.147.254]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b0530671sm36071315e9.2.2024.11.07.11.19.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 11:19:33 -0800 (PST) Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1]) by froglet.home.mavit.org.uk (8.18.1/8.17.1) with ESMTPS id 4A7JJVZL083521 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 7 Nov 2024 19:19:31 GMT Original-Received: from localhost (mavit@localhost) by froglet.home.mavit.org.uk (8.18.1/8.18.1/Submit) with ESMTP id 4A7JJVgF083518 for ; Thu, 7 Nov 2024 19:19:31 GMT X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing -bs Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=p.d.oliver@mavit.org.uk; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295043 Archived-At: Perl subroutine signatures can include a variable with no name, just a bare $, to indicate that a parameter should be ignored. If this happens in the last place, CPerl mode in Emacs 30.0.92 mishandles it, and is unable to see the closing ). Consequently, it matches parentheses incorrectly, and misindents subsequent blocks. I have a test that I will send in as a patch, once I have a bug number. This issue is not present in Emacs 29.4. -- Peter Oliver