From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yHWKN8ngdmeOswAAqHPOHw:P1 (envelope-from ) for ; Thu, 02 Jan 2025 18:54:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yHWKN8ngdmeOswAAqHPOHw (envelope-from ) for ; Thu, 02 Jan 2025 19:54:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kUjqg4EF; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735844041; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0RVQTfjsm0wszGfz96SIsSJ86wM45lpZHrLBqr0KepM=; b=FKqxC9j2feZzGn0+5aQydX0SORx1pcxbzKEUSOrIL3xYXOyHiWEkjA5SzEdbTxg5/4Vz5c d2bHp6ZPPRMvbyVWt7D8ML5r9JDi+uJvzDnO9awfq6zrNsBJpAO9+7Ts/5wofYo4QcR1fK MPqtJhcFHxqrfShMX1l6o152NZDnxYEsUT06TJzA6F6NGTCKjNbOzUolMcKbz9TohvU+cN FWUqVrQahcKCUc8i0JWD5OX7aHUXGyDzaa77WtLZjUzeayk/Qhj0ip8SMyKgtqvLu4+Ho/ cCPk2yBAs2t/9CiQ0Qf6ecM2o0mT8H5ykzEz2DzS68cBlu8d7j6SgjAblU5PxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kUjqg4EF; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735844041; a=rsa-sha256; cv=none; b=fKdsjQ7GE5jOiu7CfOC5ayLgYZ7BMiG3YYUCO047yeSCQidN0oR9tZEcL+oaFfIeyF/W6G 3FoJFinHNeU4OZnVEU/7D23wSypwxhv+UU52uwpJnnLTRNtEKoj9kmzQlTYZ0TEfSTxtiE tSp64QUx0tSvtdNNNG4zhFFFhnW/mjZMW4/U/XQCuiAR5XF7bmVXDdLqG0mEd82zE6GIsG SacMY4Nz2HT5FyYNUJOIjJQXBy+prfPGm39d/AmbqEqFeljhwsHHixZNF8+rvcYTgX8Oxu w96YkBIWA4IMjJA101fnLucPMwdLxo+QIIlbv1e6sVKoKPvUChdNUdGRemrbDA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A9936840E3 for ; Thu, 02 Jan 2025 19:54:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tTQJk-0000Oc-Lc; Thu, 02 Jan 2025 13:53:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTQJf-0000Nb-H5 for emacs-orgmode@gnu.org; Thu, 02 Jan 2025 13:53:08 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tTQJd-0003A3-19 for emacs-orgmode@gnu.org; Thu, 02 Jan 2025 13:53:07 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EF37A240101 for ; Thu, 2 Jan 2025 19:53:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1735843982; bh=uqgEbOuQR7H1FJoYJGvqI1NyOnuUIaPyP5muW6ePK/k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=kUjqg4EF0cOhfLY74Oe/tpXweerJfwdeCVUiJOGN8IFLUJsXNkkfGedIYeURlAsWr wI5UwklpwGmLydqy1b7d2GGkJyZ0LOQE4K87xewAhUKXlL1RKGGn8ymhrWeVeSReTA vAkeZcEcAxuxIqVgU+auLAgkjTMEH4jK6ivzjL5yattMxkpaPgKscSDCmZIFgmnbT3 ZxI0Pn1STEkhoUOpj+NTydJBQKwKD/XuxFX8GUZQCJ+bcKTx237SdRncJ7RUBfJAR2 u8eo/b+Y74MWhrZwFSZ1XuZ6T5213rJdLtaaIdl9L47aE7xVPnura9C0rxEIkXv2b+ QSC7SR8kkC0Ag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YPG715gz1z6txn; Thu, 2 Jan 2025 19:53:01 +0100 (CET) From: Ihor Radchenko To: Thibaut Meyer Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] ob-tangle: source blocks without language can be tangled In-Reply-To: <20250101201805.32825-1-thibaut@thibaut.dev> References: <87frm2fxr1.fsf@localhost> <20250101201805.32825-1-thibaut@thibaut.dev> Date: Thu, 02 Jan 2025 18:55:21 +0000 Message-ID: <87ed1lqc4m.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -8.79 X-Spam-Score: -8.79 X-Migadu-Queue-Id: A9936840E3 X-Migadu-Scanner: mx10.migadu.com X-TUID: C2HiPe6kyflg Thibaut Meyer writes: > * lisp/ob-tangle.el: (org-babel-tangle-collect-blocks): source blocks > without a language are not ignored anymore, if they inherit a > src-tfile other than "yes" or "no". > * lisp/ob-core.el: adapts the org-babel-src-block-regexp regular > expression to make the language part of a source block optional. > * testing/lisp/test-ob-tangle.el: (ob-tangle/collect-blocks): Augment > the test with source blocks without language specifiers. > * etc/ORG-NEWS: (=ob-tangle= now tangles source blocks that do not > specify a =language= if an inherited property sets a tangle filename): > Document the new behaviour. > * doc/org-manual.org: (Structure of Code Blocks) Clarify what happens > when the language identifier is omitted. > > TINYCHANGE Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=36347c6230 I also added you to the contributor list https://git.sr.ht/~bzg/worg/commit/ad6e2224 > Here the same patch with the TINYCHANGE cookie. I'll get the fsf papers > anyway as I intend to commit more. That's always welcome :) -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at