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:39:33 +0900 (JST) Message-ID: <20210227.053933.1182610781746541740.conao3@gmail.com> References: <20210227.052317.1484421240960012901.conao3@gmail.com> <87o8g6pnyt.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="19544"; 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:41:26 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 1lFjvQ-0003ts-W1 for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 21:41:25 +0100 Original-Received: from localhost ([::1]:56014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFjum-00031D-Pi for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 15:40:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFjtm-0002az-3M for emacs-devel@gnu.org; Fri, 26 Feb 2021 15:39:42 -0500 Original-Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:45445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFjtk-0000S5-M6 for emacs-devel@gnu.org; Fri, 26 Feb 2021 15:39:41 -0500 Original-Received: by mail-pl1-x62e.google.com with SMTP id w18so5898766plc.12 for ; Fri, 26 Feb 2021 12:39:40 -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=/yAvW/CDwA0jhqcuiBnmFeWuY00AUe/R3T0j5INI/64=; b=nTcMc4wCtjquQKtQAH9cWvUeK2iK89AqCxlr8WcZiMqtMNYZLtVe2quuWdGdBYNK9d kR0Vj/FikAszreQJpNjmNAwph2DGkzplaLMGwx7GBtrShcFmhHkXagHNUy5IdMffvYuk 6DX9WHZSUjqMTX6AS429O+Z8POVuUwc76pl4ULkF5VSik7gZE9tz7iAUlPZ8v5q6IGK3 TDarpdDaqUMEg0mpoBVKem31qI+n2TY6kHU3cCKAZlABD/qdYXfF3L+f3mMQRQ3dBJ4s kIxFBG06Gbi/Zq8VsstF5ImMJLkGVZ8yiiWutz2DnwWbGzcF92dnKRjonWvfBuJuMjqM qtEw== 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=/yAvW/CDwA0jhqcuiBnmFeWuY00AUe/R3T0j5INI/64=; b=pJalKI7BSTwt6J8zG/ecaMymOP7KscFKWY4+q4Dn28IWwZ6ra0vgk9tsDSpel1V2ZR pCcCaHWgV6Fx5xtxFwXfMG1UpafexmwnOkFephNhmrdSVElmjp6kkrZX782YPV/txXMb 0WPxk59j2E5hm4SteGvNus660Nil6OCeutUva7iDsdhZaKd9J5md+fLVenZWEQevf6Ps GrPxO3Zf+0D4ktD4RBeZu/2F5A8FwE0hbq799BFrKsbfis4/GIfaExR3ZBVKHwMBvs3E 2nEbUizAVCHOpbzaIRslVdTOr5VrB7ecGVJTrE8YjqXN1EWf87TuV6yFwg9Bha11RCtr 6BhA== X-Gm-Message-State: AOAM532jeb0IzFqTLmRntPVj02dW4WkwiJzrfmFwQWXLAr9Lvlg/Gg89 2mULEcao+4MIv2Vul+Ak208= X-Google-Smtp-Source: ABdhPJx/CusYG+HmU91TCyVfES0vCVT8os3ief5fd83cAWevZ+d+dZ+pCJ9xQzpFHUZtsTRgX/yjCA== X-Received: by 2002:a17:90a:7108:: with SMTP id h8mr4966670pjk.98.1614371979273; Fri, 26 Feb 2021 12:39:39 -0800 (PST) Original-Received: from localhost (p210141-ipngn200407niho.hiroshima.ocn.ne.jp. [118.4.79.141]) by smtp.gmail.com with ESMTPSA id q4sm10372317pfs.134.2021.02.26.12.39.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Feb 2021 12:39:38 -0800 (PST) In-Reply-To: <87o8g6pnyt.fsf@igel.home> X-Mailer: Mew version 6.8 on Emacs 27.1 Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=conao3@gmail.com; helo=mail-pl1-x62e.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:265703 Archived-At: Thanks, Andreas. > \m is not a valid regex escape. It surely won't match a backslash. Please test my patch; patch your HEAD Emacs and see the testcase pass. I mentioned all testcase is green on my patched Emacs. I try to answer your question, in my raw-string notion, all backslash is literaly literal char. If we write #r"def\macro", it is literaly `def\macro`. It is not escape.