From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJDGKQam02Bx9QAAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 23:22:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CPR+JQam02BhGQAA1q6Kng (envelope-from ) for ; Wed, 23 Jun 2021 21:22:14 +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 0D28224CCF for ; Wed, 23 Jun 2021 23:22:14 +0200 (CEST) Received: from localhost ([::1]:58936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwAK3-0008Mw-Oj for larch@yhetil.org; Wed, 23 Jun 2021 17:22:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwAIf-0008Le-CX for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 17:20:45 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:39626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwAId-0005oS-QO for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 17:20:45 -0400 Received: by mail-qt1-x82e.google.com with SMTP id b3so2593301qtq.6 for ; Wed, 23 Jun 2021 14:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=ic22v5clNAY4LFVmFpRfeM1Ae34EFpPB2vI4P/2AY2Q=; b=KSJ5q6+R6Ol++PZQeHX3WhqT9hihTvxR/PScQBKdqRTgh+JIv7JsttS8ArgK/Rc2iY y/grHDrnTM/lrA5kk560VDaxn5LTHcwkiXPXxCJnSNq6skAQq5Na7+vxqhdk4nxzHkPC OcLYd3McxbLl46dEugpW99t5GcLIF6yxBOJVZyepqzBWBD8An7Ow0G30Sxb5oLE53iZM /e7OJMDf55dursGgQrTke3vruYDLudXy8X5PGLNw2Ea7tLGKHPvArFBbEwgjQkhGavyf s36NuX1AGyzr+efB3RfjG76KrrHUb96mNzAjiunMQSUi2jJLb6C9g+uOn7tOGcCj8HeD +Mfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=ic22v5clNAY4LFVmFpRfeM1Ae34EFpPB2vI4P/2AY2Q=; b=bckek11yxJkGgO+kaKkU2bSfqY1QkwzG2YoJPQ1IE3kXGJaHhGnJcAexV8uaGp3j4t uS5xgsff0nC79hREZd9zCUzO4mppxyo5JNLi7/LsahBoWyrA6bFI/MZJuKXRNuIdG6NU tAmgy0jdPBG2DiZHJGi21DlIxf9xvedt8p85lIvypHH3ozE3UtHct7IBFzkLXv6Ldq5Q PHECMI63i5xtLU9IREEslpSpP4Zb1V9V12TjFRQsYPKsOgRp53F/6l9JVVgUyOFyf8vc mFb0HXwilmW6mUA9I+DdnU0+ioHdphmK/do2e+2QTyIrH4BNhL0XEQpXhbz5k4GJlz32 1+9w== X-Gm-Message-State: AOAM533m4Oho3dcBNxRu6ET8iCAiYJaws1di4hJrbJzi4y1LA9j8Beya pcKF86tKZcM1M52dY7djepsdvPjML7I= X-Google-Smtp-Source: ABdhPJy2odxZblQE3WE/f1ucd0IoUsOdB/cwn8Oa7wwkfABZPbUAS2ZnZygu72hjErDW3sNhGQQyuA== X-Received: by 2002:ac8:590a:: with SMTP id 10mr1851524qty.276.1624483242675; Wed, 23 Jun 2021 14:20:42 -0700 (PDT) Received: from r1 ([190.239.232.58]) by smtp.gmail.com with ESMTPSA id l14sm786843qtj.26.2021.06.23.14.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 14:20:32 -0700 (PDT) From: Rodrigo Morales To: Johannes Brauer Subject: Re: appearance of list as results from evaluating code blocks In-Reply-To: <8FBACF2F-7559-4987-A8D0-BB5F5B3E42E0@nordakademie.de> (Johannes Brauer's message of "Wed, 23 Jun 2021 20:03:28 +0000") References: <7C2DF594-A3F2-4AF5-9C2C-9D1CE0C710BD@nordakademie.de> <87r1gs1i4k.fsf@posteo.net> <8FBACF2F-7559-4987-A8D0-BB5F5B3E42E0@nordakademie.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Date: Wed, 23 Jun 2021 16:14:28 -0500 Message-ID: <87zgvgs2q3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82e; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-qt1-x82e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624483334; 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=ic22v5clNAY4LFVmFpRfeM1Ae34EFpPB2vI4P/2AY2Q=; b=i7MFT1qO6Yg8QSkkWElPZD8qYZQHdCA2Xn3HmGkYqOkiEmWwk5zwjfauObJaYdME3fthg1 5GJf93n3TK30Nt3B0112IGNdLSev1nUziq0ozk7XerMcGY69lnjOFOXus2omGPDso0Bx7w 0HUqoPIkLVTLg4Ua0ducDJWkgcJzfVZ4AK6RqUBW9RynLjVuDzlSNUCfhh0tPZQqm2Phik 1qTqJ/JtncQuI8ZLxNimCuIOLl4XhFCe2XBPyIk/BZdgV+gX8pgz2IWI1UPxn2vnRQ3xXf HSxVI8z9vTGJEZSwLp8hps3EAf3ZZjp2TQAGQZoVQ4Rc7Jt8BVhJHu0yEpFOsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624483334; a=rsa-sha256; cv=none; b=TsLCkNmF58T3lWSHss4rzyErjdYaysc4XSgHOJPdhkc3hhTb2heI1b3IzhPlJKm1Bllue+ zqOseHtbdPhPKNYjrkLyhRBzlAgLFZTLMtOkIA9qjrAJBP5AnZAr+wuraqq4+0XBmcASWh wGkozh1uhr/fyEzkUyPfgq2jceKFDJUSDF3Mn1PUvcBDurRGakHU3wz2yygH5W8Ih29oyV rbnrQ7FVX0zywpH98JqkIH0Ulmv5l6+2zgioDzjD+lgqsyWw45rFtenpi7VJnhzH+roacQ x+XjvPzCoLukm31HOK7SZ8OcNsCfzzCrpAmJm+jwDbiWuXhFQTaFN8kG2TMVWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=KSJ5q6+R; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=KSJ5q6+R; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 0D28224CCF X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: RVwo4PYnvFoK Johannes Brauer writes: Johannes Brauer writes: > thanks, that works While that works, you might be interested in ":results verbatim" instead of ":results raw" since when using "verbatim" the results are replaced when re-evaluating the code block. See minimal working example below. After pressing =C-c C-c= five times #+BEGIN_SRC elisp :results raw (list 1 2 3) #+END_SRC #+RESULTS: (1 2 3) (1 2 3) (1 2 3) (1 2 3) (1 2 3) After pressing =C-c C-c= five times #+BEGIN_SRC elisp :results verbatim (list 1 2 3) #+END_SRC #+RESULTS: #+begin_example (1 2 3) #+end_example PS: If you haven't customized Org Mode enough, you might get a ":" as the prefix of some of your results. #+BEGIN_SRC elisp :results verbatim (list 1 2 3) #+END_SRC #+RESULTS: : (1 2 3) As can be seen above, the results are not enclosed within #+begin_example and #+end_example. To enable this, set the following. #+BEGIN_SRC elisp (setq org-babel-min-lines-for-block-output 0) #+END_SRC Once you set the option shown above, you might get the following when evaluating the code block. #+BEGIN_SRC elisp :results verbatim (list 1 2 3) #+END_SRC #+RESULTS: #+begin_example (1 2 3) #+end_example