From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cBT8H7uSqmVIIgEAe85BDQ:P1 (envelope-from ) for ; Fri, 19 Jan 2024 16:18:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cBT8H7uSqmVIIgEAe85BDQ (envelope-from ) for ; Fri, 19 Jan 2024 16:18:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FdPGSAm1; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705677499; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QMYPGUYIynNOsYOyNfK9mNieUjZRlxMjzXUG3D8B5wc=; b=fM9W70nqiT4a7ZCekwqvzs4AbAARx4J8CvYhxRswkNFGgLm1r+o404PlQRhYfPV0wUlkSn PCxTqQjnjxi2MfsqKl8SpGVxK4ZDBEYbN5g6CbA5a3ESX7s96wnenETw69NpUbP9IetW9J SHTwVulOgeenjZhB9uiPY0G2D61+FVqDScaxoIPbXGjIovCW6XUHhgSeSDz9YMhjt23Aws dghcAxWJ5V84dhEywqvwrt86YoA0YR+y4qhkfF/JwopoCBuyRRH1Tb8E7CmlElgbarYk7J pMYVXXKSVWCIdHcFbcrnRRymY8pcpmxvooPC3wuderD6XH+mLkLbrJ2fSOHbMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705677499; a=rsa-sha256; cv=none; b=N/3fwca0DSxK7NdOcBDpj//Y35V/UPsM8x2GWXaxS5BeWaxVck7yjSAop3AiYkcx/9Dj7Y iDQx1liDZKCNbTFUrGU78TEvG1jxSqaBmwV2pIj4FX2FQf/+3BLU+Yao4ndpq11e9dL3Uf aW0+kfcJ3wnsIlcApewEje9hChHIBwC5/iJ82rhC3VvXn8LDiQSA1ub4T/xrtOss8WlRLb RjpSLnVuUpFiwML9fjBvXgJhR13NoJrcLjb17KsOoILPs6M9VfrahHlWDh/OSZQdLOey/+ yKpw5LRObGwavl8JOlqosspjQbYDitROQOKbDaIeDsSMmakJGhidJRR35zEQKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=FdPGSAm1; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 462CAEF28 for ; Fri, 19 Jan 2024 16:18:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQqd3-00077Q-52; Fri, 19 Jan 2024 10:17:57 -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 1rQqcz-00077B-7a for emacs-orgmode@gnu.org; Fri, 19 Jan 2024 10:17:53 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQqci-0003aD-EZ for emacs-orgmode@gnu.org; Fri, 19 Jan 2024 10:17:52 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A0C02240104 for ; Fri, 19 Jan 2024 16:17:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705677454; bh=3oDdv6tXWOeKJVuPAvZBI9bxpm9j1l/Qc5p/1/MCiRA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=FdPGSAm18JZQxDT9SQswG6pa3Tp08uj47/HbC2tgXierpWc8yYeEkA63zDDt2NyLr 2mjYO3ZKsBhzM5oZ+WMT2GQUB7TQuVh2DGgC3kmjFVesIHurWuhwqKoGWoXpWkvlwd hFMmotq9YK7GAOyFNX5TgOfbSX9ATg9ZELv5BGCIN3Z6l+sWQsxecAwRQFzlVte0JA EcWAEPQYMDxBhfe4286maKCHCTUsrolxbet8eyj15ytqbA2b1RsSjwAe/BXIDtzwYs HB8xTIWQfstztnsKaxNy7aUyffaUfQcErpt1J2h9XPue5FIZ0+2FwKogJoRBGxW+Yj jcviMiEEKM/XQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TGjsV0DC9z6txb; Fri, 19 Jan 2024 16:17:33 +0100 (CET) From: Ihor Radchenko To: gerard.vermeulen@posteo.net Cc: Emacs orgmode Subject: Re: [PATCH] Make command org-babel-detangle work interactively In-Reply-To: <4e7b198382642ed3572e3fe42e6d1abc@posteo.net> References: <4e7b198382642ed3572e3fe42e6d1abc@posteo.net> Date: Fri, 19 Jan 2024 15:20:50 +0000 Message-ID: <877ck573jh.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.55 X-Spam-Score: -9.55 X-Migadu-Queue-Id: 462CAEF28 X-TUID: k32q9uQVxYXq gerard.vermeulen@posteo.net writes: > org-babel-detangle is an interactive command but > M-x org-babel-detangle always replies "Detangled 0 code blocks" > This patch makes org-babel-detangle prompt for a source code file. > > Obviously, I got bitten by this. I suspect that you may have some misunderstanding about how `org-babel-detangle' works. Its docstring says: Propagate changes in source file back original to Org file. So, it is expected to run from the tangled file; not from the Org file. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at