From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MGEsFRhskGW0fgEAkFu2QA (envelope-from ) for ; Sat, 30 Dec 2023 20:14:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oDe3ERhskGXghAEA62LTzQ (envelope-from ) for ; Sat, 30 Dec 2023 20:14:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pfYvzDFY; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703963672; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/A1DHxg9gcQw6Qq0e01q/Oirx/veBms6w64kmwQEQ9w=; b=cG13RtfeQZRWzyfv5WoSLFZqSwMYed4cQg8RApLmaQAafqKhB6svHioE+zIekGXw1YHfCo iqLLNpmN5MpRYaGVxW9oWfU7bpEwbELYQMZ3DvRScgb47GK/yikG0f386nm1G3La399zFE YMWima7b6meT+M+3IS1lwDiqMaU2d9xLGpE8eyXZywMZ4psPaw4A7KqQZ3326yhh9k9F0s LPkbPT1kZ/2PEoZhXUGKBt3oCS7xGq8GGKkP/lOnay4T8OQDqGHoopD+RIt6ivcJPFeBVm hW3gkm/DK0Xb+79KGBxCCvGgfy2pXRfBb/tzzZusIRYKZwIpDoCxF5s9juCY5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pfYvzDFY; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703963672; a=rsa-sha256; cv=none; b=eWHNwbVe0QDduyZuVccsc6KqP6vmGapM3GYAzc2sIskiyo9/nGcqQWh7Q63tKIYsk+Kp1k i93XaAqitrZ26midd5hs2HywhfamtNvOJzF4Qo1X3EnXuOBPgrqCkje1r8kSg0NFEljZA4 mqWdUL1oiNj4UAVvGMsMaGQxRykwl+szABpDW+Dt7t1ZuHz2ruHj3p9qink4SCLs5QLEGP lJFKqWl7qYxEMeGHleurMn+LqeD5NuVQNLefyfy7MfUT+FTh6mE92++awNbqID0YUAbh4m PN+VONUZSwXYVlGmbg3i+7EBGNDmUhofde6DJ7RCCSfq+Wjh/XOeTDLmWYfGPg== 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 3894110CD6 for ; Sat, 30 Dec 2023 20:14:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJels-0006Xu-G9; Sat, 30 Dec 2023 14:13:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJelq-0006XU-Nd for emacs-orgmode@gnu.org; Sat, 30 Dec 2023 14:13:18 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJelo-0000D0-GH for emacs-orgmode@gnu.org; Sat, 30 Dec 2023 14:13:18 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 61270240027 for ; Sat, 30 Dec 2023 20:13:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1703963590; bh=kSM/n20jdDGmkGQWsUzj0QpNj7jRkogBupC2/P7k/SM=; h=MIME-Version:Date:From:To:Subject:Message-ID:From; b=pfYvzDFY+RZCjk4qVzaN7U9jrxMMWLRAMUsOcpSprtpq2bc2WMOymDKmInoUeHe+P /dY/DlBZ0VVMkjDmkGrRBTMLd0yBJtjbbHm/kVcmoEP3QcmKYOjdso+d9eBMvOfQC/ lV0GwBJDO4aRiYh6ZVHDiEcMsb0Y6g3ztFrp3AeBY5mQSalh8FzzTs6pm9GKUbWyQY 5VgCuMkVhyr/XGGuWAIFHIANlypjW9r4QBkcHjjC7CmSnt7Md3ZFSA7dOnmBW+zt++ 3wKTZS6YpmuAi+rajJ8eCYeipBvKdrnvgva6i/56PsQgWk58/Lg3wYQDk3lsE7TXof Dh0kBViVtzBlg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T2X2Y6yKGz9rxM for ; Sat, 30 Dec 2023 20:13:09 +0100 (CET) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_20afea3db2a8bc204ca79e6c3215456f" Date: Sat, 30 Dec 2023 19:13:09 +0000 From: gerard.vermeulen@posteo.net To: Emacs orgmode Subject: [PATCH] org-babel-demarcate-block: duplicate switches too Message-ID: <7e41f9b6e9026a404e256f33371e974c@posteo.net> Received-SPF: pass client-ip=185.67.36.65; envelope-from=gerard.vermeulen@posteo.net; 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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.98 X-Spam-Score: -5.98 X-Migadu-Queue-Id: 3894110CD6 X-TUID: 4sraWJLxOpUV --=_20afea3db2a8bc204ca79e6c3215456f Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, The purpose of this patch is to duplicate switches when org-babel-demarcate-block duplicates headers (meaning point in the source block when demarcating). Regards -- Gerard --=_20afea3db2a8bc204ca79e6c3215456f Content-Transfer-Encoding: base64 Content-Type: application/octet-stream; name=0001-org-babel-demarcate-block-duplicate-switches-too.patch Content-Disposition: attachment; filename=0001-org-babel-demarcate-block-duplicate-switches-too.patch; size=1369 RnJvbSBkMDQ2MmYyMTU5NzE3NGNjNGZhZDMxYWQ1NDA0ZmJhYmU4ZTY0MTZiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBHZXJhcmQgVmVybWV1bGVuIDxnZXJhcmQudmVybWV1bGVuQHBv c3Rlby5uZXQ+CkRhdGU6IFNhdCwgMzAgRGVjIDIwMjMgMTk6MjU6MjUgKzAxMDAKU3ViamVjdDog W1BBVENIXSBvcmctYm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GUgcHJldmlvdXMuIgogCQkgICAgICAgIChpZiBh cmcgc3RhcnMgaW5kZW50KSAiXG4iCiAJCSAgICAgICAgaW5kZW50IChpZiB1cHBlci1jYXNlLXAg IiMrQkVHSU5fU1JDICIgIiMrYmVnaW5fc3JjICIpCiAJCSAgICAgICAgbGFuZworICAgICAgICAg ICAgICAgICAgICAgICAgKGlmICg+IChsZW5ndGggc3dpdGNoZXMpIDEpCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgKGNvbmNhdCAiICIgc3dpdGNoZXMpIHN3aXRjaGVzKQogCQkgICAgICAg IChpZiAoPiAobGVuZ3RoIGhlYWRlcnMpIDEpCiAJCQkgICAgKGNvbmNhdCAiICIgaGVhZGVycykg aGVhZGVycykKIAkJICAgICAgICAoaWYgKGxvb2tpbmctYXQgIltcblxyXSIpCi0tIAoyLjQyLjAK Cg== --=_20afea3db2a8bc204ca79e6c3215456f--