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 wKmMLKNZpmEHbwEAgWs5BA (envelope-from ) for ; Tue, 30 Nov 2021 18:04:35 +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 4OhoKKNZpmEPCAAA1q6Kng (envelope-from ) for ; Tue, 30 Nov 2021 17:04:35 +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 2A6DD29A6E for ; Tue, 30 Nov 2021 18:04:35 +0100 (CET) Received: from localhost ([::1]:39132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms6YU-0005UA-2a for larch@yhetil.org; Tue, 30 Nov 2021 12:04:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms6T8-0005Q5-QT for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 11:59:03 -0500 Received: from mail.hostpark.net ([212.243.197.30]:44526) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms6T6-00072a-PB for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 11:59:02 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 3C31D164A6; Tue, 30 Nov 2021 17:58:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received; s=sel2011a; t=1638291535; bh=Ysue8NTIT92d+mcymRZ9RcRv vzjJQPabbulboctdlg8=; b=wqe+o7rk2CEImEH6L2jG9KMDCvDAh8gpKp3GPFX4 oUw/6KYbN5+smWvHfJxxy2nXk5k6hsZX/j0smG/vagZMop8xY9d//J2e+utmY1WP nJDT9LhZKMDqT47LvaIgO1Yv06xVuwXFDVUjyotfw3lKyy0jAFP1hhVU1nrJRyYE hKA= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id BE6mVkTARwBW; Tue, 30 Nov 2021 17:58:55 +0100 (CET) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 09ABD16408; Tue, 30 Nov 2021 17:58:55 +0100 (CET) From: Jonas Bernoulli To: Nicolas Goaziou Subject: Re: Merging ox-texinfo+ into ox-texinfo In-Reply-To: <87ilwlwui9.fsf@nicolasgoaziou.fr> References: <87ilx19pjh.fsf@bernoul.li> <87v90o2tz8.fsf@nicolasgoaziou.fr> <8735nq4jwd.fsf@bernoul.li> <87ilwlwui9.fsf@nicolasgoaziou.fr> Date: Tue, 30 Nov 2021 17:58:54 +0100 Message-ID: <87pmqhmvg1.fsf@bernoul.li> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638291875; 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=x1C6VvVO6ggqX5XdsZJX+2BL4ZfZCCizTpUziU1SlEA=; b=FbISEeL+du3PW05DhQPhcYEP3Hltd+M9MDu86y579RS5E3jhttiZr2+oLPlsUC305BUEJV 2T+MbPJFf/PazhykiIxKd1qcBx2CV879EnDf1W2PaBWSZE/4LbbhmKY2hnxhpKivHBRADb ybSt1VcZYRx7O0Z4JywO+szNC8iyyWUOPlPfK2xOFreBRnltlC7wDcRdRN9QWrumcJJPmw vg26ruJU5G6cLb0HUOukfHix63LMUzuhxU2EmepsaZ35MTC1eN6mQ49A0/cdsFwl6PsE2b 8v2bKy7Fftz2/hu+VkPbj0ASVNMsT991BOqhkAjARj7WBRj6HsYnpKBrDJVGrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638291875; a=rsa-sha256; cv=none; b=ekqoqcTAfxogvDYiD5/vo0Fw4u6BQwi7lC5oLvzrpEY/XpLJcBm81PZiZs42SA+ILOnQT4 K8D9N+MieJLJopIMJRUVsXpPqu5XO1L4xElkyJIZj5UXkLR08burJsf04XTlx9EsO1l6w4 pTCP0vF4eC5G3hHxRXIxEdHOQCJ04sZzSKccsqNDDi9ouIP4uneck3iuni6rnQC6Fh5kQz 3RnLZ4wpFwynVHzKptqZAxnO3cVtbwkb9NPX7wIOy9slGBUYdZVnzHCUqFevwtY+nyJwv1 P4pJ42pOoZbQOfs5FDek5bZYr+Y0ZcPcSiNSOKLVw0oYDMaLnl0XjCXZzNKE7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=wqe+o7rk; dmarc=none; 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" X-Migadu-Spam-Score: -3.71 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=wqe+o7rk; dmarc=none; 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" X-Migadu-Queue-Id: 2A6DD29A6E X-Spam-Score: -3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: aKSxdsthGMtn Sorry for the delay, I got side-tracked with many other things. Nicolas Goaziou writes: >>> It is possible to mix the two styles; >> >> Well... it turned out not to be true, but I should be able to get it >> to work. > > Then I suggest to use "attr_texinfo" keyword, for example: > > #+attr_texinfo: :shorthand t > - item... > > This way, we ensure the change is local. `org-texinfo-item' already > checks :sep attribute. I am sure I can get it to work just fine without a need for that. It just turns out that I haven't done so yet, because I only used the ox-texinfo+ style in manuals that use that style exclusively. Now that you have signaled that there is a good change that this would be included in Org, putting in the work to use both styles in parallel is actually justified. But it likely will be a few weeks until I get to work because I looked at the current implementation again and decided that it would be better to start over and do the work using org-element instead of at the latest possible moment when strings are being concatenated as ox-texinfo+ currently does. > I see no reason to change the prefix, since these functions are part of > ox-texinfo. I didn't look closely at your code, tho, so I may be wide of > the mark. I haven't started working on the org-element based implementation yet, but I expect that won't actually need any new function definitions so, the question is moot anyway. (But just in case: I agree.) Cheers, Jonas