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] : [PATCH] Interpret #r"..." as a raw string Date: Fri, 26 Feb 2021 19:03:18 +0000 Message-ID: References: <20210227.031857.1351840144740816188.conao3@gmail.com> <20210227.035336.1133463788176884588.conao3@gmail.com> 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="28143"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Naoya Yamashita Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 26 20:04:39 2021 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 1lFiPm-0007Dx-Gp for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 20:04:38 +0100 Original-Received: from localhost ([::1]:59520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFiPl-0005pM-Im for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 14:04:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFiOd-0004vG-MG for emacs-devel@gnu.org; Fri, 26 Feb 2021 14:03:27 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:57288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFiOZ-0007kT-H0 for emacs-devel@gnu.org; Fri, 26 Feb 2021 14:03:26 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11QJ0xCK116023; Fri, 26 Feb 2021 19:03:20 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-2020-01-29; bh=yOmFhdHgh6vDpm/FO2rj+tq5cthLYzmnaoCR/6tCdnk=; b=PqVn7irSZn5nQuQx5BU5wMzuCnLbda63JfccXkLDh1DO9byoEp8kSyNuJ1IEgsCbn2n6 etfxWZk8PA5j2MJrjz+lqWSGUUX4ZcmXPekJMzALvGVQ3anKkQZcjCEkXv6q2VgPJPFp aX9KlduAivk1w9zup1waWRcEmwrv+4prr3GgxpRI7Q8Bow92ioCOAK3zWHgG8WlS9Xvg 5Obo8FPR9spzeY/rQLraQVUazSDSMJ2DJw4DV5bjZH5xeCusG1xY0h+BIlmtXFgdIIcv E8fC+uHy547H2F0pwwj2XNWbkPgOlX08V7ADNhu3R0TeKNPzaNllPYdL553bViimh0zL MA== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 36tsurb19w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Feb 2021 19:03:20 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11QJ0l3n101970; Fri, 26 Feb 2021 19:03:19 GMT Original-Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2059.outbound.protection.outlook.com [104.47.36.59]) by aserp3020.oracle.com with ESMTP id 36ucb3rw0g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Feb 2021 19:03:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mvccYBxk1vETxq/1ksPHh5T0YygdItEYMLx24GPoToxLU5iSRSHDZYm8WkOBYIbCU2PrprKtlqffqhOlQLpTZHnBHaiIExJ8wC6UmGGbRhuQzBuTj2S+73nJPzRXQfcqVqCTusTIZVQYDlFL2NAecvggWTTQccj6QMwuZNQhYi//cVsksAroHQfl1b/uWvv7/pFiv4ehZhygSbgL8dMnbNbwYv94ulxQoshgkK3WSh8+Zj0V/zdpzdB0L/PKr19Z7NVfHNBc1Lf+JhJbOdslwQqUFo+0aJVf7VBRhzwhxyRas5XgILSlTUTNR6nNySZ+nUBJMQIZdw2Z0S2yGg8jzg== 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-SenderADCheck; bh=yOmFhdHgh6vDpm/FO2rj+tq5cthLYzmnaoCR/6tCdnk=; b=LSk9Pg9vVEpjx+kutcIZWPrUXitvE7Vqf+NMNpKKLH13u3nYdFfmXYc2n70b/kyOb++bxDwqrpyEaF3e5DgeGbr0HVmLYG7Y0lu6Yucmfm58lpc/o/PPrKdvMJFH/afxOT8MkON2XmyXF/Jx76ZrqWO+gtCwxkHe/TybecJcBQkUb6PahrT+oRuWGHRjKD8IZuTsfUaJZJ0rXQdVaFkb+ywlT7Nvx6MQlU/6DU4Qx41QeczPYhNCaiw3cJK3xymB5nCzFDz93FTKEOMcp0T68qwWfwFLa2IOy9i/Z1d13qB51MtfS0nR1KJKvEOCa5My1KaFW8TNzWsou3KfaBMIPw== 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=yOmFhdHgh6vDpm/FO2rj+tq5cthLYzmnaoCR/6tCdnk=; b=QRPAzA2iGMNH6jKo4wvZKbsNuBA/YXR0y7JCgfmL57n1QpDzJ9OZEJUelmkdsrcMgn+UjyqOrK4i3PumolAVE7Iys0JJLzNif1nT1/8ZY4JkyjbwEimQ7b04aZzF84YwRa61epJnzl28AF5vgeYAvQvQ7oCW9hTN/kKcw0QG+Mo= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4764.namprd10.prod.outlook.com (2603:10b6:806:115::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.20; Fri, 26 Feb 2021 19:03:18 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.3868.034; Fri, 26 Feb 2021 19:03:18 +0000 Thread-Topic: [External] : [PATCH] Interpret #r"..." as a raw string Thread-Index: AQHXDHC91RXKuFo390iUilYkPkxWDqpqyaKg In-Reply-To: <20210227.035336.1133463788176884588.conao3@gmail.com> Accept-Language: en-US Content-Language: en-US authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0b7f144c-66be-42db-66b4-08d8da892d83 x-ms-traffictypediagnostic: SA2PR10MB4764: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JorjisZ1zeW+ZkJqjRKhGIP10tAlbBT7Uakdj+ByC7lTLnlbNqXqPnCPBGvsLJYyq6ZJoQFW840faDX43W8GxZZdd/k5N3IVQhEeIDdSAVWowGxqrxs6Tw+xAop4kD/BCTzYDlLoM7jwYG/zglme7VGH5EvVT1CMY/BgXbMr4WZfS/OHED993czrT4OCVfUooNjD/uxI4Wn9BEoDzFYrDR6DQMIoj+X+vXyNZ6TmhWBZ2di9kMpAMWOxQalAMJJL2PXFaL9hz5xg/OTWWYJvkaphC9AKq3uIDUk5CtVAHOc4WWY+MV7hRTlSNRmkqrEv8GsF3b17+mtSISV9yLgdYskzjeUFF2wQkXQhTlI57T2wdpxDPoz9HLaeqPIRln3t8YNuBBGZBB1k0lX/Pt7hGN85g8B8ddnhnEKHgQ3a/nztSB+Hn6eR5Dez2bZ7Qrn+Y4raSUv9RxMjDWHGfUC6peIsbC2Y1TmM8CkgoxVe/jcgDu9uKsjyl7RNF+n0dlbx2MAIc9ZLSpZfc+CaNmyxmQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(396003)(376002)(346002)(39860400002)(366004)(136003)(6916009)(6506007)(8936002)(66476007)(186003)(8676002)(316002)(76116006)(26005)(71200400001)(66446008)(33656002)(4744005)(86362001)(64756008)(44832011)(4326008)(52536014)(9686003)(478600001)(5660300002)(7696005)(55016002)(66556008)(2906002)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?LvjTpjVl3ERe2pgUqhaTbw4nGtXUzwm2UEz93+fTEnQOFbs2QnDqTLsRscyk?= =?us-ascii?Q?IXbl0icweMfcvhiuGszZ6ezo82BvB/092xnDwtllFxj63hLw+q5vgF1ujJJc?= =?us-ascii?Q?w+LuwnS30dqRN7DmmP3Bf5XnqWkT8K6e1M6Xz/1QCie5ph/3FHi8/HEWORzO?= =?us-ascii?Q?ntcOa101bxFkJ3fG1wUOiFdTEP/G39nuL0Df0hpTnObqgTVhR0GE3fHFSxz5?= =?us-ascii?Q?X8cXn/0s+6tlhN6+Rw7QReU03rW32PsuKz93YNfdHMe5enVHz2Am0yPbWcrv?= =?us-ascii?Q?AYhVglgGB5hIMdF4R/g+1tEKyYEbZmJcHGmz77C9YIFTwGA7lMhWDm2a+Cj1?= =?us-ascii?Q?g5RDHDLnUPKL4ZYcAM8g0Y7Wh8OFFSZwGYU+3kgQgB5PXoNXraBgVL0v+6Fk?= =?us-ascii?Q?B1Q3T0v2WzZRAskDHZdqCkCvm8POt61sMB9GHq4upo1blD2ZUNY4meTq+pyf?= =?us-ascii?Q?13bJic+qCY8PL8va+bmcOixQz6+r3Nhm0s3ahsXyjVp0Z+VfbkLHOr8NZ1Bn?= =?us-ascii?Q?HeEwRmvuuFv+t4VkDXZfmlJhEqqYQJ+eJLAK78Tq/TKZW2TaEwyC3ZYZmgaV?= =?us-ascii?Q?SYeVMB27/JiY1dpe65kn9SVwRVaYNvr1jwe3zWYsvBR0wrKRJnKx9ZOlYcdD?= =?us-ascii?Q?3SaO x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b7f144c-66be-42db-66b4-08d8da892d83 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2021 19:03:18.1487 (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: fyQZJQ04aeBzVqtgnqyeYwFny90eq6GtPyWDE19LXLtrxfRunGzSwiXW8p6uc6mjEKhpsFDBcXgdQ9WmwKL8pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4764 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9907 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 mlxlogscore=975 adultscore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102260138 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9907 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 mlxscore=0 malwarescore=0 clxscore=1015 phishscore=0 mlxlogscore=999 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102260138 Received-SPF: pass client-ip=156.151.31.86; envelope-from=drew.adams@oracle.com; helo=userp2130.oracle.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_PASS=-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.23 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" Xref: news.gmane.io gmane.emacs.devel:265689 Archived-At: > Thanks drew, Thanks for the reasons. > As my understanding, raw-string is not a data type, but a > notation that does not interpret escape sequences as written by > the user. >=20 > Please see backslash info[^1]. This is a reason to support raw string. >=20 > If we have a raw-string notation, we can write string as is > without any escape. Is that the only reason? Why is that important? I don't mean to argue. I don't understand why this would be useful/needed. I do realize that learning about escaping \ in a Lisp string is necessary otherwise, but is that a big bother? Is there another reason? After all, as you said, many programming languages have raw-string support. Is _their_ reason for that only a reason similar to what you state for Lisp (e.g. escaping backslash chars)?