From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MO6BNxFo12RMswAASxT56A (envelope-from ) for ; Sat, 12 Aug 2023 13:08:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6L2LNxFo12Q+qAAAauVa8A (envelope-from ) for ; Sat, 12 Aug 2023 13:08:01 +0200 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 44D875DBE5 for ; Sat, 12 Aug 2023 13:08:01 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lKg2D54K; 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=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691838481; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=//JkxmcFScSGiaLoTyWG835AG5u+LzPMorvdkLJgoyY=; b=B5+m4+KfpMSnCaOl1XDyx1l8bXYPR6KF3cTDoD/ezl+kp2lJ0QM+kvHg68Ig+mdBC8Zmbb 9IQSaaPvR35iIIfGsF3D1Kmw3mk6FItQXjOYah9qEsb0FWkyXxO4t7Q2EdFdzpEuVkH3Bb pFE8Wcge8GsvmcMeu+E8ppZ5W/59yGwWp67KHpsdW45mVeljx29ph8Y3efJP0VqaWbChxW Adqiq/AGaX168WlnEEgbIU9Eq4KtcG4mtABSbkGZT3LgBQ06/h/jmCRmbzNPS2/uqONbCN 5AbT2pNvN9I0Odrt9wN2AoWXzBdesHE4USwi7RvP7z+jj7e2TAsSNDtRd6xfqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lKg2D54K; 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=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691838481; a=rsa-sha256; cv=none; b=gD8WAAQAeww++Mbehg8ulVdjqHpEiB5TGtkL86NLfBiI+m9Nv7kJguHJZqvxKPNDaRglFZ TynG2yc/PjZUBOKJujK7yB6YLTOlZvycGH/sdFgvTHWQwGf9dDi04VuAq0WBCyMC88MAAd GcM+YVNuHkhDbQrUozne4vBwucLmlNEpLbV1Vu2mVU2nYxuqQwILfNpF3cplB5zUAgxaN0 qgWbl5oPUfnwHQeOZ5MGFB35E0ctwC2kb9L42nWSwnbjZp6h/xCk4sBCtLJxJR7Wnn7zZj DpZPCqLtAgUek7Nd9YhVJZ6cVfb24IIqaTR6sCxxv+IlJ280tnGCNNyX+1ERlQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUmSs-0005y1-Fg; Sat, 12 Aug 2023 07:07:26 -0400 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 1qUmSq-0005xZ-Fs for emacs-orgmode@gnu.org; Sat, 12 Aug 2023 07:07:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qUmSo-0002FO-K9 for emacs-orgmode@gnu.org; Sat, 12 Aug 2023 07:07:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2E558240027 for ; Sat, 12 Aug 2023 13:07:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691838440; bh=n+MUXTCr2uk8dz5Kf/mBCK5lZ0VZVF9mAW7d/jqBqG0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=lKg2D54KaDrLGTb8a4JTR5mZzzTGvo08x+hSXc/wy2hk0danpxlrJWqmKQ5sh9P/M nFqhaaWvUdOoJHX8dHH2C93bKC72Dnsam/Vafs3J7i2qYcvLg+9Z69PIqpVPI8qJYD TRlOnovhpbdMeZAJFEuESTXNQ/qjs9gApOBxJUtCcCQew5I2gdxcdAvtb9qwATwuAT QbtaS7QNUBPd89d1fU1BjrdlPVl5WLXq3EwURVLt56bdJzHC4xn316AFQPyW10ljA+ LoXYJ2ij0klUSFJ8kVu3LAa0DpSNgiqQ4m+TdiBdV/hzTKFQwEFbI2W+8qPANZ9iTc QgVYgn/C5h1qg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RNHtb36g4z9rxK; Sat, 12 Aug 2023 13:07:19 +0200 (CEST) From: Ihor Radchenko To: Edgar Lux Cc: Emacs Orgmode Subject: Re: how can I get the output of a =#+begin_src org= in the current buffer? In-Reply-To: <1049610247.65669.1691837980727@fidget.co-bxl> References: <1049610247.65669.1691837980727@fidget.co-bxl> Date: Sat, 12 Aug 2023 11:07:45 +0000 Message-ID: <87msyw34e6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 44D875DBE5 X-Migadu-Scanner: mx1.migadu.com X-Spam-Score: -6.55 X-Migadu-Spam-Score: -6.55 X-TUID: 1i9MThzbQ2kB Edgar Lux writes: > #+begin_src org > =C2=A0 #+latex_header: \usepackage{nil} > #+end_src > > What I want is to get =3D#+latex_header: \usepackage{nil}=3D in the curre= nt buffer. The documentation (Org-info and the docstring of =3Dorg-babel-ex= ecute-src-block=3D) says that this command would > #+begin_quote > Insert the results of execution into the buffer > #+end_quote > > Tips, advice? Thank you! See https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-org.html You need #+begin_src org :results replace =C2=A0 #+latex_header: \usepackage{nil} #+end_src > - There is a typo in the info pages (parses as see see; remove see from b= elow): > (org) Results of Evaluation > #+begin_quote > The =E2=80=98file-desc=E2=80=99 header argument defines the descriptio= n (see *note > Link Format::) for the link > #+end_quote May you elaborate? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at