From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72425: 29.2.50; substring (and other PCM styles) fails with candidates containing newlines Date: Fri, 2 Aug 2024 16:24:46 +0000 Message-ID: References: Reply-To: Drew Adams Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20589"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , Stefan Monnier To: Spencer Baugh , "72425@debbugs.gnu.org" <72425@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 02 18:25:53 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 1sZv6H-0005AS-0F for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Aug 2024 18:25:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZv69-0002Jm-Rj; Fri, 02 Aug 2024 12:25:45 -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 1sZv68-0002JI-Ga for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 12:25:44 -0400 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 1sZv68-0006Zu-3I for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 12:25:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:In-Reply-To:References:Date:From:To:Subject; bh=cEG7SJQIV6KzMuuvpaDlypzvDNOhh+xIvIXTM2MvvXg=; b=F2V6XaqEjyKaDIk9lIuxCJozJM/OgyQChTGbL+S+3fC6s8bpv3KMq7CMw+OmwY1sPgAliui+rLTYpvVPGdPzcCfrTTsQ41WUhdyoGjw7ahGH0hbELZsZ0y4XzDvEca4jVquxt29sMYLaW6CBzRZZ6oJYNviwwqh6ZezJ0csKDI+Q7ZXTGGh3kGgVJYaE5t1j0X3c/ZkFm/6wt02+l2byim2eSOiarpwrK0SPyZpR6F4sPAoyFXzt7ls8/Mfz5C2oESFt5nGA7K436xvkRK4tenvoUzcO5HX+dslIx6i5JkkHM5EMCb0lwUP0JpDdFcfoN0z4nILCAM6lVHc81Lrbwg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sZv6Q-0005Lh-GM for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2024 12:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Aug 2024 16:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72425 X-GNU-PR-Package: emacs Original-Received: via spool by 72425-submit@debbugs.gnu.org id=B72425.172261591520501 (code B ref 72425); Fri, 02 Aug 2024 16:26:02 +0000 Original-Received: (at 72425) by debbugs.gnu.org; 2 Aug 2024 16:25:15 +0000 Original-Received: from localhost ([127.0.0.1]:53706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZv5f-0005Ka-EQ for submit@debbugs.gnu.org; Fri, 02 Aug 2024 12:25:15 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:32414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sZv5c-0005KS-M3 for 72425@debbugs.gnu.org; Fri, 02 Aug 2024 12:25:13 -0400 Original-Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 472DGPCJ015038; Fri, 2 Aug 2024 16:24:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= from:to:cc:subject:date:message-id:references:in-reply-to :content-type:content-transfer-encoding:mime-version; s= corp-2023-11-20; bh=cEG7SJQIV6KzMuuvpaDlypzvDNOhh+xIvIXTM2MvvXg=; b= CO05uit8dDLlKGIIS5JXU3Y2rgY/0DyN7peBIrDjOuwwTZGcVLszeykXj7RLoYQT 9oc768F6VMGT46dPhBUBnBxI+Tk/1LENpuuRsqaxlWFgSmV9mixZ4OeK8NdzTJp5 V3uvNKII5OwJ/D2juMdd4tFi6WjV/5KX0DI0K7gMLb7usz47Dro7OOC+CVErbI3f A2dk1SDOd65EpFWvj4tY+BQC/e60dlSEQBWyk5nT7DHqA0ZHrfZvqM4FyBwWYBvG 4V/avd70qlP2d1gZ3ka5FNMRyrH+SUevYXCG+guxE4xawWewbKOHqhiBHuxpXV3G w8OB/VuKKj5Zb3ZlRBKt8g== Original-Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 40rjg31hyp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 02 Aug 2024 16:24:53 +0000 (GMT) Original-Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 472G1Jwm001423; Fri, 2 Aug 2024 16:24:48 GMT Original-Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2175.outbound.protection.outlook.com [104.47.58.175]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 40qjmv6fb8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 02 Aug 2024 16:24:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TOEd85Qu+/ooBJPVszBjON9+YvKfGafXcaDXk7bP6SFD+xo0MCKDDjEfnx/ldfyBXKZoBHdbLtq8JeM+HAgOedNB+9jv4Dwh9iz1WqyvrhcIUgmw+HoTYdwOsyCb1fjwma1iqwHtmIYlKOtEFk5skOjEau/b+WBZYqxYsnt+rEZip6w3Hd4z5+mTFjPK9Ar5EojC5z1s/ezlbnee0UZBQrQ8k/DUex6lT3kI7ewAT3Con7klVJJCmSba3fmx+yRWmAQD/e4pIJIj0P5W2ARCJOm4KVyz07OkuFVpu2VVn09Qf/6TPS6BX9FWR8vJM9y4znZnnxQjEVSn7PB7YLDtQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cEG7SJQIV6KzMuuvpaDlypzvDNOhh+xIvIXTM2MvvXg=; b=ZszTDONOb67BOa86XXUJxUul8AQvmRV17nYEhhJHUgWAAngUN55TNkLEJ8R5bqFAbc3U/a1idGnF+V/gk7JmZWjMUPqjvm2aErLWewCVHD1sbOYN38fNyp+9lwt12lMW5ZhSb+h/54VdEdUlI7qC2RPdBk72AYhOuqlqVJsSAmjTQa5YD8hYKMBOLvRBB6c30/jZZav0OVUNAnEB7plWo1gywOx01uw9VCSCWQZtFGPE/pwHGfusmq5hPigx7gA/1ZHrsvf2ypR0DwsFzO8yKSGKls8xRKJnkObsFS737xOO2kvQdpSg633iwfIycNgs7DHhTMyfF5A/2ipzhRbEEg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cEG7SJQIV6KzMuuvpaDlypzvDNOhh+xIvIXTM2MvvXg=; b=HoDpPcLAIaFaihVBVp9ixFBH3d3bs6WI7UZsltEwiSWXTcs2EEIgkT9FiOnWXQhc69RCC1+5gi8RB4c5cztAOR8PoAD1fERzls6RBRTeEatthHpFMH3X6YMPc/rgaoTSUaO/8mk6SdPXefxK5TLuO9g0nDJnDORBSafRZvBVpYo= Original-Received: from DS7PR10MB5232.namprd10.prod.outlook.com (2603:10b6:5:3aa::24) by IA0PR10MB7301.namprd10.prod.outlook.com (2603:10b6:208:404::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.23; Fri, 2 Aug 2024 16:24:46 +0000 Original-Received: from DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324]) by DS7PR10MB5232.namprd10.prod.outlook.com ([fe80::8303:658f:14f8:2324%4]) with mapi id 15.20.7828.023; Fri, 2 Aug 2024 16:24:46 +0000 Thread-Topic: [External] : bug#72425: 29.2.50; substring (and other PCM styles) fails with candidates containing newlines Thread-Index: AQHa5PdeR+YxvkUWj06JaVioQfHVGrIUJd5A In-Reply-To: Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7PR10MB5232:EE_|IA0PR10MB7301:EE_ x-ms-office365-filtering-correlation-id: 84913abf-4afa-48b1-1569-08dcb30f9fb7 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: /citod6iSO4Lzc/cHCUij4JLy8mcykDAoRTXWcr+YeWHsB6oDnYkVrs8OGEnrzCPXv4SY+eACDfGL4sDatkkJdeujkBFdNeiSU5kkEiNGB0NSLzkmopdvPzlQSXkILYfyeX1tM5yRemCOS3puVDUPQkqd/eFPLhjmdBCB4K8rpThe3zR6MMGnnNz4ZPZTOO+C5QLsIiMSPL0V5NZC+hUbThpF4c1HkhA4Rt5tTGBrcx8uDIEa2r3A2BL7dOic0lpQg961cGtziYrtnrAvh3o7mizOBo2Y4DVDF2HSSAs5KqVW+AHZGLL6yIySO7EfI6WoaaBFaFZh+nHyC2ADzHpi927wwN6Fn1IIBCPCmThbUTNx4J2OvtQh26I1Tkdn4UYrmTLdW2DrZANaFCiBpFnUuAWf1E/mAD1HdMFrOajN2Q32iJGFXdRG9/04KbfykcixbphxEUGmbXQgxeN63kP3Zkv9hlEx31CbBDEsV7QYqwxkblvRB12sDfD1ha6lO8KOamLaKjr7BRP9CfaNa8S6seew2IKuHjPLBN+KaCX1hvEtmIW1mH1W3FUwGCOrTPCBAhzLtId2Bfr3wTHjI45vL4rBkG1+8bPxk9HKpVgVs0ZPpZt17fYuvYnMS7In6RJeWE1TcXUZ9pRrQb1DKAq8y4rpoormy6ypCNC2hziv1M6Ra8DHmvQe7KphtXaHWqBE+hEdjroWQ5GRiGCwZaZfAmB8E4OP1Z29Tw0OSPioUDd0KBp7EF25kGWZt9al SOHGQ1eLmNUg15wNPDw1bv6smpaXuUFfS0LAT3dGygrn3He0ZAQpaQHTzq5Yz3iMmEGGDNx7EEDG7pmUEnRIXuym7AF0iq+jwu x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS7PR10MB5232.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: xfvRvuI+TSXhUPNNUHqvZn5HMJ/0UYABKqa79TCAw1gtGtSeauIiQeMYi/QFdkSNDiJin4ZzOBpILWlYrlgjBEzBBrTGcF0AoyV0SDOtc+FynA8PcxHdX6ym+N039gNrMPxPizNGfcNCRBMius59TrI63In31YzeRu9mLY+P265ZxnBBgnUjBMb2K1ooaXxqI1jejpXOKYigroqPvsbdGrIy1xJ84Z61l22v+qatyj2dPQK/HsHHut2DHOFx4GVdiIU5JWpf0B6zQY2NtOg783rQ8kMU9gyZMTRSC+/3TozJ1/pm/q4krsxboTETKW5wYXv9Guzer7JVL01WwCbG56a6FxfEaHIH5AC5Kj2PtBQw/gWSOhfBRt2FAqoyuXAS8AcmOcxyihI0eonZDMM47RfWbYBc/de/R9ohW7W33fbMd8LM11Becth5SugEhOTFY5DGXSov3OQoPo6WszWtdzFgWl3fjb5JIhivVdmRu8+gEj6AsTDc3Cxxre3bIbBe6/RdgJ5fw+UNNtVFIoScwBBdxBZT3LpYTlD1bcBmdpnUisltklEnPd7fMP+KtPODRGXqtvZunznyb/5vsg2TSym5dDGg/6cF/jgm1Qq89+XyMrSVlX+5ZUbtuZFKU0avdVwVJxBoFJjnsqQPpGTg5AfcLI62ChbclBGRbQihiwbhIsS2iNKQtTxt16VSLuI464FTgJKgUUSAbQW7Tb4L5NkkTyZUQwJUZGwpy0hFrD67hJA1Mh23os4u7c iWZkbKhg6ePcW4M5oSAbjhsYjWX8r3W/rK7lMIEN+n/evI7xcw9p+lw3c1W/TkzOfQGk7DKb5e2LQJodeF4OHh/NvbtCAfYZwV X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: oXGzF/f/Lqpx3f6r5XFntSiMwfqDOOmJrwTsBf+KHfUGwTfqh9/yNohF9qcBzZzNNWm+4HYabUQT5crQ2PRPl2R2rjMjp/d6Oq6VjADLQ9cwJQ/nSZoLnO4tYDrkvtIf2HndX/otQJ29M/UJqVzOjlI8ovHwS8LtSrJK/OsZ4cFSU6rV2l7bn7idAgQuZylB7EAjtevjkGgD4t6gtELtjk2tSTP+cMkFcSQigxvRQeKni1tT/r4IZaw3CyqsOlqArTZJR1nmSjF11WQjwV8rlGrLo9qrlvyz3Uh1ANLPOyc0vXT53Ko/Jrn4TOl+LXlUB8eCOOP8UflBqTzuEC88NSJxvdwvK3ko+B0lgPg/c2JHOnNHwiNdd8WjIkd6vjGmxFup9dIwYPaY4cBC2qbzoWkZ4pyd8Wz6oQ0OejIyStmA8r3pY3iL/0kL46IEMyhFCf/uMdvsLr25+g398sZ4LxTb4AMLhGV7dMnFL1G54tZEY7QPInrdqER3GbguCzEXouyXxgZXboyvTcKGshcSgsbug8hxLSXgnG4QirQF4nmiHOYQ2HqWTLGpROoRwCLNTPVWIH4M+0u/uM5N51j/fUqDnR7EWQ65TSIqBbEud0M= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7PR10MB5232.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84913abf-4afa-48b1-1569-08dcb30f9fb7 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2024 16:24:46.4700 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yIRmercLaRqvhnWURi/tUXHkIiinVghu4LmxXxZdmpCSbmCN+goMOKHuxxPsJaGd5keHy8R+fuN7nyGKiKR6xQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR10MB7301 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-02_12,2024-08-02_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 suspectscore=0 mlxlogscore=924 phishscore=0 spamscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2408020114 X-Proofpoint-GUID: jUxwsWxAT4aqh-ZTgQjJznXypnMdspBr X-Proofpoint-ORIG-GUID: jUxwsWxAT4aqh-ZTgQjJznXypnMdspBr 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:289647 Archived-At: > This is due to a regex using "." when it should use a pattern which > actually matches anything, such as "[^z-a]". A patch to fix will > follow. "[^z-a]" doesn't match any char. "\\(.\\|[\n]\\)" matches any char.