From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Naoya Yamashita Newsgroups: gmane.emacs.devel Subject: Re: [External] : [PATCH] Interpret #r"..." as a raw string Date: Sat, 27 Feb 2021 05:50:07 +0900 (JST) Message-ID: <20210227.055007.1653972078230786105.conao3@gmail.com> References: <87o8g6pnyt.fsf@igel.home> <20210227.053933.1182610781746541740.conao3@gmail.com> <87k0qupnhu.fsf@igel.home> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24721"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, drew.adams@oracle.com, emacs-devel@gnu.org To: schwab@linux-m68k.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 26 21:51:05 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 1lFk4l-0006J2-KC for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 21:51:03 +0100 Original-Received: from localhost ([::1]:35462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFk4k-0006lN-MO for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 15:51:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFk40-0006Ee-7T for emacs-devel@gnu.org; Fri, 26 Feb 2021 15:50:16 -0500 Original-Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:54757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFk3y-0005CQ-Kt for emacs-devel@gnu.org; Fri, 26 Feb 2021 15:50:15 -0500 Original-Received: by mail-pj1-x1034.google.com with SMTP id i14so5070021pjz.4 for ; Fri, 26 Feb 2021 12:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-transfer-encoding; bh=+cNwEL3/KwFiWj5SowzmzrDtgFaHCw2hpQIxH9sFYME=; b=eEzAi2veCJUSCNZKy4u68bQVGcsl2JzfDzK8ixKVRvZp0bzKVcnKUn1JfaTcjMwXKY 1Ps0HlaSFshVCixesCC9TZ/pThdmHGxXJ/wAoBO4/PtyIi+0WqGfaeSO7yGLRvXOaDlW EA9jUpShSKQ3mIiyv3lqB5x0Che4Y64nZprTcj1SkGZ3QWJTfvic6bLgYSnrvVvcjKAh ZjbXk2hHmVSJ01oKTzkjiohQlhFteOmRLo384iHOQVDoZcvATacoUOT0sCnh0cccvph9 /9bT4dp07zq+0/vp1TCVaqhqwnF9G0bn//neN1tDdePKknX2n+EWz8psZPyXu1+SjQLk cOoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:cc:subject:from:in-reply-to :references:mime-version:content-transfer-encoding; bh=+cNwEL3/KwFiWj5SowzmzrDtgFaHCw2hpQIxH9sFYME=; b=pxdLQBvrIzpSePNzfbeKP5+4zSkFxHL91A3f1XmmJPIPJ33zPLDNBYOaJHS5LlpJWu jAVvEhqV5sBZaZkyZ8ALADOeUUuWb2HtxfmpH6731mRUwoECAhR2bap/BpsdkrWuQIyz JxM3eObi9MpRtlrnTT3QsgN/nAMwd6mRhvtmTXuMaVVieu65yjBIhgHdWLTryf42efd0 P1PDI/pAY0eFzwGsRtqpGQzMg/m+I1SX6LWgX4QZmZk+YUT1SibRroazFKTC+J7j/ezu 52vv0IM77qIhvXXWnRNMeajpxh7lw1Ibw7YA18DTZQoZjU7KefCO7WIMdQToWxP9ytau cVKw== X-Gm-Message-State: AOAM531Bydtxa2fHPASq3K0UhZDZZFm6Av6bWYi8dNRcrT0Py7ld1Dvq cy4TaEQFywj7zUD/Tj8jyaE= X-Google-Smtp-Source: ABdhPJyVg6lZuse8J0mHJnzMARd6hEGWtyQXNuLBmKeZnfOFwsZQm/zKFYUEMln61aY3hFLGrVlmhg== X-Received: by 2002:a17:90a:df8a:: with SMTP id p10mr5392329pjv.4.1614372613151; Fri, 26 Feb 2021 12:50:13 -0800 (PST) Original-Received: from localhost (p210141-ipngn200407niho.hiroshima.ocn.ne.jp. [118.4.79.141]) by smtp.gmail.com with ESMTPSA id w3sm9581863pjt.24.2021.02.26.12.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 12:50:11 -0800 (PST) In-Reply-To: <87k0qupnhu.fsf@igel.home> X-Mailer: Mew version 6.8 on Emacs 27.1 Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=conao3@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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: 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:265705 Archived-At: > But \m is _not_ a valid regexp. It has undefined behaviour. It is not escaped char. It just literal string. Please try below snippet on patched Emacs. (patch is attached my first E-mail) (string= #r"def\macro" "def\\macro") ;;=> t