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 eO5uJd9/l1/4VAAA0tVLHw (envelope-from ) for ; Tue, 27 Oct 2020 02:03:11 +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 NhJFId9/l19dHwAA1q6Kng (envelope-from ) for ; Tue, 27 Oct 2020 02:03:11 +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 2289594066D for ; Tue, 27 Oct 2020 02:03:10 +0000 (UTC) Received: from localhost ([::1]:50120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXEKK-0004Yt-QX for larch@yhetil.org; Mon, 26 Oct 2020 22:03:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXEIr-0003q6-J0 for emacs-orgmode@gnu.org; Mon, 26 Oct 2020 22:01:38 -0400 Received: from mail-ed1-f53.google.com ([209.85.208.53]:40393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXEIp-0001KM-3P for emacs-orgmode@gnu.org; Mon, 26 Oct 2020 22:01:37 -0400 Received: by mail-ed1-f53.google.com with SMTP id p93so1662710edd.7 for ; Mon, 26 Oct 2020 19:01:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YMNUlLJgyp0k7pAr6En5hPiZAyDNKgfc3yoJirNF52Y=; b=q1L6FpMDMF5l9EulDwM+Eb90JuPArzYvQMPxZwG8oTOHpSb562R3CrcLFd8DHKtF5j JjgyCMDS+xQlkSNWE0Ils+5/+LRdMtCkCwcW3H1SMAGyffFQzL7a0w1g2+0Qy2bX+ysv WKQL4kcnjs64uX0FWxwZMH78M/VKQrFy2vcj5IHh38ER5FM+7uYHJGgAKIGpguNlvLVe Xz92DSrrmGI4aeZPU+NWKh/MoDuhNr75NMnhJxWC/HwWepfGB5bn1euRUWfXbNiR9PBm Dra6wSaWbI76DNVjkBzeNg2Pg8ma7OOe+MM/GYcD9T0FuVoclHCUDmOPZclRRxfBj2SP sMag== X-Gm-Message-State: AOAM531UJjQw+AC87UQfOHOrqk6Hp2P82L1I7fqzo+LLED1WJ/TtPBis HmIt5JrOxURua5Zrf7joi9ogparnJU/Xz6E/KKNrdpgHuYM= X-Google-Smtp-Source: ABdhPJwLC2T+Oqp1WI809XYFEcZXVP8nxSK1N61+0hKKmFp1iXVXzJ6HFFXst4NhfqiRTbgX88pMdM7qlrPw5J+Xa2Q= X-Received: by 2002:a05:6402:1686:: with SMTP id a6mr17218934edv.106.1603764092667; Mon, 26 Oct 2020 19:01:32 -0700 (PDT) MIME-Version: 1.0 From: ian martins Date: Mon, 26 Oct 2020 22:01:21 -0400 Message-ID: Subject: default :results To: Org-Mode mailing list Content-Type: multipart/alternative; boundary="0000000000000c0bce05b29d6d2d" Received-SPF: pass client-ip=209.85.208.53; envelope-from=ianxm1@gmail.com; helo=mail-ed1-f53.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/26 22:01:33 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=jhu.edu (policy=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: -0.91 X-TUID: Duh05rRG9Mzi --0000000000000c0bce05b29d6d2d Content-Type: text/plain; charset="UTF-8" The doc says functional mode (=:results value=) is the default for most Babel libraries [1]. I haven't looked at many, but it is the default for ob-python and ob-shell. Scripting mode (=:results output=) is the default for ob-C, and the old ob-java (neither of these provided a functional mode). When I added functional mode to ob-java, I made it the default since that seemed correct. But that change breaks anyone that relied on the old default (the workaround is to add a =:results output= header). I will change the default in the short term to unbreak the experience, but what, if anything, should be done long term? And is this inconsistent behavior across languages something that should be fixed? or is it intentional or at least not worth doing anything about? [1] https://orgmode.org/manual/Results-of-Evaluation.html#Results-of-Evaluation --0000000000000c0bce05b29d6d2d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The doc says functional mode (=3D:results value=3D) i= s the default for most Babel libraries [1].=C2=A0 I haven't looked at m= any, but it is the default for ob-python and ob-shell. Scripting mode (=3D:= results output=3D) is the default for ob-C, and the old ob-java (neither of= these provided a functional mode).

When I added f= unctional mode to ob-java, I made it the default since that seemed correct.= =C2=A0 But that change breaks anyone that relied on the old default (the wo= rkaround is to add a =3D:results output=3D header).=C2=A0 I will change the= default in the short term to unbreak the experience, but what, if anything= , should be done long term?

And is this inconsiste= nt behavior across languages something that should be fixed? or is it inten= tional or at least not worth doing anything about?

=
--0000000000000c0bce05b29d6d2d--