From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WFDyLbE7C2SWGwEASxT56A (envelope-from ) for ; Fri, 10 Mar 2023 15:16:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2FwqLbE7C2TwMwAAG6o9tA (envelope-from ) for ; Fri, 10 Mar 2023 15:16:17 +0100 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 648CF309B2 for ; Fri, 10 Mar 2023 15:16:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1padWp-00083n-OM; Fri, 10 Mar 2023 09:15:27 -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 1padWj-0007nW-Pm for emacs-orgmode@gnu.org; Fri, 10 Mar 2023 09:15:21 -0500 Received: from mr4.vodafonemail.de ([145.253.228.164]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1padWh-0004fZ-5D for emacs-orgmode@gnu.org; Fri, 10 Mar 2023 09:15:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1678457707; bh=8kSGLlCUH3pEpK3XD8CFdd4m2+9Fb0UBpaWQW1k+o4k=; h=From:To:Message-ID:Date:Subject:Content-type:From; b=ZiuuVYvDOm0ckmGU4ujYjTgLW+828kAwB1cUgK25dFnvMyI/FAlbi8K0XKltd+Uf+ Lj9efEygwQrWIB8aQx4E7DwTxtQVmOeEr+fi3Eitmctv2P7DQ+dHW0XSDb18np16nG A5LgGovjBOiwgykduxQdpYhlOkABgDtn5VQzxV5o= Received: from mp101.fra-mediabeam.com (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4PY7Nq2zzvz1xsq; Fri, 10 Mar 2023 14:15:07 +0000 (UTC) Received: from mailbackend01 (unknown [10.0.0.2]) by mp101.fra-mediabeam.com (Postfix) with ESMTP id 4PY7Nq0xvcz2xjQ; Fri, 10 Mar 2023 14:15:07 +0000 (UTC) From: "Farblos" To: "Ihor Radchenko" , emacs-orgmode@gnu.org Message-ID: Date: Fri, 10 Mar 2023 15:15:05 +0100 X-Priority: 3 Subject: Re: [ENHANCEMENT] Make `org-babel-do-in-edit-buffer' environmentdetectable MIME-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate: clean X-purgate-size: 438 X-purgate-ID: 155817::1678457707-BD6C21CD-4AD7DE19/0/0 Received-SPF: pass client-ip=145.253.228.164; envelope-from=AKFKQU.9DF7RP@vodafonemail.de; helo=mr4.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_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.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 ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=ZiuuVYvD; 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=quarantine) header.from=vodafonemail.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678457777; a=rsa-sha256; cv=none; b=ZpNIwG4/V+AI8ULmqfPUGFk+ppkQvbEMmSi6lWmiuybZ2So4KRAfavD6AfTGQJo7BOfOzi 1eEJf8dh63S42Uk4s0cL3OsKoBdEqJKOi+n/5JXBwv+AY9haqqR1VYPiSU1Qzvr4g+2SHh gq7Yv4/joTRNUqtpdlOfclmUcAK9UcnryIduCsqB6KBE40xdywbVAv8+xdcJ6dIbC3Ja7k oaftxKC3XLD8UA42NG5HL8wY46ZhputBj57uugP9bE+jvtdVVlfB8FHcXhli9+CvQu0GkP xP47wGiYrg+e5RlvIqpsOnR4/S9JuAaw6tfzKC+8BZLqLmvqodfFGAo30QqJBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678457777; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8kSGLlCUH3pEpK3XD8CFdd4m2+9Fb0UBpaWQW1k+o4k=; b=I3EHG/ZigvXJuEslmC6obfCHYBXGS5/kWLM4TGVAlkuMelkjN+ypUQPEP8/JMzpQUUgXBj 1yJzci/PmILcZ0aiidkooP4UcHx031gZ0EqCWVY5/sqN3+6EzZdNU7ORnyr/FNa3az4dtE k0VZY1Z/+6oAlVJLlXoa84ADuPPCUMlvsQLlc05rH6lVud+09rYr41OFD6UXYzC5tF2t3u 3GKyRipz1ccl57lqzptWawnJ9QVBbGwg0bSXwIDVnBUNe++U5BwNKOc+g9EQMaJlXputrO uxuZhbz0XOG81FzMLSfkeMwgOdiD1KLx4bxE/pnYPZOO5XocmYgiLFj++ZBu8w== X-Migadu-Spam-Score: -3.29 X-Spam-Score: -3.29 X-Migadu-Queue-Id: 648CF309B2 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=ZiuuVYvD; 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=quarantine) header.from=vodafonemail.de X-TUID: lX2IKfe8DPFJ > We have org-edit-prep:lang functions that do initial setup in individ= ual > languages=2E However, they will be applied both when you call > `org-babel-do-in-edit-buffer' and in C-c '=2E I have no problem with these being called in both cases=2E However, as functions they would be "extensible" only by advices=2E How about org-babel-edit-prep:lang *hooks* being run just after the corresponding functions got executed?