From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chunyang Xu Subject: Bug: Empty result when Emacs Lisp code block evals to nil [9.0.5 (release_9.0.5-401-g86ff11 @ /Users/xcy/src/org-mode/lisp/)] Date: Sat, 01 Apr 2017 23:06:35 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuKc4-000650-4I for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 11:06:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuKc0-0003vp-4U for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 11:06:48 -0400 Received: from smtpbgbr2.qq.com ([54.207.22.56]:40017) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cuKbz-0003oX-OE for emacs-orgmode@gnu.org; Sat, 01 Apr 2017 11:06:44 -0400 Received: from Chunyangs-MacBook-Air.local (unknown [121.234.17.244]) by esmtp4.qq.com (ESMTP) with SMTP id 0 for ; Sat, 01 Apr 2017 23:06:32 +0800 (CST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi. I notice that if the result is nil during executing emacs-lisp code block, org simply displays a empty #+RESULT block. For example, #+BEGIN_SRC emacs-lisp t #+END_SRC #+RESULTS: : t #+BEGIN_SRC emacs-lisp nil #+END_SRC #+RESULTS: I don't see why 'nil' is special than other values like 't'. -- Emacs : GNU Emacs 26.0.50 (build 10, x86_64-apple-darwin16.4.0, NS appkit-1504.81 Version 10.12.3 (Build 16D32)) of 2017-03-28 Package: Org mode version 9.0.5 (release_9.0.5-401-g86ff11 @ /Users/xcy/src/org-mode/lisp/)