From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Interpret #r"..." as a raw string Date: Tue, 2 Mar 2021 17:07:22 +0100 Message-ID: References: <20210227.031857.1351840144740816188.conao3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29573"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Naoya Yamashita , Emacs development discussions To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 02 17:09: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 1lH7aQ-0007XZ-Ew for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Mar 2021 17:09:26 +0100 Original-Received: from localhost ([::1]:35662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lH7aP-0007d8-GR for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Mar 2021 11:09:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lH7Yd-0006LX-Rr for emacs-devel@gnu.org; Tue, 02 Mar 2021 11:07:35 -0500 Original-Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]:37018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lH7Yc-0006ab-Bl for emacs-devel@gnu.org; Tue, 02 Mar 2021 11:07:35 -0500 Original-Received: by mail-il1-x131.google.com with SMTP id k2so18464112ili.4 for ; Tue, 02 Mar 2021 08:07:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kds6n+U3Me7X5t8Qa6hC75iXU0QAlkBTYrlEdYHL43Y=; b=uMLy6fAJR1NUNY2SE2PAqeYw1GElqX6/p49BZxxJyoxMxcAs8TEMbnKso4ii1XS4Xl +ERq7vrSiZK+Ayd8I+FlytTXFPLXmDHic05NWnWVuv1GnDRccta8bfXSRIO3CZDCao2u Ry8wNcQhDUohmJ+cF2DmvuxUWrGKEpFaTqe8TWz5Kn/cVmSyOjiiXCSyYjZDclSd8b8B 903EY2yKHXm7RjScXhZodlVLDCCxtYzy7D060aXf3kdIszPVfXJI5l5oqD4lsdDhajmK FBsGq86cYTqwJVWKKjU8C/09WYJYNxMtjzVahJRsKduTgzOv3Hv84vZKZFfsdyhw4D4g AAZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kds6n+U3Me7X5t8Qa6hC75iXU0QAlkBTYrlEdYHL43Y=; b=tOjAlV6NR+QtIyHPb0h/LDG4DNVGdI82kq4QZdYSZq+y8ODHwecUXrAgQ0kXSHQ4K+ nF++0zIVxpGYTiEh607ejnWlmTTZqHgyYgnJ4mCzxDMucUkHwvZAym//zKsZBPnTmoPE +Eiln7tiUfeXE4sJ8w29/c0WgxyV62vN/ZxEah+r1YJnQIsJyH9Bo1aCMbWoZZB2sUT0 3n+pm0LF9v1JRhgSz/gtEn6u2z5hnp35GTrUMdfJr5qsiSRRsSFj9NaOF6IwgbCz6Iso hgKRhjnjd4ZJjSu7ZTI+yuzuevKumY1tJzSKivXUG8j2z5QJIj3czwEhCbVTsOxQT7G3 JRig== X-Gm-Message-State: AOAM530FQk2xlLS/C2pGe7q5XUy6IEOG1FhQKzF2coEu9hvh4f9V4jRx ykOn+psAqN02VtiHZqWAy4/+MeR993+nKQpz7cs= X-Google-Smtp-Source: ABdhPJy+3F09qSiGlRsM2wOVcgKlenPo2Wwi/cpxYgxFBV8DWU2dg/kOiBzsvFcyoOqVc9s17MuC0cE6b5fEpdEJ7sM= X-Received: by 2002:a05:6e02:110f:: with SMTP id u15mr11627103ilk.293.1614701253235; Tue, 02 Mar 2021 08:07:33 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::131; envelope-from=aurelien.aptel@gmail.com; helo=mail-il1-x131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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:265839 Archived-At: On Tue, Mar 2, 2021 at 4:11 PM Stefan Monnier wrote: > I'm sorry, but I can't quite see what you're talking about. Can you > point to existing code where there is such embedded "conf files or > source files" so we can better judge the potential benefit? Just from my init.el: (:name "newbug" :query "to:samba-maintainers subject:\"New:\" " :key "n") ... (shell-command-to-string "perl -i -pE 's/(li>)(\\d|\\.)+ /$1/' ~/TODO.html") ... (shell-command-to-string "notmuch search --limit=1 --sort=newest-first --output=messages 'tag:sent subject:\"work report\"'"))) ... (shell-command-to-string (format (concat "cd %s && git show -s '--pretty=format:%%h (\"%%s\")' %s;" "echo -e '\n'$?") ... (defvar moz-useful-functions " function add_or_reload_url (url) { var i = find_tab_with_url(url) var t = \"\" if (i < 0) { t = gBrowser.addTab(url) } else { gBrowser.browsers[i].reload() t = gBrowser.tabs[i] } select_tab(t) } ") ... (moz-send-string (concat "add_or_reload_url(\"file://" (expand-file-name fn) "\");\n")))) ... (insert "