From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MA0bLylZ+2M3CQEAbAwnHQ (envelope-from ) for ; Sun, 26 Feb 2023 14:05:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +FwrLylZ+2OmEwEA9RJhRA (envelope-from ) for ; Sun, 26 Feb 2023 14:05:45 +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 0963739A05 for ; Sun, 26 Feb 2023 14:05:45 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b="qu/ha0Ff"; 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-Seal: i=1; s=key1; d=yhetil.org; t=1677416745; a=rsa-sha256; cv=none; b=KZ2+iW78pzIt9HZez13N0wV8cNLkhyaimYoiVz4zGw2t/WbYi8WvWy3nE6wLj5I3aNii2r pRUfwOm8DXXAa7NMsZojvBcZgIMPUt4g4q+HPkQBUuAZaPlh8QU6lAFuxjZR5IcEAz/Vz/ zCU977/mk/eLuYDyVFziFoC1ScdprmssG598+u2B5TsCxh+HiXrZKU5p8g5IhWc4krZQuJ olrxaQGrliEoitV05exziqgQjCbpRG8SwIGFYflUekF/+a/HI86ueMGFwvsON03QhMGjkH par8O2QCU+cds+/pAwFIjT48WLeOdA7fPJly/FNCUqq8W/wboFup+TtBtk7OcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b="qu/ha0Ff"; 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=1677416745; 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=6LdHbXodhW41EKkwmzvE9sTAdK03R/+tpEl8zveyuoI=; b=vDGJ7t9BZ22RCP6anX7Xw2FiTTRT4hcpv/R1u/MIC2el8P+CBNueZ7//y067LPSm5hCYVQ QJjquaW4y99bg7s8UuXoNkeYZCwVYBmjkWNv0Pls0PI29R1540x7VpaZQtu+bAoIBYtrLw YV66YRiR5K+YNsrNwtMNdMjgLLRd0m+OhhsTNsS+HJ6i50KKCRMF55LJ7wuNy5GmLHgDQU B27Sd31JxtU9BGe2JV03aSeZtIdJc10EpBGDR6O0FlsNwkx8eyCQonqA6UW7sQemP1lXiv nRactWfeBeKP8v9OHFx+qz6sBs877B0wQef9sAq0K5c+bm7jFz31u1Fvnuv0kw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWGi8-0002Y5-47; Sun, 26 Feb 2023 08:05:04 -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 1pWGi4-0002Wt-Oi for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 08:05:01 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWGi2-0003WB-PE for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 08:05:00 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6BE6624008B for ; Sun, 26 Feb 2023 14:04:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1677416694; bh=s4AC5002ur0rqHGhs0dUlP0vhIzhJU4m3CtSbsRDYkA=; h=Date:Subject:To:From:Cc:From; b=qu/ha0FfJSAXQur6fzY2395rxEizOEOmillzeY7eZKItLldcfwMDeO1Mb6Bpq0mKY wPRWJQj+yN39wEl9hdvlKwNQEafTtwscwy11+u7kAQhQGsp+NNBu4S3esFP3tak3+D yZQ7X5V3fPlpNIzFjx6y/Ow9moq6b/+awy53+FX5TzuQdf0qcUF+JXreImx5sBF9Fj rdusSfibvY+Y53KrzegIGvLuYma7I7p/4xqlFUsy2LpamdSqdxVfjAOrQItaXTUKQ+ ZDk8tpFu1Fbdb3vscDI2lo64EKj+HR73DpGFbw0rV+/avaxz6AOJWAc7qIs458ZsJA 6MTRcch9LbSgA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PPkPH0jhZz9rxG; Sun, 26 Feb 2023 14:04:51 +0100 (CET) Message-ID: Date: Sun, 26 Feb 2023 13:04:50 +0000 MIME-Version: 1.0 Subject: Re: [PATCH] Introduce "export features" Content-Language: fr To: Ihor Radchenko References: <875yc95rxp.fsf@tec.tecosaur.net> <87ilfwnsf4.fsf@tec.tecosaur.net> <87h6vb43tq.fsf@localhost> <87ilfozkih.fsf@localhost> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Cc: emacs-orgmode , Timothy In-Reply-To: <87ilfozkih.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=sebastien.miquel@posteo.eu; helo=mout01.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, 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: X-Migadu-Queue-Id: 0963739A05 X-Spam-Score: -11.63 X-Migadu-Spam-Score: -11.63 X-Migadu-Scanner: scn0.migadu.com 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-Flow: FLOW_IN X-Migadu-Country: US X-TUID: phdK122T1T20 Ihor Radchenko writes: >>> The traditional user-facing approach for toggling staff in export is >>> setting export options. >> Indeed. Then I suggest that such use be described in the manual. >> Having the user create a whole new option in order to toggle a >> `chikenize` package seems a bit unwieldy, however. > What do you suggest instead of creating a new option? Timothy's patch supports having a feature depend on a variable. I was thinking here of a user variable (instead of an already defined org variable) that could be toggled per document. It is fairly orthogonal to the original purpose of the patch, but it does scratch an annoying itch of mine: there's very little support in org to minutely tweak the export on a per document basis, beyond the default options. One way to do this (easier than setting up a new option), is to define any variable, make the feature depend on it, and set it using the `#+bind` keyword. Combined with these export features, this could be used to easily tweak the LaTeX preamble, per document. If we find this use case to be legitimate and useful, I suggested earlier making it even easier with a `#+org_export_features` keyword. It would only take a list of feature names, and not require any variable tied to the feature. -- Sébastien Miquel