From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id atnxI2smJ18cTAAA0tVLHw (envelope-from ) for ; Sun, 02 Aug 2020 20:47:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KEVkH2smJ19WZgAAbx9fmQ (envelope-from ) for ; Sun, 02 Aug 2020 20:47:39 +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 14D6E9402C2 for ; Sun, 2 Aug 2020 20:47:39 +0000 (UTC) Received: from localhost ([::1]:57152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2KtN-00053A-LF for larch@yhetil.org; Sun, 02 Aug 2020 16:47:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2Ksz-00052n-T8 for emacs-orgmode@gnu.org; Sun, 02 Aug 2020 16:47:14 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:46463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2Ksy-0002iM-7U for emacs-orgmode@gnu.org; Sun, 02 Aug 2020 16:47:13 -0400 Received: by mail-lf1-x12f.google.com with SMTP id i80so19399689lfi.13 for ; Sun, 02 Aug 2020 13:47:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=therning-org.20150623.gappssmtp.com; s=20150623; h=user-agent:from:to:subject:message-id:date:mime-version; bh=SZFjpL71bzQtVA8r+SzOi/R7+e62Fji8RcnhbJ/NUIU=; b=DScSdO8tId9L01OIv5Ps04a2lY1l6e2Uw+JZZf6OOuTxS6bSY7qhLlA+w6EVCHTM1x Xqskt69jUok3fWXvvD4AflWwj5XYENf4diNfwQ3ZcmnTi08MfE6V8ubArqkYdfuJu6R9 vHe9Drr6xw+fS1FnjrBTuU2ddm5B4E8zp2vBwv6qRrwI0JjGU0lOVBHTFBcR4rIJeInK t9vTA3aqS548LLOS+jpGrMnhoupGiNSmBeLN6xyj6PchwvKMNWLrl39X8ZEB1zp21jp6 oMfZbXTZY177kIduLiU2QrDesynt/rP41+c0btYognERGGzyGxRd/lMgJYBL5h3SS+yy UEUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:message-id:date :mime-version; bh=SZFjpL71bzQtVA8r+SzOi/R7+e62Fji8RcnhbJ/NUIU=; b=UX1D1cNdgN8YmGMXQS+SrljpHG7mMtcqGuQb7Z86gxfCbujuWugKazx+DVDwuLM5hT SzQVfRHSAJRgbd8zk86NONlPX2pIOPy3DfmX+l0ZGeN+myTLvOKWcA2beuhDqv91WdY8 jkzE4bUZ7jRSRgr8BDVEBczuigrbShT9sGwsiLJgxGjZn6fDNDHZAmqEUjGQx0/9PXes N8DIJjH/Bg0PiZYa/8oSpJspiH7GKS7Wmbqek/vQEwZgAjMkh5W9H4b7hGor46JFCd+f M5PnUQgS8gh5SBU5t6It17SgtwqxNJvtXb7qbGjpPnb9E2GiMappC4VyQD71x1xuWXvj hwEA== X-Gm-Message-State: AOAM531lqW7or7dKaLj2pwV13QhCmzj176re1m0PqTZPQ+k4zAPiQfzX 7a5ULQnFcgwJPwhIbWwU6w7rUg3b5uUuvw== X-Google-Smtp-Source: ABdhPJyGHH7G7avliKIrOBFVxuN5534JaHtEpV3vDtthRk9t3L6fE3xjsJJEtjz+5YH0dnizJTGbwQ== X-Received: by 2002:a19:6b0e:: with SMTP id d14mr4144891lfa.103.1596401228515; Sun, 02 Aug 2020 13:47:08 -0700 (PDT) Received: from magthecomp (c83-252-53-114.bredband.comhem.se. [83.252.53.114]) by smtp.gmail.com with ESMTPSA id w19sm3419750ljd.112.2020.08.02.13.47.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Aug 2020 13:47:07 -0700 (PDT) User-agent: mu4e 1.4.12; emacs 27.0.91 From: Magnus Therning To: Emacs Org Mode mailing list Subject: Setting language on result of code block Message-ID: <87ft94hj1w.fsf@therning.org> Date: Sun, 02 Aug 2020 22:47:07 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::12f; envelope-from=magnus@therning.org; helo=mail-lf1-x12f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=therning-org.20150623.gappssmtp.com header.s=20150623 header.b=DScSdO8t; dmarc=none; 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: -3.31 X-TUID: imG3Cdv/cOYt --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Is there some way to specify the language on the result of a code block. For instance, if the block #+begin_src bash aws --endpoint-url=3Dhttp://localhost:4566 sns create-topic --name the-topic #+end_src gives the result #+RESULTS: #+begin_example { "TopicArn": "arn:aws:sns:eu-central-1:000000000000:the-topic" } #+end_example Is there some way I can specify that the result is JSON? That is get the result #+RESULTS: #+begin_example json { "TopicArn": "arn:aws:sns:eu-central-1:000000000000:the-topic" } #+end_example /M =2D- Magnus Therning OpenPGP: 0x927912051716CE39 email: magnus@therning.org twitter: magthe http://magnus.therning.org/ Every act of creation is first an act of destruction. =E2=80=94 Pablo Picasso --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEKwgezhW98spw4aSSknkSBRcWzjkFAl8nJksUHG1hZ251c0B0 aGVybmluZy5vcmcACgkQknkSBRcWzjk4kA/+Mzxj4G7pSIpw5ryBFBilcrIC8qZ/ S4oxtVVewGhqjCyRhaf8ZEtvu0ANGcgIPpkW+C+fBtoukk7hqZk+6iTX08xRzGYS FTydE9VuMXHSUessW0tNXhoJJO09ZXWhx4L74+ZULwf/+gfmUnyjYwCCnCJ6xLfw /B3wqeRwa8ypMs7wJvg4kenu78aXxVlY0/0kjHjjHwPQdvaQmpzbJ/LlgqNMm/KY 882yAsEPizFNom0JeEUXSz+g9EHXt6Fvzhc22fm68t+SnqfJcGQ4VqaiEmJlyZPu x1KTQ0EiUUCMy9h4UKGp6cwsc50azkZsERUhLrqBs5/QZhOsjAohFoAyrFflgUy8 tjSTFdpGJb91cQtBBKJwi4+HMpzytYjl9Wf3cWHhzOAMZZzRApeRutnioetRiUOu pMKjhiKWVI/GxZ1Hx8myew84HGoIICDgX+iS8XWtaVV/gF2MRgyUxxkC+e6FwCOx 9+Ldo4rS668NIfXYQtF+vA6MPIfRkMuvaWpdsgF1+wXcEBjafY8ciph6WtBihv9S aClRTS5kpcE561AU0b70P/B7tqroXLvrZUzWKVEFCpWRfxz4B1KfPcFEg8WvFdAX +GQFrKVXrYv9jJwNn4n8FFseEq/A9MOp8TRK4GRFA8QWlui9nfTLdtyRD/jVfh6j hn4LJSkgYsOm5Pk= =AXSO -----END PGP SIGNATURE----- --=-=-=--