emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)]
@ 2014-03-25 14:37 Rainer M Krug
  2014-03-25 16:58 ` Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e <at> /Users/rainerkrug/.emacs.d/org-mode/lisp/)] Charles Berry
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2014-03-25 14:37 UTC (permalink / raw)
  To: emacs-orgmode


The subject says it all - when I set 

#+PROPERTY: eval never-export 

the interactive evaluation of R code blocks is disabled. Message:

Evaluation of this R code-block is disabled.

#+PROPERTY: eval always

enables it again.

Let me know if you need more info.

Cheers,

Rainer


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------



Emacs  : GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0, Carbon Version 1.6.0 AppKit 1265)
 of 2014-02-13 on Rainers-MacBook-Pro-2.local
Package: Org-mode version 8.2.5h (release_8.2.5h-806-gb1199e @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)

current state:
==============
(setq
 org-src-lang-modes '(("plantuml" . plantuml) ("ocaml" . tuareg) ("elisp" . emacs-lisp)
                      ("ditaa" . artist) ("asymptote" . asy) ("dot" . fundamental)
                      ("sqlite" . sql) ("calc" . fundamental) ("C" . c) ("cpp" . c++)
                      ("C++" . c++) ("screen" . shell-script))
 org-hide-leading-stars t
 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-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-ellipsis "〖 ✎ 〗"
 org-occur-hook '(org-first-headline-recenter)
 org-src-tab-acts-natively t
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-format-latex-options '(:foreground default :background default :scale 1.3 :html-foreground
                            "Black" :html-background "Transparent" :html-scale 1.0 :matchers
                            ("begin" "$1" "$" "$$" "\\(" "\\["))
 org-src-window-setup 'current-window
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'y-or-n-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-capture-templates '(("p" "Problem to be logged in buffer" entry
                          (file+headline (buffer-file-name) "QUESTIONS")
                          "\n- revision :: %(symbol-name (vc-working-revision (buffer-file-name (org-capture-get :original-buffer))))\n- state    :: %(symbol-name (vc-state (buffer-file-name (org-capture-get :original-buffer))))\n- link     :: %a \n- author   :: Rainer M Krug, email: Rainer@krugs.de\n* %?")
                         ("c" "Changes to be logged in buffer" entry
                          (file+headline (buffer-file-name) "CHANGES")
                          "\n- revision :: %(symbol-name (vc-working-revision (buffer-file-name (org-capture-get :original-buffer))))\n- state    :: %(symbol-name (vc-state (buffer-file-name (org-capture-get :original-buffer))))\n- link     :: %a \n- author   :: Rainer M Krug, email: Rainer@krugs.de %n\n* %T %?")
                         ("t" "TODO to be logged in buffer" entry
                          (file+headline (buffer-file-name) "TODOs")
                          "* TODO\nSCHEDULED: %T\nDEADLINE:  %T\n- revision :: %(symbol-name (vc-working-revision (buffer-file-name (org-capture-get :original-buffer))))\n- state    :: %(symbol-name (vc-state (buffer-file-name (org-capture-get :original-buffer))))\n- link     :: %a \n- author   :: Rainer M Krug, email: Rainer@krugs.de\n %?")
                         ("O" "toodledo to be logged in toodledo.org" entry
                          (file+headline (concat org-directory "/toodledo.org") "TASKS")
                          "* TODO [#D] %?\n%i\nSCHEDULED: %T\nDEADLINE:  %T\n:PROPERTIES:\nToodledoFolder: To Be Filed\n:END:\n%a")
                         ("T" "TODO to be logged in notes.org" entry
                          (file+headline (concat org-directory "/notes.org") "Tasks")
                          "* TODO [#D]\n%i\nSCHEDULED: %T\nDEADLINE:  %T\n:PROPERTIES:\n:END:\n %?\n%a")
                         ("M" "Misc to be logged in notes.org" entry
                          (file+headline (concat org-directory "/notes.org") "Misc")
                          "* %?\n  %i\n %T\n  %a")
                         ("I" "Info to be logged in notes.org" entry
                          (file+headline (concat org-directory "/notes.org") "Information")
                          "* %?\n  %i\n %T\n  %a")
                         ("B" "Things I can blog about to be logged in notes.org" entry
                          (file+headline (concat org-directory "/notes.org") "To Blog")
                          "* %?\n  %i\n %T\n  %a")
                         ("S" "Useful code snippets logged in programming.org" entry
                          (file+headline (concat org-directory "/programming.org")
                           "Code Snippet")
                          "* %?  %^g\n%T\n#+begin_src %^{Programming Language|R|R|C|elisp} \n%i\n#+end_src\n%a")
                         )
 org-startup-indented t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-odt-format-headline-function 'ignore
 org-from-is-user-regexp "\\<Rainer M Krug\\>"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 )

****************************************
*** HERE WAS A LOT WHICH I DELETED   ***
****************************************

 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-odt-format-inlinetask-function 'ignore
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 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-plantuml-jar-path "/Users/rainerkrug/jar/plantuml.jar"
 org-latex-packages-alist '(("" "color" t) ("" "listings" t))
 org-ctrl-k-protect-subtree "ask"
 org-babel-tangle-lang-exts '(("latex" . "tex") ("emacs-lisp" . "el") ("elisp" . "el"))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-odt-format-drawer-function '(lambda (name contents) contents)
 org-latex-listings t
 org-show-siblings '((default) (isearch t) (bookmark-jump . t))
 org-html-format-headline-function 'ignore
 org-structure-template-alist '(("nb"
                                 ":PROPERTIES:\n:TITLE: And another thought... or: forgot to change the title again\n:DESCRIPTION: I should have changed that as well\n:CATEGORIES: thoughts\n:END:" "")
                                ("le" "#+end_src \n\n#+begin_src emacs-lisp"
                                 "<src lang=\"R\">\n\n</src>")
                                ("sh" "#+begin_src sh \n  ?\n#+end_src"
                                 "<src lang=\"sh\">\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>")
                                ("V" "#+BEGIN_VERBATIM\n?\n#+END_VERBATIM"
                                 "<verbatim>\n?\n</verbatim>")
                                ("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-mobile-directory "~/Dropbox/Apps/MobileOrg"
 org-babel-load-languages '((R . t) (latex . t) (sh . t) (plantuml . t) (emacs-lisp . t))
 org-src-preserve-indentation t
 org-babel-post-tangle-hook '(org-babel-run-post-tangle-script org-babel-mark-file-as-tangled)
 org-html-format-inlinetask-function 'ignore
 org-agenda-mode-hook '(#[nil
                          "\302.\303	\304\305#\210\303	\306\307#\210\303	\310\311#\210\303	\312\313#\210\303	\314\315#\207"
                          [org-mouse-context-menu-function
                           
                                                                                                                                                        org-agenda-mode-map
                           
                                                                                                                                                        org-mouse-agenda-context-menu
                           
                                                                                                                                                        org-defkey
                           
                                                                                                                                                        [mouse-3]
                           
                                                                                                                                                        org-mouse-show-context-menu
                           
                                                                                                                                                        [down-mouse-3]
                           
                                                                                                                                                        org-mouse-move-tree-start
                           
                                                                                                                                                        [C-mouse-4]
                           
                                                                                                                                                        org-agenda-earlier
                           
                                                                                                                                                        [C-mouse-5]
                           
                                                                                                                                                        org-agenda-later
                           
                                                                                                                                                        [drag-mouse-3]
                           
                                                                                                                                                        #[(event)
                                                                                                                                                          
                                                                                                                                                          "\302\b!.\303	\304\"\203..\305\306!\202..\303	\307\"\205..\310\306!)\207"
                                                                                                                                                          
                                                                                                                                                          [event --cl-var-- org-mouse-get-gesture eql :left org-agenda-earlier 1 :right org-agenda-later]
                                                                                                                                                          
                                                                                                                                                          3 nil "e"]
                           
                                                                                                                                                        ]
                          4]
                        )
 org-agenda-files '("~/org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-confirm-babel-evaluate nil
 org-mobile-inbox-for-pull "~/org/notes.org"
 )
-- 
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 :       +33 - (0)9 58 10 27 44

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

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

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

* Re: Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e <at>  /Users/rainerkrug/.emacs.d/org-mode/lisp/)]
  2014-03-25 14:37 Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)] Rainer M Krug
@ 2014-03-25 16:58 ` Charles Berry
  2014-03-27  8:02   ` Rainer M Krug
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Berry @ 2014-03-25 16:58 UTC (permalink / raw)
  To: emacs-orgmode

Rainer M Krug <Rainer <at> krugs.de> writes:

> 
> 
> The subject says it all - when I set 
> 
> #+PROPERTY: eval never-export 
> 
> the interactive evaluation of R code blocks is disabled. Message:
> 
> Evaluation of this R code-block is disabled.
> 
[rest deleted]

It works as advertised for me. I copy and pasted your PROPERTY line
and ran interactively and then exported. Oh yes, I did C-c C-c.

I am running 

Org-mode version 8.2.5h (release_8.2.5h-757-gc444e4 @ ...

I tried with and without :session with same results.

HTH,

Chuck

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

* Re: Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e <at> /Users/rainerkrug/.emacs.d/org-mode/lisp/)]
  2014-03-25 16:58 ` Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e <at> /Users/rainerkrug/.emacs.d/org-mode/lisp/)] Charles Berry
@ 2014-03-27  8:02   ` Rainer M Krug
  0 siblings, 0 replies; 3+ messages in thread
From: Rainer M Krug @ 2014-03-27  8:02 UTC (permalink / raw)
  To: Charles Berry; +Cc: emacs-orgmode

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

Charles Berry <ccberry@ucsd.edu> writes:

> Rainer M Krug <Rainer <at> krugs.de> writes:
>
>> 
>> 
>> The subject says it all - when I set 
>> 
>> #+PROPERTY: eval never-export 
>> 
>> the interactive evaluation of R code blocks is disabled. Message:
>> 
>> Evaluation of this R code-block is disabled.
>> 
> [rest deleted]
>
> It works as advertised for me. I copy and pasted your PROPERTY line
> and ran interactively and then exported. Oh yes, I did C-c C-c.
>
> I am running 
>
> Org-mode version 8.2.5h (release_8.2.5h-757-gc444e4 @ ...
>
> I tried with and without :session with same results.

Thanks - I'll look into my setup and see, if necessary, to produce a small
example file.

Cheers,

Rainer

>
> HTH,
>
> Chuck
>
>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]

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

end of thread, other threads:[~2014-03-27  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-25 14:37 Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)] Rainer M Krug
2014-03-25 16:58 ` Bug: [babel] #+PROPERTY: eval never-export disables interactive evaluation [8.2.5h (release_8.2.5h-806-gb1199e <at> /Users/rainerkrug/.emacs.d/org-mode/lisp/)] Charles Berry
2014-03-27  8:02   ` Rainer M Krug

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