From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: [BUG] Inconsistency in src block hiding Date: Sun, 20 Nov 2011 11:00:00 +0100 Message-ID: <8739djqfkv.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RS4DQ-00056b-5R for emacs-orgmode@gnu.org; Sun, 20 Nov 2011 05:01:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RS4DP-0005Jp-Al for emacs-orgmode@gnu.org; Sun, 20 Nov 2011 05:01:36 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:46861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RS4DP-0005Jl-5U for emacs-orgmode@gnu.org; Sun, 20 Nov 2011 05:01:35 -0500 Received: by wwe32 with SMTP id 32so6234249wwe.30 for ; Sun, 20 Nov 2011 02:01:34 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode List Hello, In the following example (latest Org), with point at "|", when TAB is pressed, block gets hidden at the "name" level. --8<---------------cut here---------------start------------->8--- |#+name: test #+begin_src emacs-lisp "test" #+end_src --8<---------------cut here---------------end--------------->8--- It is because `org-babel-result-regexp' is matched in `org-babel-hide-result-toggle-maybe'. But, should it be the case? In particular, if I look at `org-babel-data-names', upon which `org-babel-result-regexp' is built, I'm not sure that "name" keyword should define a result line. As such, I would guess that it should be removed from that list. Regards, -- Nicolas Goaziou