From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YBiOA2Sel2H4hQAAgWs5BA (envelope-from ) for ; Fri, 19 Nov 2021 13:53:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iOzcOmOel2HBSwAA1q6Kng (envelope-from ) for ; Fri, 19 Nov 2021 12:53:55 +0000 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 AD7C79C2A for ; Fri, 19 Nov 2021 13:53:55 +0100 (CET) Received: from localhost ([::1]:53104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mo3Os-0002eC-JH for larch@yhetil.org; Fri, 19 Nov 2021 07:53:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3I9-0007AP-TC for emacs-orgmode@gnu.org; Fri, 19 Nov 2021 07:46:57 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:64957) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mo3I7-0004rF-DC for emacs-orgmode@gnu.org; Fri, 19 Nov 2021 07:46:57 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 3A41840005; Fri, 19 Nov 2021 12:46:51 +0000 (UTC) From: Nicolas Goaziou To: Jonas Bernoulli Subject: Re: Merging ox-texinfo+ into ox-texinfo References: <87ilx19pjh.fsf@bernoul.li> Date: Fri, 19 Nov 2021 13:46:51 +0100 In-Reply-To: <87ilx19pjh.fsf@bernoul.li> (Jonas Bernoulli's message of "Tue, 09 Nov 2021 19:01:22 +0100") Message-ID: <87v90o2tz8.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.194; envelope-from=mail@nicolasgoaziou.fr; helo=relay2-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637326435; 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; bh=RCM9U5FSDd3aokmuL1AwfILgA+GYKMy9dvL/HiudosI=; b=NblxEHTOn6R3qH2o81OcaAmxEvLi15KRGHaIoM9zPCkclgnLFSENwAJKcjk6q2zArSoTuR 7IyNkE90e8ZMj266b08pGIqsBuv4c+1mZJJShJ9U5sjxJTV8DLQsvroj++1DnLyqiKQ9EL yRrTmVgWAdEDN+pIFnwbnpWgZMQSpnSur2oyeUoxwU+jjn84ASdCQonurNe8swr3H8xJA+ 4/HP/xhmOxvEUtjCjiMuABtnaKnQ9wvjYSrzyCDLjpDa7AAFlCWMY9cLBlHEqXRzCcf077 cVPi+XqaMbXlALLvWJI09d0izTmOZz6cHw67YBy8Z9TYceDqVVkzTMkANwr43Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637326435; a=rsa-sha256; cv=none; b=efTN34wjfalE30DlrS6dJqz5hqF3nYBbFeVMLgvwWM9Z0LmojHztSzC92u/pRezYYLxKXz QOjvBD+S2jCV8wuPVlXao/SDsEE2hwAwkuMTkprJpuia8nepoQjunwtMtuWFRQUe9LokoO y9BzTxX4rzxvqwQJpdr1LJRyr/ElFSzxDvgHmQCv6mT8qCNPFqVVJhrsQrFl9H7ItBB4CK 6u7EAfQSCX70PYp3dQC8AiYvkqFeharqZIDtDE9Fk4LToOZalG9clQcw2MxYzfisazP1Gk zdOe/0s6Zr5yIUBT6A8Iq2ydyV5Q4w7ccNRD7rqpbZeIPW338/mFbxB8LlWWBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: AD7C79C2A X-Spam-Score: -2.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: SSelmSuhb8iN Hello, Jonas Bernoulli writes: > I recently talked to Bastien about this and he encouraged to bring up > the possibility of merging ox-texinfo+.el into ox-texinfo.el. > > ox-texinfo+ (https://github.com/tarsius/ox-texinfo-plus) has several > features but the one I would like to talk about now is the following. [...] > > Create `@deffn` and similar definition items by writing list > items in Org that look similar to what they will look like in > Info. To enable this, add: > > #+TEXINFO_DEFFN: t > > to your Org file. After doing that, you can create definition > items like so: > > - Command: magit-section-show > > Show the body of the current section. > > - Function: magit-git-exit-code &rest args > - Macro: magit-insert-section &rest args > - Variable: magit-display-buffer-noselect > - User Option: magit-display-buffer-function > - Key: q, magit-mode-bury-buffer > > I propose that we add this as an optional feature to ox-texinfo.el > itself. I like the idea, thank you for suggesting it. The chosen UI is rather odd however. I cannot think of another use of controlling export thhough "#+keyword: boolean" syntax. Usually, we extend the "options" keyword. It could become, for example: #+options: texinfo+:t Could it be possible to use that syntax instead? > It is possible to mix the two styles; you can use the ox-texinfo+.el > style for most or all definitions but use the additional flexibility of > ox-texinfo.el, when that is needed. How is it possible? Keywords are global. How do you change value locally? Regards, -- Nicolas Goaziou