emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug: Tabbing error with asterisks [7.8.03]


From: Ken Williams
Subject: [O] Bug: Tabbing error with asterisks [7.8.03]
Date: Fri, 23 Mar 2012 16:34:00 -0500

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 <tab>, 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.

By contrast, the syntax coloring looks correct - the lines starting with '#' 
are red, and the lines inside the "#+begin_src" and "#+begin_example" sections 
are gray, as expected.


Emacs  : GNU Emacs 23.3.1 (i386-mingw-nt6.1.7600)
 of 2011-03-10 on 3249CTO
Package: Org-mode version 7.8.03

--
Ken Williams, Senior Research Scientist
WindLogics
http://windlogics.com


CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. Any 
unauthorized review, use, disclosure or distribution of any kind is strictly 
prohibited. If you are not the intended recipient, please contact the sender 
via reply e-mail and destroy all copies of the original message. Thank you.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]