emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Error: org-babel-execute-src-block: No org-babel-execute functio


From: Xebar Saram
Subject: Re: [O] Error: org-babel-execute-src-block: No org-babel-execute function for conf!
Date: Mon, 7 Nov 2016 09:10:18 +0200

Hi and thx again
Sorry for not being clearer. im trying to tangle not the whole file (which i think is what org-babel-tangle does) but a specific header with all sub headers associated with it (they all create one file). after reading the org documentation at the time i created this function

(defun z/org-tangle-at-block  ()
                     (interactive)                                
                     (let ((current-prefix-arg '(16)))             
                       (call-interactively #'org-babel-tangle)))

so following the previous code blocks example, I previously  went to the **** main i3 conf header and then issued the function  z/org-tangle-at-block which would tangle all sub header and blocks to one file ( ~/.i3/config).
when i try now to run the function i get the

user-error: Point is not in a source code block


really appreciate your help since currently all my dotfile system is broken :)

best

Z

On Mon, Nov 7, 2016 at 8:46 AM, Nicolas Goaziou <address@hidden> wrote:
Hello,

Xebar Saram <address@hidden> writes:

> thx Nicolas for the answer.
>
> im still having issues getting this to work
>
> here is my modified example
>
> **** main i3 conf
>      :PROPERTIES:
>      :ID:       f17b5518-2695-4484-a958-2fc7b8aa2479
>      :header-args: :tangle   ~/.i3/config
>      :END:
> mod is win key and mod1 is alt key in below config
> ***** General definitions
>       :PROPERTIES:
>       :ID:       97fcf6e4-a81d-4fe8-badc-6a9b48668ec2
>       :END:
>
> #+BEGIN_SRC conf
> # i3 general settings
> #set variable names
> set $mod Mod4
> # Use Mouse+$mod to drag floating windows to their wanted position
> floating_modifier $mod
> #+END_SRC
>
>
> yet when i try to tangle recursively i get:

I don't know what is to "tangle recursively", but calling
`org-babel-tangle' on the document above succeeds here.

Regards,

--
Nicolas Goaziou


reply via email to

[Prev in Thread] Current Thread [Next in Thread]