From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6KCZMq6b1WFiAwEAgWs5BA (envelope-from ) for ; Wed, 05 Jan 2022 14:22:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sBf0L66b1WGyjAAA9RJhRA (envelope-from ) for ; Wed, 05 Jan 2022 14:22:54 +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 59275239C5 for ; Wed, 5 Jan 2022 14:22:54 +0100 (CET) Received: from localhost ([::1]:55654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n56Fh-0001e2-6u for larch@yhetil.org; Wed, 05 Jan 2022 08:22:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n566B-0001bd-Lf for emacs-orgmode@gnu.org; Wed, 05 Jan 2022 08:13:03 -0500 Received: from mail.hostpark.net ([212.243.197.30]:45076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5661-0002AL-P6 for emacs-orgmode@gnu.org; Wed, 05 Jan 2022 08:12:57 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id E8FC5163FC; Wed, 5 Jan 2022 14:12:39 +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=1641388357; bh=Eg8xlINxktr2YWj5LYVJbnSf mFDl2P1ZATKrfblLjPI=; b=BdHDUvHeRgzUNR3KWWP4IPZwLcxrHjKlgGTqZD8i BM7ZwxrtfKHi+CCywuXP4LKFdJI4/ZHj/vVdS+tarWTUGw8xuUjDkIawqbGr4yrx CrXSfbrRgzNlgq8n///0uDEiUOSEpEhPCRNQKb7nydsT6IVsm/U3BmGg3KxqgUgo 5/s= 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 FNu0gvGetyX7; Wed, 5 Jan 2022 14:12:37 +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 B8F881647F; Wed, 5 Jan 2022 14:12:37 +0100 (CET) From: Jonas Bernoulli To: Nicolas Goaziou Subject: Re: [PATCH 1/2] ox-texinfo: Turn a description list item with "+" bullet into @itemx In-Reply-To: <87ee5u77mr.fsf@nicolasgoaziou.fr> References: <87pmqhmvg1.fsf@bernoul.li> <20211218214038.9459-1-jonas@bernoul.li> <20211218214038.9459-2-jonas@bernoul.li> <87wnjr9he9.fsf@nicolasgoaziou.fr> <87zgol7wkz.fsf@bernoul.li> <87ee5u77mr.fsf@nicolasgoaziou.fr> Date: Wed, 05 Jan 2022 14:12:36 +0100 Message-ID: <87mtkajph7.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: kyle@kyleam.com, 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=1641388974; 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=aqGC+nER40LNzWETXC4wFizxSqvKfYXp7fGejfm9cu8=; b=Y4ioqQXyrm0Gj80Im3R6heKiqGTzhZU36pJuO3Pi84Wf9fl9kVJiXMXlO4VHRYS6JM848n Vu0utb2OsS6dvhUwr+gP4pjKoRmm76jyNafEAFG6LlRphXfRFtwIoVdPJiZKyJGif15n5z UlOabXgOWY2wdFyu1crIWxy0kCEVDMUTirh4OXxgwExCzzaPCL1GYCQM7fL4iZhBlMC539 6qvqMRLUZxksalFPoNQsvpXS0HdcXXqIzrTfU8htITcQy3gFseAVn1nm+2KmFuaQNxyu+z TIjwgOWL41Br5gAlDYszKIRuGqIEprV+4OmKX0HE9qqCTle4mLNpRw9osaszQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641388974; a=rsa-sha256; cv=none; b=MXW0tbdIc4oS8Am0dp5psOgYqEWBQ7fyWri8HtDbbbCx1om28m5r/GqVDhdGWdAHqiUcYs 8WfMOcNl+YESDNw1q07qPMMhrPapfGo0FZMEHBxUaz+zfcI9LbX7Qu/mkqCnpMEA0YWYvM MzLA/t/qpHFIzhG2AU7tPM1jm/cFDBlG8IR/JoHpHw5+2bI7BUjpLDOnkptNqGm5/WcLwl 8GTftsDmdh6cb9x99wGhWRYankRExhZMB77BhFxdJKK+uYK7AWq/rZUyEPFW4SAzGSLRnJ d54mIsFepx1ybUosoB6JI7SRxxY9IBi6mYO/d573WHXo2pErrAoJ3Aihj9RTgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=BdHDUvHe; 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.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bernoul.li header.s=sel2011a header.b=BdHDUvHe; 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: 59275239C5 X-Spam-Score: -3.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: WyL29lYnFkAV Nicolas Goaziou writes: >> For example: >> >> - Key: C-c C-w (forge-browse-TYPE) :: >> + Key: C-c C-w (forge-browse-dwim) :: >> + Key: N b I (forge-browse-issues) :: >> + Key: N b P (forge-browse-pullreqs) :: >> + Key: N b t (forge-browse-topic) :: >> + Key: N b i (forge-browse-issue) :: >> + Key: N b p (forge-browse-pullreq) :: >> >> These commands visit the topic, issue(s), pull-request(s), post, >> branch, commit, or remote at point in a browser. ... >> >> vs. >> >> - Key: C-c C-w (forge-browse-TYPE), C-c C-w (forge-browse-dwim), N b I (forge-browse-issues), N b P (forge-browse-pullreqs), N b t (forge-browse-topic), N b i (forge-browse-issue), N b p (forge-browse-pullreq) :: >> >> These commands visit the topic, issue(s), pull-request(s), post, >> branch, commit, or remote at point in a browser. ... >> >> I am sure I am gonna make mistakes when using the latter approach. > > True, but OTOH, the first option is not really possible. However, there > are still alternatives. For example, you could check blank lines between > items: > > - key: a :: > - key: b :: > > - key: c :: > - key: d :: > > I suggest to require a special attribute before doing so, e.g., > > #+attr_texinfo: :compact t > - key: a :: > - key: b :: > > - key: c :: > - key: d :: I went with that approach. > Another option would be to merge consecutive lists with such an > attribute, for the same result: > > #+attr_texinfo: :compact t > - key: a :: > - key: b :: > > #+attr_texinfo: :compact t > - key: c :: > - key: d :: > > > - This is a regular list since it does not have :compact attribute. Ordered lists are transcoded to @itemize, while description lists are transcoded to @table or some other table command. So they cannot be combined into one list-like thing in Texinfo. The first two lists could be combined, but IMO it is better to only require the :compact t once and avoid splitting the list and then recombining the lists back into one. Jonas Ps: Slightly sad about loosing the +. It looks very much like the x at the end of @itemx.