all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* v9.0 running babel blocks
@ 2016-11-03 19:50 John Kitchin
  2016-11-03 21:47 ` Joon Ro
  2016-11-04  7:37 ` Nicolas Goaziou
  0 siblings, 2 replies; 11+ messages in thread
From: John Kitchin @ 2016-11-03 19:50 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi,

I updated to org 9.0 today via elpa.

Org mode version 9.0 (9.0-elpaplus @
/Users/jkitchin/vc/jkitchin-github/scimax/elpa/org-plus-contrib-20161102/)

I get this message on trying to run an elisp block.

Evaluation of this emacs-lisp code-blockis disabled.


There are two issues:
1. there is a missing space between block and is (and maybe code-block
should not be hyphenated) in org-babel-check-evaluate 
2. It used to work! If I run (org-babel-check-confirm-evaluate
(org-babel-get-src-block-info)) in the code block, it returns t


I am not sure what is causing it. Thoughts?


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

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

* Re: v9.0 running babel blocks
  2016-11-03 19:50 v9.0 running babel blocks John Kitchin
@ 2016-11-03 21:47 ` Joon Ro
  2016-11-03 23:50   ` John Kitchin
  2016-11-04  7:37 ` Nicolas Goaziou
  1 sibling, 1 reply; 11+ messages in thread
From: Joon Ro @ 2016-11-03 21:47 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

> I get this message on trying to run an elisp block.
>
> Evaluation of this emacs-lisp code-blockis disabled.
>
>
> There are two issues:
> 1. there is a missing space between block and is (and maybe code-block
> should not be hyphenated) in org-babel-check-evaluate
> 2. It used to work! If I run (org-babel-check-confirm-evaluate
> (org-babel-get-src-block-info)) in the code block, it returns t
>
>
> I am not sure what is causing it. Thoughts?

I'm having exactly the same issue after upgrading to 9.0.


In my case, the source code block has a name, and it says "Evaluation of this shell code-block (name) is disabled", so I guess the missing space issue happens when the code block does not have name.


Best,

Joon



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

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

* Re: v9.0 running babel blocks
  2016-11-03 21:47 ` Joon Ro
@ 2016-11-03 23:50   ` John Kitchin
  2016-11-04  2:40     ` Joon Ro
  2016-11-22 15:46     ` Alan Schmitt
  0 siblings, 2 replies; 11+ messages in thread
From: John Kitchin @ 2016-11-03 23:50 UTC (permalink / raw)
  To: Joon Ro; +Cc: emacs-orgmode@gnu.org

huh.. it seems to have disappeared. I deleted the orgplus directory in
my elpa directory and reinstalled it, and it seemed to go away.

weird.

Joon Ro writes:

>> I get this message on trying to run an elisp block.
>>
>> Evaluation of this emacs-lisp code-blockis disabled.
>>
>>
>> There are two issues:
>> 1. there is a missing space between block and is (and maybe code-block
>> should not be hyphenated) in org-babel-check-evaluate
>> 2. It used to work! If I run (org-babel-check-confirm-evaluate
>> (org-babel-get-src-block-info)) in the code block, it returns t
>>
>>
>> I am not sure what is causing it. Thoughts?
>
> I'm having exactly the same issue after upgrading to 9.0.
>
>
> In my case, the source code block has a name, and it says "Evaluation of this shell code-block (name) is disabled", so I guess the missing space issue happens when the code block does not have name.
>
>
> Best,
>
> Joon


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

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

* Re: v9.0 running babel blocks
  2016-11-03 23:50   ` John Kitchin
@ 2016-11-04  2:40     ` Joon Ro
  2016-11-22 15:46     ` Alan Schmitt
  1 sibling, 0 replies; 11+ messages in thread
From: Joon Ro @ 2016-11-04  2:40 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

> From: John Kitchin <johnrkitchin@gmail.com> on behalf of John Kitchin <jkitchin@andrew.cmu.edu>
>
> huh.. it seems to have disappeared. I deleted the orgplus directory in
> my elpa directory and reinstalled it, and it seemed to go away.
>
> weird.


I can confirm that this worked for me as well - I removed both org and org-plus-contrib in my elpa directory just in case and reinstalled them, and now the code evaluation works. Thank you very much!

-Joon


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

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

* Re: v9.0 running babel blocks
  2016-11-03 19:50 v9.0 running babel blocks John Kitchin
  2016-11-03 21:47 ` Joon Ro
@ 2016-11-04  7:37 ` Nicolas Goaziou
  1 sibling, 0 replies; 11+ messages in thread
From: Nicolas Goaziou @ 2016-11-04  7:37 UTC (permalink / raw)
  To: John Kitchin; +Cc: emacs-orgmode@gnu.org

Hello,

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> I get this message on trying to run an elisp block.
>
> Evaluation of this emacs-lisp code-blockis disabled.
>
>
> There are two issues:
> 1. there is a missing space between block and is (and maybe code-block
> should not be hyphenated) in org-babel-check-evaluate

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

* Re: v9.0 running babel blocks
  2016-11-03 23:50   ` John Kitchin
  2016-11-04  2:40     ` Joon Ro
@ 2016-11-22 15:46     ` Alan Schmitt
  2016-11-23  7:48       ` Alan Schmitt
  1 sibling, 1 reply; 11+ messages in thread
From: Alan Schmitt @ 2016-11-22 15:46 UTC (permalink / raw)
  To: John Kitchin; +Cc: Joon Ro, emacs-orgmode@gnu.org

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

On 2016-11-03 19:50, John Kitchin <jkitchin@andrew.cmu.edu> writes:

> huh.. it seems to have disappeared. I deleted the orgplus directory in
> my elpa directory and reinstalled it, and it seemed to go away.

This just appeared for me, as I updated to 9.0.1. Should I downgrade to
9.0?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

* Re: v9.0 running babel blocks
  2016-11-22 15:46     ` Alan Schmitt
@ 2016-11-23  7:48       ` Alan Schmitt
  2016-11-28  8:01         ` Alan Schmitt
  0 siblings, 1 reply; 11+ messages in thread
From: Alan Schmitt @ 2016-11-23  7:48 UTC (permalink / raw)
  To: John Kitchin; +Cc: Joon Ro, emacs-orgmode@gnu.org

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

On 2016-11-22 16:46, Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> On 2016-11-03 19:50, John Kitchin <jkitchin@andrew.cmu.edu> writes:
>
>> huh.. it seems to have disappeared. I deleted the orgplus directory in
>> my elpa directory and reinstalled it, and it seemed to go away.
>
> This just appeared for me, as I updated to 9.0.1. Should I downgrade to
> 9.0?

For the record, I deleted and reinstalled the package, and things are
back to working again.

Sorry for the noise,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

* Re: v9.0 running babel blocks
  2016-11-23  7:48       ` Alan Schmitt
@ 2016-11-28  8:01         ` Alan Schmitt
  2016-11-28 10:54           ` Alan Schmitt
  0 siblings, 1 reply; 11+ messages in thread
From: Alan Schmitt @ 2016-11-28  8:01 UTC (permalink / raw)
  To: John Kitchin; +Cc: Joon Ro, emacs-orgmode@gnu.org

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

Hello,

I'm sorry to write again about this, but the problem has come back, and
reinstalling org-plus-contrib did not make it go away this time.

I'm pretty sure this is not a problem with org itself, but some
interaction with other packages (I'm using Spacemacs so there are many
things happening under the hood). I don't know what to do to start
investigating. Would you have suggestions?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

* Re: v9.0 running babel blocks
  2016-11-28  8:01         ` Alan Schmitt
@ 2016-11-28 10:54           ` Alan Schmitt
  2016-11-28 13:51             ` Ista Zahn
  0 siblings, 1 reply; 11+ messages in thread
From: Alan Schmitt @ 2016-11-28 10:54 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

Hello again,

On 2016-11-28 09:01, Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> I'm sorry to write again about this, but the problem has come back, and
> reinstalling org-plus-contrib did not make it go away this time.
>
> I'm pretty sure this is not a problem with org itself, but some
> interaction with other packages (I'm using Spacemacs so there are many
> things happening under the hood). I don't know what to do to start
> investigating. Would you have suggestions?

I'm also seeing some other very strange behavior. For instance, while
editing an org-beamer file, the function org-beamer-select-environment
(bound to C-c C-b) is just the tagging function (bound to C-c C-q). To
get the beamer behavior, I need to evaluate the defun of
org-beamer-select-environment, and then all works well until the next
time I restart emacs.

I have no idea how such a thing would happen. Any suggestions?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

* Re: v9.0 running babel blocks
  2016-11-28 10:54           ` Alan Schmitt
@ 2016-11-28 13:51             ` Ista Zahn
  2016-11-29  9:26               ` Alan Schmitt
  0 siblings, 1 reply; 11+ messages in thread
From: Ista Zahn @ 2016-11-28 13:51 UTC (permalink / raw)
  To: Alan Schmitt; +Cc: emacs-orgmode Mailinglist

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

On Nov 28, 2016 5:54 AM, "Alan Schmitt" <alan.schmitt@polytechnique.org>
wrote:
>
> Hello again,
>
> On 2016-11-28 09:01, Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>
> > I'm sorry to write again about this, but the problem has come back, and
> > reinstalling org-plus-contrib did not make it go away this time.

Do you perhaps have both org and org-plus-contrib installed? If so, remove
org, then remove and reinstall org-plus-contrib.

--Ista
> >
> > I'm pretty sure this is not a problem with org itself, but some
> > interaction with other packages (I'm using Spacemacs so there are many
> > things happening under the hood). I don't know what to do to start
> > investigating. Would you have suggestions?
>
> I'm also seeing some other very strange behavior. For instance, while
> editing an org-beamer file, the function org-beamer-select-environment
> (bound to C-c C-b) is just the tagging function (bound to C-c C-q). To
> get the beamer behavior, I need to evaluate the defun of
> org-beamer-select-environment, and then all works well until the next
> time I restart emacs.
>
> I have no idea how such a thing would happen. Any suggestions?
>
> Thanks,
>
> Alan
>
> --
> OpenPGP Key ID : 040D0A3B4ED2E5C7
> Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29

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

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

* Re: v9.0 running babel blocks
  2016-11-28 13:51             ` Ista Zahn
@ 2016-11-29  9:26               ` Alan Schmitt
  0 siblings, 0 replies; 11+ messages in thread
From: Alan Schmitt @ 2016-11-29  9:26 UTC (permalink / raw)
  To: Ista Zahn; +Cc: emacs-orgmode Mailinglist

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

On 2016-11-28 08:51, Ista Zahn <istazahn@gmail.com> writes:

> On Nov 28, 2016 5:54 AM, "Alan Schmitt" <alan.schmitt@polytechnique.org> wrote:
>>
>> Hello again,
>>
>> On 2016-11-28 09:01, Alan Schmitt <alan.schmitt@polytechnique.org> writes:
>>
>> > I'm sorry to write again about this, but the problem has come back, and
>> > reinstalling org-plus-contrib did not make it go away this time.
>
> Do you perhaps have both org and org-plus-contrib installed? If so,
> remove org, then remove and reinstall org-plus-contrib.

Thank you, this might have been the issue. I reinstalled my
configuration from scratch (nuking the whole elpa directory), and things
are back to working.

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2016-10: 401.57, 2015-10: 398.29

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

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

end of thread, other threads:[~2016-11-29  9:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-03 19:50 v9.0 running babel blocks John Kitchin
2016-11-03 21:47 ` Joon Ro
2016-11-03 23:50   ` John Kitchin
2016-11-04  2:40     ` Joon Ro
2016-11-22 15:46     ` Alan Schmitt
2016-11-23  7:48       ` Alan Schmitt
2016-11-28  8:01         ` Alan Schmitt
2016-11-28 10:54           ` Alan Schmitt
2016-11-28 13:51             ` Ista Zahn
2016-11-29  9:26               ` Alan Schmitt
2016-11-04  7:37 ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.