From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: Tabbing error with asterisks [7.8.03] Date: Mon, 26 Mar 2012 19:51:19 +0200 Message-ID: <878vin2qug.fsf@gnu.org> References: <21A5E1E970CD46459ECBE86D6CC4B28C5B035212@spexch01.WindLogics.local> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCE3U-00009k-7o for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 13:50:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCE3O-0001E3-M7 for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 13:50:07 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:32874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCE3O-0001CL-DB for emacs-orgmode@gnu.org; Mon, 26 Mar 2012 13:50:02 -0400 Received: by wgbdr1 with SMTP id dr1so3078753wgb.30 for ; Mon, 26 Mar 2012 10:50:00 -0700 (PDT) In-Reply-To: <21A5E1E970CD46459ECBE86D6CC4B28C5B035212@spexch01.WindLogics.local> (Ken Williams's message of "Fri, 23 Mar 2012 16:34:00 -0500") 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: Ken Williams Cc: "emacs-orgmode@gnu.org" Hi Ken, Ken Williams writes: > I have the following document: > > ---------------------- > #+TITLE: Test Doc > #+AUTHOR: Ken Williams > > * Top header > > Top paragraph. > > #+begin_src R > library(testthat) > > test_that("failures", { > expect_that(6, equals(9)) > expect_that(6, equals(9)) > expect_that(6, equals(9)) > expect_that(6, equals(9)) > expect_that(6, equals(9)) > }) > #+end_src > > #+results: > #+begin_example > Error: Test failure in 'failures' > * 6 not equal to 9 > Mean relative difference: 0.3333333 > * 6 not equal to 9 > Mean relative difference: 0.3333333 > * 6 not equal to 9 > Mean relative difference: 0.3333333 > * 6 not equal to 9 > Mean relative difference: 0.3333333 > * 6 not equal to 9 > Mean relative difference: 0.3333333 > #+end_example > ---------------------- > > > When I put the point on the top headline and hit , it doesn't fold the > complete section, it only folds up to the line "* 6 not equal to 9". So > something thinks that line is a header, even though it's within a > "#+begin_example" section. Hit C-c ' twice and you'll have commas inserted before the lines starting with an asterisk. See this footnote in the "Literal example" section of the manual: ,---- | (4) Upon exit, lines starting with `*' or `#' will get a comma | prepended, to keep them from being interpreted by Org as outline nodes | or special comments. These commas will be stripped for editing with | `C-c '', and also for export. `---- HTH, -- Bastien