From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yBMeKUUTE2N+gQEAbAwnHQ (envelope-from ) for ; Sat, 03 Sep 2022 10:41:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qMAJKUUTE2N3JAAAauVa8A (envelope-from ) for ; Sat, 03 Sep 2022 10:41:41 +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 5C4DC3E81F for ; Sat, 3 Sep 2022 10:41:41 +0200 (CEST) Received: from localhost ([::1]:49360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUOih-0008CF-PD for larch@yhetil.org; Sat, 03 Sep 2022 04:41:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUOhc-0008Am-K4 for emacs-orgmode@gnu.org; Sat, 03 Sep 2022 04:40:32 -0400 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:46595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUOhZ-0007Eu-Ea for emacs-orgmode@gnu.org; Sat, 03 Sep 2022 04:40:32 -0400 Received: by mail-pg1-x532.google.com with SMTP id 78so3853781pgb.13 for ; Sat, 03 Sep 2022 01:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=gNQAwpcNYiu26bk0nNii9iVPQOJ+fTvZqGpwh07MvL8=; b=RyWHn6jzAR0BOFjDOUHzQ9+JlsbCOpRwiA1Do8X6iHlYuIPx+AEjgRMHLrcsasrMp7 82DVIHPsNWzfQqVM994iecBJgj6Q/TWbYMjqpDxy/K8XjefYkzzFN664k8ttXLPICgdN xtOzOh3xkZ19Lu0Utv1XDj2heALdHvigLy1Eqv7W7WhbgxMOdhK95PGUNF/UOt11rq2X ABzFjKyF8yD9Z5T8EK8LGb+It7Phw8DZ+nCAoaaCv8pseFASg5ruR1lX3MO3AR02b/Zv 1CuExEUF4RHZvMAQv67wsDQfBxAKOvN00kXs4Zlfv/wz6Xj0a+RXt0DSRPFL//XIIcDq V89g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=gNQAwpcNYiu26bk0nNii9iVPQOJ+fTvZqGpwh07MvL8=; b=goOBbD09cSBvtsYFOk/GZ+8AMM9xSwy0qMlzlDkgbOITiUFlMKGFxsyNYvAggWPoFX KfrOK/qD0o03QAkSFCRknc1037ykWAv5giywMq53W1vVXUI9XUzCM85Lry3GQR8BeilE 9vcobLfjVf+Ao1xPm7r1YeMsKUFPWk2rdSEirXhOI/Esh+H5xl50MZfPlASYUCPg3EGm OVsCkG5RdvvOv/qLGfaolP0ftYz1dHFjDK9E+7xdDnWC1jXCmp5WzXCfFPuhU9GlHjeW 4Vh2XtQr/o+iYdnmyzQToew4U2Jkuo3V2+LMdoWXUL0OxrB4R+qyyAMT5cZRlr1LjPuC gqQA== X-Gm-Message-State: ACgBeo0Ob4aNlEegwdpPs6jtwuLxgvEL7+bDurL+HR1d/SoZZv9OniMG m7Vp3nlKYjVzI78nKEkKrX8= X-Google-Smtp-Source: AA6agR4Z8APu8cd9BRHnuPQOLHXIMYaELD0veg0WmdlBsJXMyPCOObVMJQ/i8KD/ONE9S6KiVhEdBA== X-Received: by 2002:a63:d16:0:b0:41d:fe52:1d2f with SMTP id c22-20020a630d16000000b0041dfe521d2fmr34254152pgl.416.1662194427011; Sat, 03 Sep 2022 01:40:27 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id pw8-20020a17090b278800b001fabaeb1245sm2819596pjb.24.2022.09.03.01.40.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Sep 2022 01:40:26 -0700 (PDT) From: Ihor Radchenko To: sebastien.miquel@posteo.eu Cc: emacs-orgmode Subject: Re: Support for tagging (special) blocks In-Reply-To: <8f79980b-e903-c68a-cf07-6c5265215ee4@posteo.eu> 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> Date: Sat, 03 Sep 2022 16:41:25 +0800 Message-ID: <87ler097ey.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=yantar92@gmail.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , 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=1662194501; 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: 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=gNQAwpcNYiu26bk0nNii9iVPQOJ+fTvZqGpwh07MvL8=; b=lwsbzIZ5eFRIV2wxcasYQMj2McOo7UH9tuVInIgFZ/T17/LO4I/bjWtzTzuDA84vvPbtQa UBLfvfSCms2AduHd6oQqy1frMJrEQc/TuaWl2SeVSW6wltlnag1WR2aMbIN/h3Zik98A82 ZCtZyoMYk8OHsgWDa+JcO7e+itkWJ9utnBUj4pJCKdcYBx7T91CCgDktVt5Amanyr/SRHy KFrvVcZjLhBalkS9sOVeDYZYccRt/RXCM1+cs7PAv7fBByJKDDHBJ6UAlXOsgyEzqPA6FL FDi6Sr4qhaPNuC/YPsjitncXd/mIzaMHUC+IwHhI75A3bxjYcLTcPJRkjEK4/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662194501; a=rsa-sha256; cv=none; b=OTyMdo6IAD+Hd3Xlwa+n2gs9eK2y4wej3i0aZF4bBNvExvGPEonp13CdTHK4iJKKLPXR4E cAwf9rBn2CHxPahi+l9ZKnzg/TSmx3UWB7DcDpcdPjDp1aMuyQ9i4/AvJLO0w6UOC2hlmN T0IvRZFKSqV/UASxfbGxIT6XRNw9rDSUDeyxzoGx8NxAAujCNJ5aC/3mTBal9G+h5LJ+AR KdB7h6xvK4DJ2RlmUX4Uj7HxifKkKjoDT2DrTvCpuzlvRTW1uiatkGTn/K7DZxFF7sZu5N ZO9JIA+A+ZNzP06FWFx0+Q7In1+2ULmVOATeelxm1CODtdyiY+wcSqgq1c9L7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RyWHn6jz; dmarc=pass (policy=none) header.from=gmail.com; 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.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=RyWHn6jz; dmarc=pass (policy=none) header.from=gmail.com; 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: 5C4DC3E81F X-Spam-Score: -3.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0dv7aRCy4Fjq S=C3=A9bastien Miquel writes: > > We already have ":exports none" header argument. > > For src block yes, but not for special blocks. > > To explain where I'm coming from : I write mathematical content > categorized using special blocks, such as theorems, exercices, proofs, > personnal notes, etc. Then from a single org file, I export several > pdf files, filtering the content according to the types and tags of > special blocks : for example, to exclude some proofs, or exercices > that are too hard. We may allow something like #+attr_all: :exports no in export. > > Affiliated keywords are indeed not uniform with headlines. But they are > > uniform with everything else. Paragraphs can have affiliated keywords. > > Or other blocks. Or lists. Or tables... > > That's indeed a good point. In fact, I had been wondering recently how > I could tag a single list item, but I guess affiliated keywords still > can't do that. Affiliated keywords can be assigned to lists. Not single items though: #+CAPTION: test1 - item 1 #+CAPTION: test2 - item 2 #+CAPTION: test3 - item 3 > >> 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. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92