From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wIrAB+oXvl8hSgAA0tVLHw (envelope-from ) for ; Wed, 25 Nov 2020 08:38:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id b1hSA+oXvl8vQgAA1q6Kng (envelope-from ) for ; Wed, 25 Nov 2020 08:38:02 +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 0A550940340 for ; Wed, 25 Nov 2020 08:38:00 +0000 (UTC) Received: from localhost ([::1]:41692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khqJK-00073B-Oz for larch@yhetil.org; Wed, 25 Nov 2020 03:37:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khqIc-00072w-To for emacs-orgmode@gnu.org; Wed, 25 Nov 2020 03:37:14 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:57683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khqIZ-0002pn-HF for emacs-orgmode@gnu.org; Wed, 25 Nov 2020 03:37:14 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E5F2CB76; Wed, 25 Nov 2020 03:37:08 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 25 Nov 2020 03:37:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=HTgqYjPxHcAQLoTxnFdJiQzdN6 PSuVkmOvjpeEHmvMU=; b=JRhC+l22xPlNxPh1wfu2hJW06jVqx+wUk/tjJJicKd uscrUcE4zx7BvBceEpVU/wBnkjKgt3zRJ1I/nTtyVu1DDEeZ/A+lsyeSgdc/8y35 VJTV4n0qzXm1Amkn9wnoaiKNEkjflWWPj8jiVq5Cx6VNGNnHgTcOXBUriKKFWxGY y1paUlQwxG+Upt+ykLJ1R1rINvW/5rbczIgMBpPwP5s+xz7g54rOepMakfGWb2+k k0DEMH74JQXlta9GjGI3gXmbpf961DzAPR1SZSeims9VgBkx4jy1rS/3Quo7QVjY pIN62qsOS9y2vGT5xidx5MAiZ6LnvUUHNyokvwfTqTTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=HTgqYj PxHcAQLoTxnFdJiQzdN6PSuVkmOvjpeEHmvMU=; b=PTf04zvBGAsi+ypc6um2gs s7cqnSlNwALPszr5vq6JSSfniNUZvGsdQ6jVHVEWrhaqRJhy8F+w5vANruBB1aBS KgSXKo2Q+Gv27ZJxZ56AD13XjEdUesEsJywfkLiTLXrPzHGGbeJaKUA+QEbMLlWN xbsOrIMljVKVVaN1PQjsShPBIf3B2BzwvSSXHFGzltSUJ5PpeIwZ3c0hJQIud5iY LndhisbeyXcxk2qGnoki13Ayk/JImeQEVM1P6WGrlE/Nyv7n1PAzSwykIcfczTTI mkSz9lOVMK1iXI/szluCzEZL6n5A+6cNThGMAjqQbAqla/wvBTaIi8SVeMdNye7w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegledguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffujgffkfggtgesthdtredttdertdenucfhrhhomheplfhoohhs thcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh eqnecuggftrfgrthhtvghrnhephfduffeuhfdulefhgfelueekgeduveettdduudfhfeet ueegvdevtdduudfgffefnecukfhppeelhedrledtrddvvdegrddvfeefnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhoohhsthhkrhgvmhgv rhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Received: from Lenovo.fastmail.com (ip5f5ae0e9.dynamic.kabel-deutschland.de [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 319063064AAE; Wed, 25 Nov 2020 03:37:07 -0500 (EST) References: <87a6v7gdej.fsf@fastmail.fm> <87sg8yivr4.fsf@guelker.eu> <87mtz6fy8z.fsf@disroot.org> <87r1oibeh7.fsf@fastmail.fm> <87eekhg8zc.fsf@ucl.ac.uk> User-agent: mu4e 1.5.7; emacs 27.1.50 From: Joost Kremers To: Eric S Fraga Subject: Re: Differentiate source blocks in export? In-reply-to: <87eekhg8zc.fsf@ucl.ac.uk> Date: Wed, 25 Nov 2020 09:37:02 +0100 Message-ID: <877dq9ygr5.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.19; envelope-from=joostkremers@fastmail.fm; helo=wout3-smtp.messagingengine.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.fm header.s=fm1 header.b=JRhC+l22; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=PTf04zvB; dmarc=pass (policy=none) header.from=fastmail.fm; 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-Spam-Score: -0.71 X-TUID: T5o8hiBDKBLi On Wed, Nov 25 2020, Eric S Fraga wrote: > On Tuesday, 24 Nov 2020 at 23:02, Joost Kremers wrote: >> That, unfortunately, seems to make it impossible to edit the source block as >> Octave (or in my case Python) code. Pressing =C-c '= in this source block gives >> me an Org buffer. > > Take away the begin...end org block itself which I only put to protect > the org code for the email. You should then be able to edit the src > block with no problem. Oh, sorry, I didn't realise that... > #+begin_myclass > #+begin_src octave > y = 3 * x + 5 > #+end_src > #+end_myclass > > If I have point within the octave src block, C-c ' works fine for me. I like this solution for the "Org-ness" of the syntax, and yes, =C-c '= works, but font lock is gone... -- Joost Kremers Life has its moments