emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <r.m.krug@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Error when editing source code with Cc '
Date: Thu, 13 Dec 2012 14:56:16 +0100	[thread overview]
Message-ID: <CAGhLh6EwTzvGciWMv0_a91DwL9xc7Dn-4Ep5OL7_8JK4cpWduQ@mail.gmail.com> (raw)
In-Reply-To: <CAGhLh6F9xtrmrDJf=M6rRP0oijxf=f3Feiz=hOribkqWyhcXLg@mail.gmail.com>

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

Solved - upgraded ESS from 12.04 to 12.09 and it is now working.

Thanks,

Rainer


On 13 December 2012 14:49, Rainer M Krug <r.m.krug@gmail.com> wrote:

> 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:
> ==============
> (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 "〖 ✎ 〗"
>  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"
>  "<src lang=\"lua\">\n\n</src>")
>  ("r" "#+begin_src R ?\n\n#+end_src" "<src lang=\"R\">\n\n</src>")
> ("s" "#+BEGIN_SRC ?\n\n#+END_SRC" "<src lang=\"?\">\n\n</src>")
>  ("e" "#+BEGIN_EXAMPLE\n?\n#+END_EXAMPLE"
>  "<example>\n?\n</example>")
>  ("q" "#+BEGIN_QUOTE\n?\n#+END_QUOTE" "<quote>\n?\n</quote>")
> ("v" "#+BEGIN_VERSE\n?\n#+END_VERSE" "<verse>\n?\n</verse>")
>  ("c" "#+BEGIN_CENTER\n?\n#+END_CENTER" "<center>\n?\n</center>")
> ("l" "#+BEGIN_LaTeX\n?\n#+END_LaTeX"
>  "<literal style=\"latex\">\n?\n</literal>")
> ("L" "#+LaTeX: " "<literal style=\"latex\">?</literal>")
>  ("h" "#+BEGIN_HTML\n?\n#+END_HTML"
>  "<literal style=\"html\">\n?\n</literal>")
>  ("H" "#+HTML: " "<literal style=\"html\">?</literal>")
> ("a" "#+BEGIN_ASCII\n?\n#+END_ASCII") ("A" "#+ASCII: ")
>  ("i" "#+INDEX: ?" "#+INDEX: ?")
> ("I" "#+INCLUDE: %file ?" "<include file=%file markup=\"?\">"))
>  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 " \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 "\\<Rainer M Krug\\>"
>  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
>  )
>
> --
> 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
>
>


-- 
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

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

      reply	other threads:[~2012-12-13 13:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13 13:49 Error when editing source code with Cc ' Rainer M Krug
2012-12-13 13:56 ` Rainer M Krug [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGhLh6EwTzvGciWMv0_a91DwL9xc7Dn-4Ep5OL7_8JK4cpWduQ@mail.gmail.com \
    --to=r.m.krug@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).