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 mEi1Gd6l02A69QAAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 23:21:34 +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 yIZuFd6l02BhGQAA1q6Kng (envelope-from ) for ; Wed, 23 Jun 2021 21:21:34 +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 9611924CB2 for ; Wed, 23 Jun 2021 23:21:33 +0200 (CEST) Received: from localhost ([::1]:58486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwAJQ-00084M-9L for larch@yhetil.org; Wed, 23 Jun 2021 17:21:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56274) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwAIN-00084C-Bw for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 17:20:27 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:45703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwAIL-0005aR-JE for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 17:20:26 -0400 Received: by mail-qk1-x736.google.com with SMTP id y29so7405482qky.12 for ; Wed, 23 Jun 2021 14:20:18 -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=dlw4W6YGBL4MLJKeR4ocnKC6+aBeVE8RhQuJaR4xXGL6wmY0uQhsunGpscSxyfKdim aDDrmx4KLLvvmO7WPbImMeteo2fKRFkr5LoYrfe2SlPd0WaDjdx4EUCiBmab4MZlQ6C2 QXfIjJp1nsqcbeNvjdG1hONuOczFQGOJkGGJz+f/PB61wCy/3lvdbv4nlkcuXnGCxFLm vDUR7kGvLsNZiOv4hAcSHv+7FSk2CvVCaaqUYjOAgGZ/j9xxlK47SfXJlQaQGL2VcWOT 8b3wx9pDVHICKV8ubZz5dWTTYY9TGYymOzKQG+N3rdcBOzB3hXEKKSbREihGOCtAkQXM 7FEA== 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=JyujV96ZcXWyrp4ABMTR08UGN+IZi0+TnCU4mU338lBIiCeQg8c+XGPpeh9J58YJkA o/nmKFhiPlQ+WPj3xFa2tQNKZfDC6BmtImYKcZ8OIcp4NgfgzFxUcVR+Dgcgtrb7Aply UXBylOjb0j9dWsWop262GK5arx/YGXH3g6I58nSyZ0j7d40qDcnkEeQibZlgrKSgQseV p7gp6lySSsO8XMvbYdW3Io5DPkRU6hp5zqmwmWN+/jbd7lqedM7XzcgGCjR/sqA7VMxy dqC39huSs8EBaBFZ9xnxeIxuBg75LBLHT0qTLLILNxkl4EtIJpsXGlkJZqrRXBwmjDW0 g1+Q== X-Gm-Message-State: AOAM5303v+6ZePTYQUZqOnYb1CgLs8ActQiIGxsW2eYzcEAyc5+1HFbu YCPnsMcnueM0UUXnbbspQdpv/gZZWRw= X-Google-Smtp-Source: ABdhPJwA676MqKU+Z0uv+Q+5dqvTAoFmH4AjcLnb/nQbgaOj9M7KsnhlJQINyIgqFKpDhuNe6YSg7Q== X-Received: by 2002:a37:9d4a:: with SMTP id g71mr2190057qke.126.1624483218284; Wed, 23 Jun 2021 14:20:18 -0700 (PDT) Received: from r1 ([190.239.232.58]) by smtp.gmail.com with ESMTPSA id d17sm823696qkk.63.2021.06.23.14.19.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 14:19:43 -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:13:36 -0500 Message-ID: <871r8sthbz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=moralesrodrigo1100@gmail.com; helo=mail-qk1-x736.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=1624483294; 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=CvBFdxlAXuxP8K9RgKGnVnOWSpVAt5O7G/loyr5DosphZzCl7heOqXXhwvKN19/7nUA1Hn acT2ykvFPiIys7vLIIW46dTfd7DlRW7hl6L84hLIaply3wcv5s4zDpQoFt4toCyxgcpq7m jWQD/AvxwNfLUl+7Uxtk3iPE/bkt4FgGzGnIvicji7JEbQSYIdgcFSG2aXIGLauLMEf0DF j/mi3zbXOF7M8zy3eS8dMRhBoVYC29ti2/94b40KAdPVhKEAEoXSRBaXAuRwMFvvb1ifVd oD6yN1gKa9gtbgXH2FLUhX1LwspLuzo/8Birwhcher3QXkUIR7mxmdQunnqsWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624483294; a=rsa-sha256; cv=none; b=jLg/roig0v9Yajh3dn6otcKnsRrxaTdmoyf8yY7LFGF0mPUry6mW98ielvao7HxeABShV4 mv7KAW+j6ykece+4zSPGf5v4JEIZIddNVpdYtXzpM/u8FDtEmvlvjU+Fep3L3nccdVCbce NXJ0QKL2M8mNsMGd4SUJIhWSK+YyiOMaOz5gkbtYxkfNHeFitxEBeQecQT2/gXAmHH3WkU hOJkp8eZMDD2Y7sBbLP30S0GHlf+GEI4dDuXZCEw6qrR4Jvsz6cn7biHoAgDSFnzwKFA/p vl9fQuDKDVoMNwNBoNwG9gBK+/Z6FKYbGspvuNpE7n1jcc8+mRWN2g1UvKaaJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=dlw4W6YG; 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=dlw4W6YG; 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: 9611924CB2 X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: FeAyzJitSsJd 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