From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oN8wDkYmE2MmDAAAbAwnHQ (envelope-from ) for ; Sat, 03 Sep 2022 12:02:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +AN0DUYmE2OY7gAAG6o9tA (envelope-from ) for ; Sat, 03 Sep 2022 12:02:46 +0200 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 6AC7E28B60 for ; Sat, 3 Sep 2022 12:02:45 +0200 (CEST) Received: from localhost ([::1]:48820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUPzA-0003fQ-3R for larch@yhetil.org; Sat, 03 Sep 2022 06:02:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUPx2-0003fE-4G for emacs-orgmode@gnu.org; Sat, 03 Sep 2022 06:00:32 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUPwz-0007xP-Ob for emacs-orgmode@gnu.org; Sat, 03 Sep 2022 06:00:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2E48C240027 for ; Sat, 3 Sep 2022 12:00:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1662199227; bh=31QoPidhbFBuxlgnh0DmyCuvP0H9oBWI3XMkU9U6Pxw=; h=Date:Subject:To:From:Cc:From; b=NKYh4/ioRStimb4kitwRbyktcKNAnBFy/HMjFDv7EAP6+F7KDttUSzeIOJ+XoUC9r KRUXhT/I3G6cTSIdPPlh8Hx8mYj23R2PwFkvuk6fac4nRrg48jOglqpq2dZZ9HrSJV r5Ja6LaoLUT6ODsuVKqUPw1ggAHBjN/47RviqD1zMbZPIUkZET2UT77klheR7QkdgE mNSURYfZlR8mlPt6NgT4ZGh8BcjiO52UQ77obv5N2LwdTlRyKOPqAXlXHF3zhf0lmU crK/uj6jivIpeaJHozWjmqemqwdAEmjeIxTyiQIM4PQaUMnaea6Rmm7Or1Ys6IHMEL cXy6HUZdMwqwg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MKVdj2S5Cz9rxS; Sat, 3 Sep 2022 12:00:25 +0200 (CEST) Message-ID: <1cee88b1-00f6-44ff-be26-b43ece0c3e8b@posteo.eu> Date: Sat, 3 Sep 2022 10:00:24 +0000 MIME-Version: 1.0 Subject: Re: Support for tagging (special) blocks Content-Language: fr To: Ihor Radchenko References: <8735dbbuku.fsf@gmail.com> <87ler3oc4u.fsf@localhost> <30d5a0be-4651-3f41-8b53-91acd4a86ca5@posteo.eu> <87a67hncp7.fsf@localhost> <8f79980b-e903-c68a-cf07-6c5265215ee4@posteo.eu> <87ler097ey.fsf@localhost> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Cc: emacs-orgmode In-Reply-To: <87ler097ey.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, T_SCC_BODY_TEXT_LINE=-0.01 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: , Reply-To: sebastien.miquel@posteo.eu Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662199366; 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=p8PCZS9yZRs75TJSYVBicA3vlZADOEvVLF+102gLLNQ=; b=r20C14gGNmqckwiLnQNHxbaFa2/wKSjx5xli3pUdAPPG/+Br2C4sYdjjULUoyJIuX64dIc dT7dk6Sde+zPJss2EgmRidICZQKYT2nJsmQb+kzaeh5gSepGIm5+PXbZkYqiYLf24TUEuL y+BVr9tAFilA1jXFGOjjmCoGx5+bn3dD8dQe6RqJuoI2WOPU3WV+8CJtP7T/rqfCjzLX7d 1hcCI4veCw24hrAS9e/m/ZeWQGxEYEoBYsm/8vWRNlcGP0CVPlh2G2yheX521GdapuCsxP PHc+Zd7djjyKl0x/OkMzjRxqXKgV4w+UBslJWnl68F35UiCXhLMQ6PVB4NevyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662199366; a=rsa-sha256; cv=none; b=Go7SPBrkKQ7OpvC7LxxnXow3o560ezbCSfuzbQ/UHcwf1ph8A3wRiJwKB/4xM57z1hCSMk rEx6BZWinxgA5kIAK/jF82Y0gLewClOKXvL/mTXmvUnVUEB7gTPWtb4qetL2JnOGTgq1yF C/uuLL+9XCb07kvLoPLYjnWxh3FQ2xIrB6x/P2xWzuM4H1L9siyhWsDPzIUWqhdGpfpoDO wr994lyRYaeOloC91AJNNZEeECuIAwdTxvN+nQWDG1cU1kUxMqXL3HInMMpxZ4AjAj3QzW iXQY6TYlEM5bs9wA0M+Gd8EWq/CgPCHnqZeVP8H9WAx1DOdpO9Tmvmiq73cNfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b="NKYh4/io"; dmarc=pass (policy=none) header.from=posteo.eu; 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.97 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b="NKYh4/io"; dmarc=pass (policy=none) header.from=posteo.eu; 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: 6AC7E28B60 X-Spam-Score: -3.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: lEf891NFiUFH Ihor Radchenko writes: >> >> On a slightly related note, I find it quite unfortunate that one >> >> presently cannot make use of the #+begin_ line of special blocks to >> >> set some kind of optional title instead of using #+name or >> >> #+attr_latex. That's a lot of wasted real estate. >> > >> > Yes, but we do not want to overcomplicate Org syntax. Affiliated >> > keywords are universal across multiple element types. Adding a >> > specialized syntax for src blocks will make things complex technically >> > and create duplicate code. >> > >> > We can alter the fontification to compact the screen space though. Will >> > it suffice? >> > >> >> I don't see any possible compactification that doesn't hinder >> readability. From my perspective, it is important that the type of the >> special block, its title, and its tags are readable. > I feel that I either misunderstand you here or in the previous message. To clarify, here are the two alternatives I have in mind. #+tag: easy #+attr_latex: A classic #+begin_exercice Find a necessary and sufficient condition on $N$ and $P$ for $P = NP$ to hold. #+end_exercice #+begin_exercice A classic :easy: Find a necessary and sufficient condition on $N$ and $P$ for $P = NP$ to hold. #+end_exercice In my first message, I argue that wasting two lines of my screen hinders reading and navigating the whole org file. I'm not sure what fontification trick you had in mind to compact the space, but if you were thinking of making the meta lines smaller, by say 50%, I argue in my second message that this hinders the readability of this single exercice. The first three lines each contain information that is important to me when I browse the file (as opposed to information that's only relevant for org export). The only line that contains no content information is the #+end_exercice line, which is only here for the org parser. -- Sébastien Miquel