emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Loading ob-shell fails with lexical binding
@ 2016-06-20 15:56 Kyle Meyer
  2016-06-20 16:53 ` Charles Millar
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Meyer @ 2016-06-20 15:56 UTC (permalink / raw)
  To: Org-mode

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

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

* Re: [BUG] Loading ob-shell fails with lexical binding
  2016-06-20 15:56 [BUG] Loading ob-shell fails with lexical binding Kyle Meyer
@ 2016-06-20 16:53 ` Charles Millar
  2016-06-20 18:00   ` Kyle Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Charles Millar @ 2016-06-20 16:53 UTC (permalink / raw)
  To: emacs-orgmode

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

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

* Re: [BUG] Loading ob-shell fails with lexical binding
  2016-06-20 16:53 ` Charles Millar
@ 2016-06-20 18:00   ` Kyle Meyer
  2016-06-20 20:17     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Meyer @ 2016-06-20 18:00 UTC (permalink / raw)
  To: emacs-orgmode

Charles Millar <millarc@verizon.net> 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

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

* Re: [BUG] Loading ob-shell fails with lexical binding
  2016-06-20 18:00   ` Kyle Meyer
@ 2016-06-20 20:17     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2016-06-20 20:17 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: emacs-orgmode

Hello,

Kyle Meyer <kyle@kyleam.com> 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

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

end of thread, other threads:[~2016-06-20 20:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-20 15:56 [BUG] Loading ob-shell fails with lexical binding Kyle Meyer
2016-06-20 16:53 ` Charles Millar
2016-06-20 18:00   ` Kyle Meyer
2016-06-20 20:17     ` Nicolas Goaziou

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