Re: [O] [BUG] Loading ob-shell fails with lexical binding

2016-06-20 Thread Nicolas Goaziou
Hello,

Kyle Meyer  writes:

> Yep, org-babel-load-languages will end up processing (shell . t) to
> (require 'ob-shell), so this is the same underlying issue.

I actually broke ob-shell when switching to lexical-binding a few hours
ago. I just "unbroke" it.

Regards,

-- 
Nicolas Goaziou



Re: [O] [BUG] Loading ob-shell fails with lexical binding

2016-06-20 Thread Kyle Meyer
Charles Millar  writes:

> Hi,
>
>
> On 06/20/2016 11:56 AM, Kyle Meyer wrote:
>> Hello,
>>
>> After moving ob-shell.el over to lexical binding (2108f0c), emacs -Q
>> with "(require 'ob-shell)" reports
>>
>>  Debugger entered--Lisp error: (wrong-type-argument sequencep function)
>>concat("org-babel-execute:" function)
>>(intern (concat "org-babel-execute:" name))
>>  [...]
>>
>> It seems to be the :initialize value of org-babel-shell-names that is
>> problematic.
>>
>>
> This morning in order to load my init file I had to comment out (shell
> . t) in org-babel-load-languages

Yep, org-babel-load-languages will end up processing (shell . t) to
(require 'ob-shell), so this is the same underlying issue.

--
Kyle



Re: [O] [BUG] Loading ob-shell fails with lexical binding

2016-06-20 Thread Charles Millar

Hi,


On 06/20/2016 11:56 AM, Kyle Meyer wrote:

Hello,

After moving ob-shell.el over to lexical binding (2108f0c), emacs -Q
with "(require 'ob-shell)" reports

 Debugger entered--Lisp error: (wrong-type-argument sequencep function)
   concat("org-babel-execute:" function)
   (intern (concat "org-babel-execute:" name))
 [...]

It seems to be the :initialize value of org-babel-shell-names that is
problematic.


This morning in order to load my init file I had to comment out (shell . 
t) in org-babel-load-languages


Org-mode version 8.3.4 (release_8.3.4-957-g47fdeb @ 
/usr/local/share/emacs/site-lisp/org-mode/lisp/)




[O] [BUG] Loading ob-shell fails with lexical binding

2016-06-20 Thread Kyle Meyer
Hello,

After moving ob-shell.el over to lexical binding (2108f0c), emacs -Q
with "(require 'ob-shell)" reports

Debugger entered--Lisp error: (wrong-type-argument sequencep function)
  concat("org-babel-execute:" function)
  (intern (concat "org-babel-execute:" name))
[...]

It seems to be the :initialize value of org-babel-shell-names that is
problematic.

--
Kyle