emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xebar Saram <zeltakc@gmail.com>
To: Xebar Saram <zeltakc@gmail.com>, org mode <emacs-orgmode@gnu.org>
Subject: Re: Error: org-babel-execute-src-block: No org-babel-execute function for conf!
Date: Mon, 7 Nov 2016 16:12:03 +0200	[thread overview]
Message-ID: <CAOQHXPoCahaFO3q9jO0BK2o3xNNm4WBcmNrJd1V=Q0bpbSNEeQ@mail.gmail.com> (raw)
In-Reply-To: <87h97jldm5.fsf@nicolasgoaziou.fr>

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

got it it works now, thx so much!

Z

On Mon, Nov 7, 2016 at 1:43 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Xebar Saram <zeltakc@gmail.com> writes:
>
> > 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
>
> I don't understand your function. What is the point of the '(16)
> argument, according to your needs? From `org-babel-tangle' docstring,
>
>   With two universal prefix arguments, only tangle blocks for the
>   tangle file of the block at point.
>
> You need to put point on a source block per above, hence the error you
> obtain.
>
> Regards,
>
> --
> Nicolas Goaziou
>

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

      reply	other threads:[~2016-11-07 14:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-06 13:20 Error: org-babel-execute-src-block: No org-babel-execute function for conf! Xebar Saram
2016-11-07  0:28 ` Nicolas Goaziou
2016-11-07  6:06   ` Xebar Saram
2016-11-07  6:46     ` Nicolas Goaziou
2016-11-07  7:10       ` Xebar Saram
2016-11-07 11:43         ` Nicolas Goaziou
2016-11-07 14:12           ` Xebar Saram [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOQHXPoCahaFO3q9jO0BK2o3xNNm4WBcmNrJd1V=Q0bpbSNEeQ@mail.gmail.com' \
    --to=zeltakc@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).