From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: Faces for strong, emph and friends in Info? Date: Mon, 8 Apr 2024 19:32:46 +0000 Message-ID: References: <86o7ajyk6v.fsf@gnu.org> <87o7ajssgp.fsf@gmail.com> <86jzl7yajk.fsf@gnu.org> 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="37489"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "raman@google.com" , "emacs-devel@gnu.org" To: Eli Zaretskii , Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 08 21:33:46 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 1rtukT-0009Vc-FX for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Apr 2024 21:33:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtuji-00080E-0u; Mon, 08 Apr 2024 15:32:58 -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 1rtujg-000804-65 for emacs-devel@gnu.org; Mon, 08 Apr 2024 15:32:56 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtujd-0004Ef-NN; Mon, 08 Apr 2024 15:32:55 -0400 Original-Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 438ENpqV028700; Mon, 8 Apr 2024 19:32:51 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=PBp46TEHeXJK9K6q36T0OELtCqW4lkpanpatvOJwRkg=; b=HXTVIVsYdxhPcDCzc1lFWEN0n9PfJQgnobGMiBdZcUjrSlxzthr2clYG2/4VSIAIOCQV TOwDYLC/a2W0EJRTiw4oJak4Ir+CGIJ/eRnWQRwP/7yxF87OdD3q1/Sig3iAg3+OuzEv mtDnntsQByOD561mzpyDCAFouJ3DLf1hLgLk/T2rN3iuVED3YQvXc/xTw1JfCttDMkzq fJfyQHJXNbKaaet+YKchPMet+lP8qWXsLX6n+zMSDCO806w56xwT+dax8vbr/Bgvhkn+ Dy4p230pIUNgOUQC3sE6fiMp8ZAv/59QfTjrrFoXDkSjvr7kmEPmJqkiJohhlsfFQz3c EA== Original-Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xaxedkjgn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 08 Apr 2024 19:32:50 +0000 Original-Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 438IPKiv007852; Mon, 8 Apr 2024 19:32:49 GMT Original-Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2041.outbound.protection.outlook.com [104.47.66.41]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3xavu5wtu9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 08 Apr 2024 19:32:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C0hlYRXoTxQdAJrzXiX2Mdp5F8whMI0SKVvcSFkXljD6SqWINs1M6wg46FG8/4kGOr88YxcNZ4vdyiyluPQja5M+6rG8IbIH6vpQrHau+IpPFNQ6U8hc7ghZKHY3C6FHBnsKV8KdhUsTXKklsgnkHE7PoUpAUrv3izog0RsRzci5knjJNMk1c2LCZktISZI1NWm8VbjIxEI81qNhjloWK1SA1h0JKR2KWMddY8NmKPuZSbdxXBB/chPodqLTF3IOCGtG49i9XNx8RqLa0RL8w7VvJnKA4QmaBUc9dmxj7wyeBnYuyl7IxpXaF4LwkBWmY3L+KKo9ylMX7SWTKZa6hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=PBp46TEHeXJK9K6q36T0OELtCqW4lkpanpatvOJwRkg=; b=dvneFWy3NBTfvedWbPjXEVKhsR565byiiHEOZq2DqCWpLrDMR+DHc7dR3qHrCW/DXl5iaMdZR4BSqNXqFnrCQbeNzGdQBGq8w5LDFHkXm9unoV8ySebgdFp7UAvA+VcrI7vVU+kjFcSu6F9Hv/Tk11dWdicqAfQ4LPMF2v8QL1QTVJx3NDkGwfgg9ba8uwc7T3KwZt7A4WnFR5qoWGCyKB/nNQfuevNmLji109EIz+wyaDEQp6u7DaavoYiOj2VbOCHCkudabCrb8iZM5a3o+u0Ordf0kRMAWlhiHeHn2XEJOEj2/zTOzb12GFaPuDh9QUdBB+4W8X2SD0i3/5yPIw== 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=PBp46TEHeXJK9K6q36T0OELtCqW4lkpanpatvOJwRkg=; b=W/NBoRoRZKF9OOpWdycBYmkY9DdK8eHkVoU3SOuRPUDMa4/j+aOSdDTvbp7dJXQ5URgXko9D3j0o+Uc3x5dXAglUR7UCviOvxFnUGPShaKK9J0Pu+B3jxXi2RXdKrn52y0WA0QQN22IGtkQocavlP/HAHwDKeeHA44PzF5fc8HU= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by CH0PR10MB4828.namprd10.prod.outlook.com (2603:10b6:610:c8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Mon, 8 Apr 2024 19:32:46 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::d9bc:c5bb:7fc4:cf9f]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::d9bc:c5bb:7fc4:cf9f%6]) with mapi id 15.20.7409.042; Mon, 8 Apr 2024 19:32:46 +0000 Thread-Topic: [External] : Re: Faces for strong, emph and friends in Info? Thread-Index: AQHaieKMRb2zFqsbm0yf68op9KuuKrFewORg In-Reply-To: <86jzl7yajk.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|CH0PR10MB4828:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aAU6Ly+o8Oa48r+n5LBDxmCx5hqQp4gsxfwpAW5htnYP4Nid56DDCbvcaIdM40BItGbQD2YetAxL/b6UnMLm981GQ1EerIoQDx4RsGtSUl6oOwbSg78cV0ysLNWQrq8sYbL9HKTHMrcYyGuV33dZmu/k55RzE38LYBvQgmAxAxEnlVOtsHsT4XWjeU0IRn5mWlHuNPAxxwtH/o/2/iIri97risv0z+IpjF2oy+lnPc+GplXHL5aZ1dCyd6vtk8U8qpn7E++8yiTLQTuLgYjxpsECqRuW9NDGcPl2Ye5l+AYGJ1h8GyBXZ5SoXtREWUcTGS9NoXw742v88lJ/tt/LTiG71pzbwgnmhgnWaKpzHHMoPjpNBOtWpF/xpZ8SyqMHEa90/8On40tu/akbfTlHgZK8cQb6/bbNH9oFbbZRtZN7QfbLChz/MugMGms5mE02mMj4/a5g+oZa5PhcJ7BvRgvI+52M6+xiXSW6tlMWpbvMHh65UXOYcqMW1Z+H+wOHaJ1mLQSlVSDnecuY2QaANHlQ6NLppZQTZL1Mjmckoo0njDqeiJuln2d2cV50ncQi2KZ2UNU1l3zN5CxD25CIleH3r5+QvK2OQ17+tu+RKRZ7DKQmWfr/VH9GXhWCnhCyWSmW/pO16Tvn4aFi7+zLPkZq0Te3pNwGI5kRzhOBT9g= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(1800799015)(376005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9BYF4heusIVdCiBQWd3SgdcU5IXClp75FCQinv47BlMdbQeaOLshh05SOKHP?= =?us-ascii?Q?dwwYgSQ3FZEfvM4KcNoaHNRmXFBSvfGnKPCMlhOmAxu82G36Q0E2IrEa/Ww5?= =?us-ascii?Q?a7IOWsaQcRHpGGsbUddgRYf+kjLyU9hZy4Jzp6f4fB5dao5bxGdSAdA+7S9w?= =?us-ascii?Q?z0NpIqu6fRFQ908WSX8ysTOF4EcavtiTlDxPuYV/Tv15fcTMWe0i5zAyUZfL?= =?us-ascii?Q?9xYTudWbhYZtlxT9lIDsz++5IX8PcWoMvEZJ2nu/hbiBj22ePZY5IyulI5LS?= =?us-ascii?Q?tgNxcS1ozEyWqYrTOm8Z3I0m6Ym4dD5nMjsEWC31JOyTr9q7jZMPnBkkb3RM?= =?us-ascii?Q?XeQssxmPN1zDR9YLK01o5i/82n8PV+rquPsf/CJmX4a0gugN74gvlzzmccbn?= =?us-ascii?Q?3XOQ6ZmudoFy9AxvaL+QuT6um2eJU4lYORy6uhzwUWlhZSLPOsSzI813AWTs?= =?us-ascii?Q?Mvf/mMZE/HRZCZhr3X2ioiD5VX1dwDqJIER8xw45dRdgfi+fjls/GGxaHSMT?= =?us-ascii?Q?cnFrte4I+N6JQvhH6VdnzeqY+pL+oox2GzI7ylCgGP3LSaFn8VFsrBGXKafl?= =?us-ascii?Q?FVecjFgzwmSpwSnfCodGiJuGg4oALV/Ix9QTDQnuHhtqTul8bdXPkCrg0f1u?= =?us-ascii?Q?7d X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: c76RI4pZRR9oSTtfuIi1qMUTurYNxYf0/R4lCcTc0MbPR+dWWTzuOTA656y1yGfVHmBW2YiGIIjYSwizGV6BCkReOeIxgozcvDeoz55Vo+MpAnmlrvHQaaNaJVfTZRW879P/9N7Z47biZqm3ndWLeU8zxMwalngufsrS9TR/xDKsLHXEJxZ5B0AwbE9sH/eex6tM5BemSddMJFhgUYZ0H3idM1azxnZoC3zJpUt95LlXgn+v398etdA0VMPkkXY1jyEt1H88VXzbYP8yYV/l1pNe1xXQ0STEbeeMu/uLAbfpF+dA3YvfAiTEWh+V5/hTZOLvawj6ydyf3Q/hkExjORGDttKQAPZ0EwZOSYWFqkOYUAT3po9+NN7hsbL1YgyuVflTlIOCCA0X7Zww0hk4/LUsLg7ZfbJaNnKyxxTloEjLmgN5cST2Z6iFoEd9FJw2Q9rwfISzB/ZNFZDojtBPngll8cmbbuRdFqM7TuXJFbjn9KHanUsOpvhkQCNhpODm+fKKarhMRtwcRsdnkMcx5+ZILCM8/7uHsY/nt2LporS9dYHQCm0ug5ibNzUobMtir+XyYwmT0Rnrzk9+hYfrEKa/jwfwHUGjZK8x++rnLJs= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1bbee402-5c43-4e9b-4c2a-08dc5802aaf9 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2024 19:32:46.1294 (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: mzoC9n0SCCP9BgC7z7kUK3AWnZXhRI1IIkc/4E2m9AmQguGpDWIk3Scxrd9pIz3/HHolRPUQIM7hgA3A07+dwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB4828 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-08_17,2024-04-05_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=928 suspectscore=0 mlxscore=0 adultscore=0 phishscore=0 bulkscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404080151 X-Proofpoint-GUID: Bmwb29AUZ-YJ0pntaAD8IZSn9bOoxev9 X-Proofpoint-ORIG-GUID: Bmwb29AUZ-YJ0pntaAD8IZSn9bOoxev9 Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:317627 Archived-At: > > + (while (re-search-forward "\\([*_]\\)\\([^*_\n]+\\)\\([*_]\\)" > nil t) >=20 > This is too fragile, I think. It matches stuff like "*Note foo_", > which can happen in cross-references, for example. Also, what if > @emph or @strong spans a newline? See my mail about this. ___ I think it's good to let users decide how tight/loose they want matching to be - user option(s) for the regexp(s). ___ IMO, _..._ and *...* should be handled separately. Definitely don't let _...* and *..._ be taken as emphasis of any kind. And maybe you need to decide whether you intend to allow combining the two: *_..._* or _*...*_. (Does texinfo allow/produce such combinations?)