From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SH1zK/Oy+GMSmQAAbAwnHQ (envelope-from ) for ; Fri, 24 Feb 2023 13:52:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eB8uK/Oy+GNKSgAAauVa8A (envelope-from ) for ; Fri, 24 Feb 2023 13:52:03 +0100 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 407CCECB7 for ; Fri, 24 Feb 2023 13:52:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVXXa-0006Hs-NK; Fri, 24 Feb 2023 07:51:10 -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 1pVXXZ-0006Hi-K7 for emacs-orgmode@gnu.org; Fri, 24 Feb 2023 07:51:09 -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 1pVXXU-0002zf-S9 for emacs-orgmode@gnu.org; Fri, 24 Feb 2023 07:51:09 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9F541240193 for ; Fri, 24 Feb 2023 13:51:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1677243061; bh=O5/S2JNQ7pq2GKFn/2D9uNOucN91eBaPpKnQ/aCk8BA=; h=Date:Subject:To:From:Cc:From; b=gYVxNPAtrbJRITxGCM4EGhiyeUBpu1JclWretKamCaWoSHdSKt6sE0E69W6+9kGE+ 8+642Ysu/Eh41cFzgCcuuMjQCC4wGu5pmeGIMBtEbIIx9mKU6Taj46pQuno8c50sge ihjU/lZNrole7+4DybQASYuizKEwVpj5gt760W2zCxrdyYUCeFsHqIfGdyLtIbZCep 7a1aeIdx54EluWm4PjNAm1DwqeaDSmg+BRG0MBRmM8G9Q9nZh5YV8bJEZAVLXf5psv 36iD0WrRZg/HHi7loWn+IBWmR3rNeaprRsyDlrMWcqDgGHEJA8MHzxyaQvMgwCmpHr W7A+Do4NTi8Kg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PNVBD48y1z6tvL; Fri, 24 Feb 2023 13:51:00 +0100 (CET) Message-ID: Date: Fri, 24 Feb 2023 12:51:00 +0000 MIME-Version: 1.0 Subject: Re: [PATCH] Introduce "export features" Content-Language: fr To: Timothy References: <875yc95rxp.fsf@tec.tecosaur.net> <87ilfwnsf4.fsf@tec.tecosaur.net> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Cc: emacs-orgmode In-Reply-To: <87ilfwnsf4.fsf@tec.tecosaur.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=sebastien.miquel@posteo.eu; helo=mout02.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-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: , Reply-To: sebastien.miquel@posteo.eu 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677243123; a=rsa-sha256; cv=none; b=PnPRQcAiN4zXahANPsq5v10Bawq5U95f78jNeFuVi2qm+r5SkLkjJbmpwkU/pStqedN5JI 6gan9RSAiecQidTM6ZlrtXfFFRYJOMMFS5C8/F/L/1w1JppwUTHJU0syY0p1Z925USJeJn jsQ2InjiFXnMVc88K/hLo3GxCkAZNBu6Qsp4oWwAszhZW++iXeTjurPIKor0XgOrWXwJij /V6kb1Y2vLJAefdhk2Qnj2OGnq4keWUZMPnJzjY/SvlhT1gbkKRzq6kWSW1lsU4lnz0ve+ wtj0uPdbNOUqhP0hdopaRePhqWW4lA88bfhVmOaKv4b8z5Cylm2j6Nk04jP4nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=gYVxNPAt; 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.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677243123; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=x/XK+HzGDLn3pdQnyxUdShmedfXSkdUVNQZT1x3irMU=; b=SpquzzXkCVgCcWDwIcrMYFnWpKQ3wAsYYwcSlAVMrtPQkgskVYgw82EXypwkMAqRCgto14 tN5o9PApK9B5NmmT0r51BffrYwgTDDG9y2sOD+a/8g2nxndhPKvW7BaycveGSYk1qtJm/2 YPfp5f3uxoaOu7gdKiExR5423R5Q4i658dxYSWd+wvClBKIenvmvq9um1VXZEIYjXeUxrf DcRqC79JfMhPgBzew0opE7UjI+exxxjfdh2MTMIcQIWIoAWg14hcASSYOJigOhVD2E7zSp 0q+GX8+FmT6N9EHwMc6fCyJuijAghy0rTn4T9xSFQNvUuR+JjqruqPbGcOCTCw== X-Migadu-Spam-Score: -4.38 X-Spam-Score: -4.38 X-Migadu-Queue-Id: 407CCECB7 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=gYVxNPAt; 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.eu X-TUID: l23QRyc+4WOF Hi, Timothy writes: > Notably, I’ve now got a draft manual entry (see the last patch attached), which > should go a long way to better explaining what this is without asking you to > wade through all the code comments 😄 Thank you for sharing your work Timothy, I've been using your export features for a while. I think it would be useful to support an easy way to toggle a feature on and off. Either the manual should describe the best way to make a feature depend on a user variable (this requires using the #+BIND keyword, I guess), or I'd like org to support a new keyword, such as : #+org_export_features that would take a list of features, and enable them. Here, I am thinking of features such as the `chikenize` example in the manual. I have not tested it, but after a quick look at the patch, enabled features should be available to the export transcoder functions, through their =info= argument, aren't they ? This seems very useful. -- Sébastien Miquel