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 MNiZA9aJymDEYwAAgWs5BA (envelope-from ) for ; Thu, 17 Jun 2021 01:31:34 +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 6DghO9WJymBvagAA1q6Kng (envelope-from ) for ; Wed, 16 Jun 2021 23:31: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 907538E50 for ; Thu, 17 Jun 2021 01:31:33 +0200 (CEST) Received: from localhost ([::1]:55246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltf0O-00054j-FN for larch@yhetil.org; Wed, 16 Jun 2021 19:31:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltez4-0004og-Lq for emacs-orgmode@gnu.org; Wed, 16 Jun 2021 19:30:10 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:40806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltez2-0007Me-LU for emacs-orgmode@gnu.org; Wed, 16 Jun 2021 19:30:10 -0400 Received: by mail-wr1-x434.google.com with SMTP id y7so4455502wrh.7 for ; Wed, 16 Jun 2021 16:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8jSW9p/2Qg9qofnctbFf2zbvsd1QXYmBL0ADe+qE2IU=; b=Xhxkq2OK3k0oQkA1X4NlG8A6WwZtcLB6eT2e73OMTBd0WSj0TJgnQCJ9AzgfpDAs9f ZElJGZwAiCSNg8WZxiiNtOYRziVQ9YbJvppA+wyo9iSX//zBYKCVdkWOCcH7dHQxd8px H3GxVMKv9t2PCLC1LWCHwq33ip0smnok6IYXeEyPMhsBT4nzUFsofRweEs0yb8+jY+Mc bt0trfJezqNBZAlzDdpwIzi99i39a/Q5vt4g4U2LhKElwlyUsuZvxuackRsEc6vrffA/ voYEKa2+0H6eoh7TSP1PftIhrg2xgXweeiNzkN/RD91MtWcPDEZ6T3EQFdlHozJ4U0js BU1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8jSW9p/2Qg9qofnctbFf2zbvsd1QXYmBL0ADe+qE2IU=; b=AxTOxO0mbBTtXHBssXQYLXXyv9R824T7+rzve8hljiuBIiG764DN7frFLdkbF2hkbC F92dnTgnmBxlSXYO3aSdURLTNUcdan0NIuUqHYcuJ5HXFrwYB5t1WNOVQYjJEnbzZy6D W2vlyVTXQ0d1nbNKhdLe6hODzVzo4xWBCoPderkZCIsQFSkdWlcnjrkYj/SbkoqIKBGc jJZP78gDueLgVs+O1G+VTAtwOt93iDsyhwUDLsUf/7y349jF1tTmuO7w7Ux25yLhCjQ5 aX8d3ogTOuNI+1JHY6pbAtODG9In+9vLhEjyVYaWFfz5nsiSXlDhwsf7D7j49WNu70zj 5MUA== X-Gm-Message-State: AOAM533k3m3y2BcmcM2ZNWJvIoZAHb9hU1q5YG3r8D7YvlZ6XzmEZ6TN 4n+tLAKjQ63qzuxAh7kl+DYdW/KlCUkSCR0QWJX/DrwAgtU= X-Google-Smtp-Source: ABdhPJx6G3iOaKToCrbseYL/Iv3VkHF9qMUDK/177nf2MjMoQkQwxfXrTsKEpPje18Dv8z0W/e2U5mM29OszaPwqq4s= X-Received: by 2002:adf:f5c9:: with SMTP id k9mr1868564wrp.180.1623886206076; Wed, 16 Jun 2021 16:30:06 -0700 (PDT) MIME-Version: 1.0 From: Tom Gillespie Date: Wed, 16 Jun 2021 16:29:54 -0700 Message-ID: Subject: [PATCH] ob-core: tangle check library of babel after current buffer To: emacs-orgmode Content-Type: multipart/mixed; boundary="000000000000781f5105c4ea7822" Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=tgbugs@gmail.com; helo=mail-wr1-x434.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-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: , 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=1623886293; 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=8jSW9p/2Qg9qofnctbFf2zbvsd1QXYmBL0ADe+qE2IU=; b=HkPPFM1xciCuxjmHWYkHQBp/E8YORWOf2XCstnNqId9BXsJvyZm4HRiULSAKL43JYbE4d0 5s1d+NlHzkoDk9xkMvnNrTwhZb1DQ6ZYcSseVGA5nA3T/EnQ+GB9Vk1FQHTuy2qkQYIJ67 FP3CsinkkgWFvCe24iB5/uGdFZQWorqPuWKj00SyWVIiMDEaRFS+6C3Gw1iWDhSSlknNtW 8ZBXpkRd9gW79iFdNEGnBN8ekMDH7bjPp/rLolgdCZeqOOVdXcGXSmuZtsSABGCE60IBN3 pySKvPW0ozIDq6W8r4k0884t1ZcZfpV+80zrzT4PrsEF5P0WgLKRN/xw8yUUiQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623886293; a=rsa-sha256; cv=none; b=hht4gGUO7WW1gciy6QP8JDv7uCPjXYdgqdab8fX6p9w5nGJgZkXwomnFcybPaZroKeyo0o yqF5jgnB2gzwvhCebi5ABQ1zwxzPpn+iVKzxqYMGaHmcLWRgoUnIx7aH7DEojrh4604EiQ RkeLYlXl+sG8WI864oA+7kJKQYPtN1/Ge9M7OmGqeoRZCdYPoNJJwUMSZToDM16qnKra5D yFG0In6Nr8s/OMY2aWv+n9UYLa6bSUUsucuUUc8xy6mfsJo7N1Zo55ifxsPxCVHjhmndgo KZ9CKTtwwu9alQnHehsX56S1qzLALBDW0cQRI8B0/aF6+UItmx6WsOvqjtl4Iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Xhxkq2OK; dmarc=pass (policy=none) header.from=gmail.com; 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.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Xhxkq2OK; dmarc=pass (policy=none) header.from=gmail.com; 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: 907538E50 X-Spam-Score: -2.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: +tUjnIR9EH4c --000000000000781f5105c4ea7822 Content-Type: text/plain; charset="UTF-8" Hi, This is a patch that fixes tangling behavior when a block has been ingested into the library of babel and then modified. Best! Tom --000000000000781f5105c4ea7822 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-ob-core-tangle-check-library-of-babel-after-current.patch" Content-Disposition: attachment; filename="0001-ob-core-tangle-check-library-of-babel-after-current.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kq03v3o00 RnJvbSAyMmQwNjg5MjU3Zjk3N2QwOWIwMTNhMTQzZTg5OWY3ODhiNDVhMDM5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBUb20gR2lsbGVzcGllIDx0Z2J1Z3NAZ21haWwuY29tPgpEYXRl OiBNb24sIDE0IEp1biAyMDIxIDE5OjE4OjI4IC0wNzAwClN1YmplY3Q6IFtQQVRDSF0gb2ItY29y ZTogdGFuZ2xlIGNoZWNrIGxpYnJhcnkgb2YgYmFiZWwgYWZ0ZXIgY3VycmVudCBidWZmZXIKCiog bGlzcC9vYi1jb3JlLmVsIChvcmctYmFiZWwtZXhwYW5kLW5vd2ViLXJlZmVyZW5jZXMpOiBGaXgg b3JkZXIgd2hlbgpzZWFyY2hpbmcgZm9yIG5hbWVkIGJhYmVsIGJsb2NrcyBzbyB0aGF0IGJsb2Nr cyBpbiB0aGUgY3VycmVudCBidWZmZXIKYXJlIGFsd2F5cyBmb3VuZCBmaXJzdC4gVGhpcyBmaXhl cyBhIGJ1ZyB3aGVyZSBzdGFsZSB2ZXJzaW9ucyBvZgpibG9ja3MgdGhhdCBoYXZlIGJlZW4gaW5n ZXN0ZWQgaW50byB0aGUgbGlicmFyeSBvZiBiYWJlbCB3ZXJlIGJlaW5nCnByZWZlcmVudGlhbGx5 IHRhbmdsZWQgaW5zdGVhZCBvZiBuZXdseSBtb2RpZmllZCB2ZXJzaW9ucyBmcm9tIHRoZQpjdXJy ZW50IGJ1ZmZlci4KLS0tCiBsaXNwL29iLWNvcmUuZWwgfCA0ICsrLS0KIDEgZmls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