From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Error when editing source code with Cc ' Date: Thu, 13 Dec 2012 14:49:53 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6da1888beed604d0bc30b3 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj9An-0008Ec-RH for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 08:50:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tj9Ah-0001c8-H9 for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 08:50:01 -0500 Received: from mail-vc0-f169.google.com ([209.85.220.169]:63388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tj9Ah-0001bi-9r for emacs-orgmode@gnu.org; Thu, 13 Dec 2012 08:49:55 -0500 Received: by mail-vc0-f169.google.com with SMTP id gb23so2309323vcb.0 for ; Thu, 13 Dec 2012 05:49:53 -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: emacs-orgmode --047d7b6da1888beed604d0bc30b3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi when I want to edit an R source block, I get the following error, but the indirect buffer opens: org-mode fontification error [6 times] byte-code: Language mode `R-mode' fails with: hs-minor-mode But after this, Cc ' does not work anymore to close this buffer. It works for sh Ess is installed and is working. Any suggestions? Rainer Emacs : GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.13) of 2012-11-06 on dubnium, modified by Debian Package: Org-mode version 7.9.2 (release_7.9.2-695-g31d24a @ /home/rkrug/.emacs.d/org-mode/lisp/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-export-latex-packages-alist '(("" "color") ("" "listings")) org-src-fontify-natively t org-plantuml-jar-path "/home/rkrug/jar/plantuml.jar" org-export-kill-product-buffer-when-displayed t org-ellipsis "=E3=80=96 =E2=9C=8E =E3=80=97" org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-confirm-babel-evaluate nil org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-src-window-setup 'current-window org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-structure-template-alist '(("lua" "#+begin_src lua \n ?\n#+end_src" "\n\n") ("r" "#+begin_src R ?\n\n#+end_src" "\n\n") ("s" "#+BEGIN_SRC ?\n\n#+END_SRC" "\n\n") ("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE" "\n?\n") ("q" "#+BEGIN_QUOTE\n?\n#+END_QUOTE" "\n?\n") ("v" "#+BEGIN_VERSE\n?\n#+END_VERSE" "\n?\n") ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER" "
\n?\n
") ("l" "#+BEGIN_LaTeX\n?\n#+END_LaTeX" "\n?\n") ("L" "#+LaTeX: " "?") ("h" "#+BEGIN_HTML\n?\n#+END_HTML" "\n?\n") ("H" "#+HTML: " "?") ("a" "#+BEGIN_ASCII\n?\n#+END_ASCII") ("A" "#+ASCII: ") ("i" "#+INDEX: ?" "#+INDEX: ?") ("I" "#+INCLUDE: %file ?" "")) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-hide-leading-stars t org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-ctrl-k-protect-subtree "ask" org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-export-first-hook '(org-beamer-initialize-open-trackers) org-mode-hook '((lambda nil (local-set-key "=03\357" (quote org-mime-org-buffer-htmlize))) #[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-directory "~/Documents/orgfiles" org-from-is-user-regexp "\\" org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-export-latex-listings t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-metadown-hook '(org-babel-pop-to-session-maybe) org-startup-indented t org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-babel-tangle-lang-exts '(("latex" . "tex") ("emacs-lisp" . "el")) org-confirm-shell-link-function 'y-or-n-p ) --=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax (F): +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug --047d7b6da1888beed604d0bc30b3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi

when I want to edit an R source block, I get the foll= owing error, but the indirect buffer opens:

org-mode fontification error [6 times]
byte-code: Language= mode `R-mode' fails with: hs-minor-mode

But after this, Cc ' does not work anymore to= close this buffer.

It works for sh

=
Ess is installed and is working.

Any su= ggestions?

Rainer


Emacs =C2=A0: GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version= 2.24.13)
=C2=A0of 2012-11-06 on dubnium, modified by Debian
Package: Org-mode version 7.9.2 (release_7.9.2-695-g31d24a @ /home/rkrug/.e= macs.d/org-mode/lisp/)

current state:
= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
=C2=A0= org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safe= ly-maybe)
=C2=A0org-export-latex-packages-alist '(("" "color&= quot;) ("" "listings"))
=C2=A0org-src-fontify= -natively t
=C2=A0org-plantuml-jar-path "/home/rkrug/jar/pla= ntuml.jar"
=C2=A0org-export-kill-product-buffer-when-displayed t
=C2=A0= org-ellipsis "=E3=80=96 =E2=9C=8E =E3=80=97"
=C2=A0org-= export-preprocess-before-selecting-backend-code-hook '(org-beamer-selec= t-beamer-code)
=C2=A0org-tab-first-hook '(org-hide-block-togg= le-maybe org-src-native-tab-command-maybe
=C2=A0 =C2=A0 =C2= =A0org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
=C2=A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hid= e-drawers
=C2=A0org-cycle-hide-i= nline-tasks org-cycle-show-empty-lines
=C2=A0org-optimize-window-after-visibility-chang= e)
=C2=A0org-agenda-before-write-hook '(org-agenda-add-entry-= text)
=C2=A0org-confirm-babel-evaluate nil
=C2=A0org-speed-command= -hook '(org-speed-command-default-hook org-babel-speed-command-hook)
=C2=A0org-src-window-setup 'current-window
=C2=A0org-= babel-pre-tangle-hook '(save-buffer)
=C2=A0org-occur-hook '(org-first-headline-recenter)
=C2= =A0org-structure-template-alist '(("lua" "#+begin_src lu= a \n =C2=A0?\n#+end_src"
"<src lang=3D\"lua\">\n\n</src&= gt;")
("r" &= quot;#+begin_src R ?\n\n#+end_src" "<src lang=3D\"R\"= ;>\n\n</src>")
("s" "#+BEGIN_SRC ?\n\n#+END_SRC" &qu= ot;<src lang=3D\"?\">\n\n</src>")
("e" &= quot;#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE"
"<example>\n?\n</example&g= t;")
("q" &= quot;#+BEGIN_QUOTE\n?\n#+END_QUOTE" "<quote>\n?\n</quote= >")
("v" "#+BEGIN_VERSE\n?\n#+END_VERSE" "<verse&g= t;\n?\n</verse>")
("c" &= quot;#+BEGIN_CENTER\n?\n#+END_CENTER" "<center>\n?\n</ce= nter>")
("l" "#+BEGIN_LaTeX\n?\n#+END_LaTeX"
"<liter= al style=3D\"latex\">\n?\n</literal>")
("L" "#+= LaTeX: " "<literal style=3D\"latex\">?</litera= l>")
("h" &= quot;#+BEGIN_HTML\n?\n#+END_HTML"
"<literal style=3D\"html\"&g= t;\n?\n</literal>")
("H" &= quot;#+HTML: " "<literal style=3D\"html\">?</l= iteral>")
= ("a" "#+BEGIN_ASCII\n?\n#+END_ASCII") ("A&q= uot; "#+ASCII: ")
("i" &= quot;#+INDEX: ?" "#+INDEX: ?")
("I" "#+INCLUDE: %file ?&= quot; "<include file=3D%file markup=3D\"?\">"))
=C2=A0org-metaup-hook '(org-babel-load-in-session-maybe)
=C2=A0org-confirm-elisp-link-function 'yes-or-no-p
=C2=A0org= -export-latex-format-toc-function 'org-export-latex-format-toc-default<= /div>
=C2=A0org-hide-leading-stars t
=C2=A0org-export-preprocess-before-normalizing-links-hook '(org-re= move-file-link-modifiers)
=C2=A0org-ctrl-k-protect-subtree "= ask"
=C2=A0org-clock-out-hook '(org-clock-remove-empty-c= lock-drawer)
=C2=A0org-export-first-hook '(org-beamer-initialize-open-trackers)=
=C2=A0org-mode-hook '((lambda nil (local-set-key "=03\3= 57" (quote org-mime-org-buffer-htmlize)))
#[nil "\300\301\302\303\304$\207&qu= ot;
=C2=A0 [org-add-h= ook change-major-mode-hook org-show-block-all append local] 5]
#[nil "\300\301\302= \303\304$\207"
=C2=A0 [org-add-h= ook change-major-mode-hook org-babel-show-result-all append local] 5]
=
org-babel-result-= hide-spec org-babel-hide-all-hashes)
=C2=A0org-directory "~/Documents/orgfiles"
=C2=A0o= rg-from-is-user-regexp "\\<Rainer M Krug\\>"
=C2= =A0org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix= -toc
=C2=A0 =C2=A0 =C2=A0 = org-beamer-auto-fragile-frames
=C2=A0 =C2=A0 =C2=A0 org-beamer-place-default-actions-f= or-lists)
=C2=A0org-export-latex-listings t
=C2=A0org-export-latex-after-initial-vars-hook '(org-beamer-after-= initial-vars)
=C2=A0org-metadown-hook '(org-babel-pop-to-sess= ion-maybe)
=C2=A0org-startup-indented t
=C2=A0org-src-m= ode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-e= dit-buffer)
=C2=A0org-after-todo-state-change-hook '(org-clock-out-if-current)=
=C2=A0org-babel-tangle-lang-exts '(("latex" . &quo= t;tex") ("emacs-lisp" . "el"))
=C2=A0org= -confirm-shell-link-function 'y-or-n-p
=C2=A0)

--
Rainer M. Krug, PhD (Conserva= tion Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)<= br>
Centre of Excellence for Invasion Biology
Stellenbosch University=
South Africa

Tel : =C2=A0 =C2=A0 =C2=A0 +33 - (0)9 53 10 27 44
Ce= ll: =C2=A0 =C2=A0 =C2=A0 +33 - (0)6 85 62 59 98
Fax (F): =C2=A0 =C2=A0 = =C2=A0 +33 - (0)9 58 10 27 44

Fax (D): =C2=A0 =C2=A0+49 - (0)3 21 21= 25 22 44

email: =C2=A0 =C2=A0 =C2=A0Rainer@krugs.de

Skype: =C2=A0 =C2=A0 =C2=A0RMkrug

--047d7b6da1888beed604d0bc30b3--