emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: sas comments in source blocks confused with headings [8.2.10 (8.2.10-35-g19a7d6-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20150406/)]
@ 2015-04-13  2:17 Kyle Andrews
  2015-04-13 12:59 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Andrews @ 2015-04-13  2:17 UTC (permalink / raw)
  To: Emacs orgmode

[-- Attachment #1: Type: text/plain, Size: 4145 bytes --]

I included SAS code for reference in an org file and noticed that a SAS
comment breaks the folding feature. The buffer is folded only until the
comment. The snippet below placed in an org-buffer should clarify what I


** SAS

* a full line comment in SAS code;
proc mixed method=reml cl;
class D M G;
model y = M G M*G;
random D D*M D*G/cl alpha=0.05;  /* can't do 3-way     */
lsmeans M G M*G/cl adjust=tukey; /* only fixed effects */

** R

Here is how to fit the mixed effect model in R.


If you press tab on the SAS heading, it doesn't fold all the way to the
R heading, but only to the comment line. Perhaps this is fixed in org


Emacs  : GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.7)
 of 2015-01-17 on bisson
Package: Org-mode version 8.2.10 (8.2.10-35-g19a7d6-elpaplus @

current state:
 org-drill-optimal-factor-matrix '((1 (2.6 . 4.14)))
 org-tab-first-hook '(org-hide-block-toggle-maybe
 org-adapt-indentation nil
 org-speed-command-hook '(org-speed-command-default-hook
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-image-actual-width nil
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-agenda-inhibit-startup t
 org-pretty-entities 1
 org-default-notes-file "~/org/notes.org"
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-capture-mode-hook '(make-frame)
 org-from-is-user-regexp nil
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-font-lock-set-keywords-hook '(org-drill-add-cloze-fontification)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all
append local] 5]
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook
org-babel-show-result-all append local] 5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-hide-inline-tasks org-cycle-show-empty-lines
 org-startup-with-latex-preview t
 org-latex-packages-alist '(("" "multirow" t) ("" "fontenc" t) (""
"siunitx" t) ("" "xfrac" t)
                            ("" "mathtools" t) ("" "physics" t) ("" "color"
 org-babel-tangle-lang-exts '(("maxima" . "max") ("julia" . "jl") ("tcl" .
"tcl") ("python" . "py")
                              ("perl" . "pl") ("latex" . "tex")
("emacs-lisp" . "el"))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-startup-with-inline-images t
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-babel-after-execute-hook '(org-display-inline-images)
 org-html-format-headline-function 'ignore
 org-babel-load-languages '((emacs-lisp . t) (calc . t) (sh . t) (latex .
t) (R . t) (perl . t)
                            (octave . t) (python . t) (scheme . t)
(makefile . t) (tcl . t)
                            (julia . t) (maxima . t))
 org-html-format-inlinetask-function 'ignore
 org-fontify-whole-heading-line t
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-confirm-babel-evaluate nil
 org-src-fontify-natively t

[-- Attachment #2: Type: text/html, Size: 5206 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-13 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-13  2:17 Bug: sas comments in source blocks confused with headings [8.2.10 (8.2.10-35-g19a7d6-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20150406/)] Kyle Andrews
2015-04-13 12:59 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).