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?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: "Raw" string literals for elisp Date: Wed, 8 Sep 2021 09:59:41 -0400 Message-ID: <26f01746-4b82-2f05-5e53-56fb6eddb73f@gmail.com> References: <4209edd83cfee7c84b2d75ebfcd38784fa21b23c.camel@crossproduct.net> <875yvb5mi3.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19961"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 08 16:01:18 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 1mNy8c-00053c-3V for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Sep 2021 16:01:18 +0200 Original-Received: from localhost ([::1]:48642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNy8a-0007Mn-EG for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Sep 2021 10:01:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNy78-0006Ys-9A for emacs-devel@gnu.org; Wed, 08 Sep 2021 09:59:46 -0400 Original-Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:33647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNy76-0006Yv-QM for emacs-devel@gnu.org; Wed, 08 Sep 2021 09:59:45 -0400 Original-Received: by mail-qk1-x72a.google.com with SMTP id b64so2653603qkg.0 for ; Wed, 08 Sep 2021 06:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=BUQvkffWfooIdcde5qNNTVSHrHo9oWREozhT+WP1lOM=; b=EP3G1Cl1keuxOik7OwRa7muyvqoFYZgk5a2lQRc91UOZNrPv2zufPgChL6w2lLqLFF 0QvokkjAJFUtpy5KG4HaoijbmcBBWpCM9Jn2+2wsHMIq9L1+/RHvS0F6PFO9TO2Rtd9L SfEn9eJRjq7Ikldz5sKTf/C480usbRQYfMG/fKmSw/XoP1tCYK/DhcDzAIL2auZ4r4E2 LexF8EzTHYxGzR69PBQiDjEaHAArpCUuY9Jor95lMeKhoCFGzZIaG2bpiz/sBh+RL+wS VyZQA7filJUt8XhcZj4ARxoiHzYObsWJOvzjYHM9FjBGqWs0yvC+RmZ8K7xtj//0SWom o9Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=BUQvkffWfooIdcde5qNNTVSHrHo9oWREozhT+WP1lOM=; b=oF325jOuo2wmXlrOobFXJBxWgQ3YlryljSUpyqoEcgb0BXmiKag2o01zhEtQ5HNos1 SO3kTQzFZOiy+6jgBpTQwO5tU2bV8a1Xhb6H5pP1rBa/Z+inARuX7Z8GT1TI6l+vWXqZ nNmpg4xovaoHYFtubTFtyUIyYM6NrnzyzxsX8VXGRKh8xOElerJvrKcu22Y70PrXX2s1 n70uzBPDLwSAb5WAWsLFUcFesxwn2fc38yvO6fP37rAW2w65eGTA4dbNyv3Es8oydaph 1jKCHnGSFt1vx5oiQLOBJblt0gYZs6Wqq5wXZ5Gv9EmDkC4Zusuv/77WmqY+PP4lq26Z a41w== X-Gm-Message-State: AOAM533Mbb8K6parIzY0ESYcdDyDkckrpGuli3jiYLxSZ7SFisI7TY3p K2eu7MRntHKosaXVMAiq6yb+p+8RrNM= X-Google-Smtp-Source: ABdhPJwQoh8xpaxPnnrHw2POQZI1XUOT1AzSgny3Xeja/gdq/tqUaOuWBnpyQMQTPZBb44suMPDnkg== X-Received: by 2002:ae9:ea19:: with SMTP id f25mr3541607qkg.341.1631109582953; Wed, 08 Sep 2021 06:59:42 -0700 (PDT) Original-Received: from [192.168.1.15] (c-24-61-240-80.hsd1.ma.comcast.net. [24.61.240.80]) by smtp.googlemail.com with ESMTPSA id bi20sm1723911qkb.133.2021.09.08.06.59.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Sep 2021 06:59:42 -0700 (PDT) In-Reply-To: <875yvb5mi3.fsf@alphapapa.net> Content-Language: en-GB Received-SPF: pass client-ip=2607:f8b0:4864:20::72a; envelope-from=cpitclaudel@gmail.com; helo=mail-qk1-x72a.google.com X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 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, NICE_REPLY_A=-1.922, 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:274343 Archived-At: On 9/8/21 7:34 AM, Adam Porter wrote: > For extra bonus points, it would be nice if leading indentation at the > beginning of a line in a raw string were omitted, similar to Python's > triple-quoted strings. Python's triple quoted strings don't omit leading indentation, do they? $ python3 >>> s = """ ... aaa ... """ >>> s '\n aaa\n '