From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AOEpJ+nm0WDZowAAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 15:34:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SIDnIunm0WAPYgAA1q6Kng (envelope-from ) for ; Tue, 22 Jun 2021 13:34:33 +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 05B24245E2 for ; Tue, 22 Jun 2021 15:34:33 +0200 (CEST) Received: from localhost ([::1]:39754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvgXw-0004gd-0U for larch@yhetil.org; Tue, 22 Jun 2021 09:34:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvgX6-0004Y9-C3 for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 09:33:40 -0400 Received: from mout01.posteo.de ([185.67.36.65]:38241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvgX4-0002w6-4p for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 09:33:40 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 94FCF240027 for ; Tue, 22 Jun 2021 15:33:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1624368814; bh=sCAYNBUzut2xqcegB9a0AI48ZQLZe5SiK9S0/6vDoes=; h=Subject:To:From:Date:From; b=fI//ylz0hJpFkkH0in4XYKHCrVZaYagle5fvAQj0pPpkzn7e0dYjc9Ci6bJ4GtrFl 0S9z9b9lxn0QicomS/Ma04SB0fQ0StpSddpBEQYKcMd6wOLq5erer6ocY7tu7B72EP yum170Z/9VjjcVpBy8oTTCG2MJ7UvsIjkcD0ToBWNH00TTWYAke++DUIctHiXUIRHf msqHAuXvjZfRCHGb2kOinV3X2dqrL1vNlBFfA8nY3rwYxUQKCbU2SF8RUaYPgFWS69 hOYaSpv+SRkYNAijZg92/gzfXSNN39sTWmfsJRgEgDIulBjEXhBoycKiJ6wvzWPUtv PkhkG2l6ZpLAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G8S5n623Bz9rxT; Tue, 22 Jun 2021 15:33:33 +0200 (CEST) Subject: Re: org-edit-src-exit randomizes / mixes up code in source-buffer on exit To: mcg , emacs-orgmode@gnu.org References: <1d8c2e28-a7c1-7d37-152c-2aac07b54978@posteo.net> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Message-ID: <8bf7039c-4d61-5a66-ec50-1c6a94f9a7ec@posteo.eu> Date: Tue, 22 Jun 2021 13:33:33 +0000 MIME-Version: 1.0 In-Reply-To: <1d8c2e28-a7c1-7d37-152c-2aac07b54978@posteo.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr Received-SPF: pass client-ip=185.67.36.65; envelope-from=sebastien.miquel@posteo.eu; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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: , Reply-To: sebastien.miquel@posteo.eu 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=1624368873; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:dkim-signature; bh=1BGehY3EtH1UmmVpLVEkpoIsbsd/ISWZgmlhe3V53yw=; b=K/kiDPA6uDn5I74fsPBGK/Cng2MQ7XDEVJ0eCLDuelePtNT40SIhHdK5lElGcrI0xWzJHB JtYKo1GKkZJqMGmR4mJSczpRiITa6qQvAxQVTJnfK+0AazqSPD6IOlq/DYJDemOpJggOOF wQyNRTbRc1f5IPmRHrJggKDuhlvweYT90Y3mdDwV7n5JMx7I8jYJZy4lE8sZcKdYKwSqQW ypuFUCSgy6IrXtXxtnAqHbnKO7nKeluENqATuSNjiC0DEa+e96SZ/htyhPhHdRTiODdH/d Cbub3VifCig7LJUdZKOBgM867BllWPtVZVll5borkvi2k0XzEwmqaYbC2rb6Cw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624368873; a=rsa-sha256; cv=none; b=Ho86i0BH0NL4gNzobCAVSEa9K5HWvR6VqgTxOLkGvn5hP/5lG5diATiJq31iHAJT2APY6Z r7E5zRUF559dfDWHeoOwrl7eJj4epb0z/EdX68+b7+Rm9IAlMtDeZOKyh7Emx2E9mFJoE9 j1LsdtiJVvNT7iUY0pe7c9DTmnx4yb0Jt/b4S7j+e/B3jE2t+/bY2001W1IOZuIVjGAMTN 8Y6pTSlXcU9Y6fYlgTa+BONrmA0T53PAg+fSRE3UYISPAdVhfjJJF3PUVVDrlsWmevl5X/ n8gi71HS1/OaE7CvJ8uIykEWjLgwDggg5K6hwN14u9yXCQMJoXpMTSfbo627Jg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b="fI//ylz0"; 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: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b="fI//ylz0"; dmarc=pass (policy=none) header.from=posteo.eu; 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: 05B24245E2 X-Spam-Score: -3.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: KmUk3gwaP8WB Hi, This has been reported before. There's a patch that fixes this here : https://lists.gnu.org/archive/html/emacs-orgmode/2021-06/msg00007.html To fix this bug, you can can either apply this patch, downgrade org, or update emacs to 27. Could anyone with commit access have a look and apply this patch to master ? Regards, -- Sébastien Miquel