From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wElgNtOs7GGwuQAAgWs5BA (envelope-from ) for ; Sun, 23 Jan 2022 02:18:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4CSaM9Os7GGaWwEA9RJhRA (envelope-from ) for ; Sun, 23 Jan 2022 02:18:11 +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 3F14F34479 for ; Sun, 23 Jan 2022 02:18:11 +0100 (CET) Received: from localhost ([::1]:57574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBRWD-0008QQ-BZ for larch@yhetil.org; Sat, 22 Jan 2022 20:18:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBRSu-0008QE-KZ for emacs-orgmode@gnu.org; Sat, 22 Jan 2022 20:14:44 -0500 Received: from mail.hostpark.net ([212.243.197.30]:50876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBRSs-0006WZ-Ic for emacs-orgmode@gnu.org; Sat, 22 Jan 2022 20:14:44 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id A2F32165AB; Sun, 23 Jan 2022 02:14:37 +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=1642900474; bh=n1x/2Go5lQCLJc96sF21MBPb 2d+WIkGEwh/DpKCCzBY=; b=s9fgcbCP/BdwA3oTum7agazPYqBkMpuWk6ug3vLW gckh3KqmbGgC+a1cMbAv9TGoPta7coGz9xEl+e3ZebcqJhwxEVRNthlU5M44F7F6 fgsuQRfCWcVcXBlmdIwYG/AHtSlXIe/iD6NiD1umvQgkDPk0GUraZVrMMLJ/18r9 EVk= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id Pw5Sma-B3ifh; Sun, 23 Jan 2022 02:14:34 +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 7833E165E2; Sun, 23 Jan 2022 02:14:34 +0100 (CET) From: Jonas Bernoulli To: Nicolas Goaziou Subject: Re: [PATCH v3 3/3] ox-texinfo: Define definition commands using description lists In-Reply-To: <874k5vfhfh.fsf@nicolasgoaziou.fr> References: <20211218214038.9459-1-jonas@bernoul.li> <20220118151129.19646-1-jonas@bernoul.li> <20220118151129.19646-4-jonas@bernoul.li> <874k5vfhfh.fsf@nicolasgoaziou.fr> Date: Sun, 23 Jan 2022 02:14:34 +0100 Message-ID: <87k0erjls5.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=1642900691; 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=q70yZmN1LiNOuSyjMlixuJjn4wP6aYrjE6UdffTYxCA=; b=i+njL6Ff8Xfe1lU4GJmmu/hD3zZasaFVtpcHsKsjGou+w//1f7/ZYJKljsu4pFqPZdFY8o DLZEgFgZ27qjgv5SunLgbjJrUIZum0hsJtQtQ3SUoWm6bJcUW5HGnSRxx61JPjUDiXM1PG ld4jNXN1rG2/98yjxg2RsOhTOLpJoyo0FUxK3LEY7EBSvv6CCH6XE91wVcaKFHzM7Zf9v9 RoOdPNj83G4A59Wad5slWbjJjpjOTGm/ybTUCHlfGz07Ic3Lu6ujxYjcTAMcVvwA0cLLE9 bRugA4b1ozw7nVpkrKY4dMS36s4tDj6XfVNZ1aa426RD4ElVHFeA5sOvRFC55w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642900691; a=rsa-sha256; cv=none; b=THgVPCtCaNP+Fg4wgbIvSpkK9dAyNQI144evcFL9bMYoYvrIoWM6dWMLzVcvoCctB9caNe JaQE7vfd5xEz8ZEHsMZJ/BGzTJY9RK2v6t4kpOrzx1oo2i+MIalwNCQ84MaywlWcoDIZf5 0zR8ULwY/Mv/VgFdVm6W3StLQ8A+PJvNKxUQ5Fi4ZTSTb1jglrR+3VjsB10UNXoiVbY+9V IlqTjQmYoyU6aGuL21OabaI/VOvOBv+oDY5R0zMgd/g9I3JATM/8iLE5lOopKvmf60U20Y sLD+4RnraXW7eG6Q4HL/ipj8Yuu6+F7dO6sdQ7x+XRiCvCT7cMAPOcsJXsae4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=s9fgcbCP; 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.93 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=s9fgcbCP; 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: 3F14F34479 X-Spam-Score: -3.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: VYMzjg8Aaivo Nicolas Goaziou writes: >> + (t >> + (org-element-set-contents >> + item (nconc >> + (mapcar (lambda (key) `(keyword (:key "KINDEX" :value ,key))) kindex) >> + (mapcar (lambda (cmd) `(keyword (:key "FINDEX" :value ,cmd))) findex) >> + (org-element-contents item)))))))) > > Indentation seems a bit off, otherwise, LGTM. Are you only referring to the spaces that should be replaced with a tab? "item (nconc\n" is also a bit weird so I changed that to (org-element-set-contents item (nconc (mapcar (lambda (key) `(keyword (:key "KINDEX" :value ,key))) kindex) (mapcar (lambda (cmd) `(keyword (:key "FINDEX" :value ,cmd))) findex) (org-element-contents item)))))))) Cheers, Jonas