From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.help Subject: Re: Org mode & "literate programming": including files Date: Tue, 6 Apr 2021 23:18:16 +0300 Message-ID: <2f0f11ce-0616-9437-475d-d31165bb02a1@gmail.com> References: <20210406183852.67ucwze6yxugvgrl@bob-nuc> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37211"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 06 22:28:22 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lTsJA-0009Ya-WE for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 22:28:21 +0200 Original-Received: from localhost ([::1]:40630 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTsJA-0002T2-1S for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 16:28:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTs9W-0007zV-Lv for help-gnu-emacs@gnu.org; Tue, 06 Apr 2021 16:18:22 -0400 Original-Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:38400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTs9U-00069E-On for help-gnu-emacs@gnu.org; Tue, 06 Apr 2021 16:18:22 -0400 Original-Received: by mail-lf1-x12d.google.com with SMTP id j18so932968lfg.5 for ; Tue, 06 Apr 2021 13:18:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=8pzGoe9mz62sCsBEhZa7ha2giMZCdeNhJcy11io9cvo=; b=OqbhR+C2DMN++gi3pk8FRqjhQxygNT5nX/ByrtXuaiCT9UgmrSwOzFZZl5qoh1Eq9c eJVqMinsWZ2HrWFkTvG2RjOrzCER/VDVfi6oynctYT4hdclAi83VpgcyEmjP+9Pj6Ohp TeKPyI3Urfjo4pKVWDS3ybzqNwllY+ZwmtYV9LPP4r3kp8dfywMJL/uUC3Y5TsgPq0xM BslcJmKNsqM0LTDrDAlAdNwz4274cO8bD+rz4PMnxdMgGH75u69yUJc6V4TP00fUCKMd dId9CZfg3Izr4ilrelJjejWpRVV8lrWY0W7ZfWOIgwuWXXSLC8T1KfbB1nRUtVQQYjWA qJYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=8pzGoe9mz62sCsBEhZa7ha2giMZCdeNhJcy11io9cvo=; b=BVzDrjFZ4ewvIwvmASp4wiDkvR+++yWdTTPayS4extwpdu3+/v9zmDRzPMwfwj/Ctp GXT4dRlsKfuL8j34P688AMyvstkdwtG5S4+N+YUywWbMaa5zx9SvHsm+I3Q26CGpvs3f 1Gin7M8swa1VKW+fYUeTbcNU2NtJOyDgw9TWl/RW8WbYAt7CqGuWPn7AL7PjSPSWjanV PP/iyqWSteVnktRDhUTI2+7W1Mc4rBj0vAOQvNbAHACBXzFU7mOvHf1gSd0deG2DDeQA YMEZyvleEVo6wDAWwAGQH9PMrQjz7pdKPM4QlpPsDf4mUz8BV7CZ7iT6RwBRCKj0uM48 I4EA== X-Gm-Message-State: AOAM532Qx3pk5gRzAAfWQqKy6WLfUKRhBNPNOcOMrnzjEbPySOB11xXS 67qEqVhDJLk5GUSSM64BnuCVQdvKF6YqjA== X-Google-Smtp-Source: ABdhPJwuEuF5KmK4B5l+FrYT5fHSUmI9RxgRgRKxjvo2tgmIw/7POKoFd2tWjEfSLppKfJgaOqiPbw== X-Received: by 2002:a05:6512:21cb:: with SMTP id d11mr21463423lft.177.1617740297797; Tue, 06 Apr 2021 13:18:17 -0700 (PDT) Original-Received: from ?IPv6:2a02:2168:b115:9d00:3ce5:ef34:64ac:1929? ([2a02:2168:b115:9d00:3ce5:ef34:64ac:1929]) by smtp.gmail.com with ESMTPSA id x74sm2264910lff.145.2021.04.06.13.18.16 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Apr 2021 13:18:17 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev In-Reply-To: <20210406183852.67ucwze6yxugvgrl@bob-nuc> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=nikolay.kudryavtsev@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128872 Archived-At: Hello Bob. In org mode you can extract your source code from the org file into a proper language specific file. The general idea is that you write your library in org, then you tangle it into a proper scheme file and then just import that. See this part of the manual for more info (info "(org) Extracting Source Code") . Also, while you can expect people on this list to have a reasonable amount of org knowledge, the best place to ask org questions is actually emacs-orgmode@gnu.org mailing list.