From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2O9dFjiD2GDSyQAAgWs5BA (envelope-from ) for ; Sun, 27 Jun 2021 15:55:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EHoYEjiD2GD3AQAA1q6Kng (envelope-from ) for ; Sun, 27 Jun 2021 13:55:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B227119F2F for ; Sun, 27 Jun 2021 15:55:03 +0200 (CEST) Received: from localhost ([::1]:40016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lxVFV-00042q-HX for larch@yhetil.org; Sun, 27 Jun 2021 09:55:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxVF4-00042P-DK for emacs-orgmode@gnu.org; Sun, 27 Jun 2021 09:54:34 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:58129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lxVF2-00051Q-5v for emacs-orgmode@gnu.org; Sun, 27 Jun 2021 09:54:34 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 40B4120002; Sun, 27 Jun 2021 13:54:25 +0000 (UTC) From: Nicolas Goaziou To: =?utf-8?Q?S=C3=A9bastien?= Miquel Subject: Re: [PATCH] source blocks mangled when edited References: <9e9ac180-7b77-3e04-87e4-7d1e9e02856e@posteo.eu> <2000f8ce-0f6a-91e0-f764-e65f3cc46937@gmail.com> <09ce8454-430d-733d-64c4-562f0180ab60@posteo.eu> <0dd1fbfe-8718-af8b-dbab-2818d504590d@gmail.com> <2699cddd-69b1-0f46-47bb-0b450873ea7c@posteo.eu> Date: Sun, 27 Jun 2021 15:54:24 +0200 In-Reply-To: <2699cddd-69b1-0f46-47bb-0b450873ea7c@posteo.eu> (=?utf-8?Q?=22S=C3=A9bastien?= Miquel"'s message of "Tue, 1 Jun 2021 08:20:15 +0000") Message-ID: <878s2v4dm7.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.200; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Michael Gauland Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624802103; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=lOFkVSl1WEbrgQVjTQA5u7IJgLlybXShd1Qlx1wVuZI=; b=brVmp83rg6GTuf42GddvZhcvvdb65S/7iDaCq2ba4HQS7PlmLuynEvAAPCz6NDY936G5HI 3Y2mrrM59bm/msA2HBT3xZ2x0VlxSCZw4XmEV8qgW7TDExdBOOkI/bUWdt+tG1D6DhYT68 No99VrgTGfcYY+BuquPu9dghiPl0CcGr9gItZiIAXdqgjv0u87nCYMRJn72OE62dQpvUlG TtMYCFgT5O7jvbu/4SKbZBisgrT020F3sut3DdkFSnrMZrcLx+ityfcNG7Mg/T2BI4Gc7o m+6aBAPCYQeY/7Ocqe6EMN4Hb2/Zbr3g3kCPWyWBltfCUH9Hg7CME0gtIw+0xw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624802103; a=rsa-sha256; cv=none; b=K/Ncc1izc8vuER7/wkkB9tQWldBtPb6f2Smxcrt08S4t/5JCpmOmN18D6t6lP7/vf9K2vs t6tOvJTCMb57c6WknBXnHvpdAdPbXjagKMsqf3Teu6DIJcIJWDz8hS8mLHpR9H6d3BwOWu ZNJdUsFdCmyzS24izJBYkzZYeGm4/R9t0OQhj53g2KSCMQya38vSOejLXRDle4NANyKRir vuCq9Y2l2M9xYWCVq4NNDbg7AgquvN/HVeIbgHTx45Fau+GiCW6rQrG9je+0sPMzWGAkiP znnFsinBneRuS2mvNyaoUBUFVF7aSLhFMMY7Hoh/ggBZfZLOWM/tsLb8Hd9n5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B227119F2F X-Spam-Score: -2.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: In2tQDf6d5cl Hello, S=C3=A9bastien Miquel writes: > Subject: [PATCH] org-src.el: Use `replace-buffer-contents' only for emacs= >=3D > 27 > > * lisp/org-src.el: Use `replace-buffer-contents' only for emacs >=3D 27. > > It was introduced in emacs 26.1, but earlier versions made no > guarantees of correctness. I tweaked the commit message and applied your patch. Thank you. Regards, --=20 Nicolas Goaziou