From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KK8RHME9lWJoOAAAbAwnHQ (envelope-from ) for ; Mon, 30 May 2022 23:57:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yGb2G8E9lWItRgAA9RJhRA (envelope-from ) for ; Mon, 30 May 2022 23:57:21 +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 F074A36EA1 for ; Mon, 30 May 2022 23:57:20 +0200 (CEST) Received: from localhost ([::1]:35114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvnO4-0006ZG-3m for larch@yhetil.org; Mon, 30 May 2022 17:57:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvnNI-0006Z8-SU for emacs-orgmode@gnu.org; Mon, 30 May 2022 17:56:32 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:43661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvnNH-0002sG-1K for emacs-orgmode@gnu.org; Mon, 30 May 2022 17:56:32 -0400 Received: by mail-pg1-x535.google.com with SMTP id s68so11087564pgs.10 for ; Mon, 30 May 2022 14:56:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=QoAAVwhEGoFeMjXveD2lXJd66BhQfTp++aVDZrZxo4w=; b=AtmzlfomjFW/xKQYHQe0rnQNnx5SZ35LewDEI05GJKHHzKzhmOIs8KLlCUf+8ABY+U EFAH6v4wafPKF5VQ3C8Z7N3+nHRdQItrHwJMBPCOTd+IaqxSxItsN2VWXX62Fr07jtpG hOCcfB0YL1SvAzuumX6nor8mT90O1oul5BqHgNvMwE/RHI2VfGLk4+GkfRM9g4kNmJxV P2iWYLTlhE0y9xlcMdKrw8WLE5MLiPPEFdzX1XbjzNH5LjnfipBHYAFo9qXlE0h6XnB4 xM9A4kloNGRKwy7bdOvSs8cBlet+PeR6oBK8h8FEhNfsyGjT8BwRwMCDTPjAPxcxmlcI qL+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=QoAAVwhEGoFeMjXveD2lXJd66BhQfTp++aVDZrZxo4w=; b=6uDc2jCzm2uQE5qRiSOPpERjrjUzViB54drJVQkPPxWY8F/TerUdv5c0hq7QdT2g+3 ayPEGlpJCTd91zV2JRnvWK3CbA8nwoxmkZsSljV0fke7j5bkXraJJI9kNRKDBG14N4BI azxVJBIwhyZuM5bWTJHm71ynnuGawH+PTxHOYeMCPwjrA6nSFSGLeFN+l0fwzqUzd/lv t84Boxd6ZnGdIxLaSfIDUgDBMU/veP/uU35Vv6kxDZFaUhmo7ITRGdWNeX6tFxA+i3N1 bvtf1tpv0we8Rz4p0cLC/K9HdgmrCWGDUnJFQEVQx3qa6hR8e6CBcQvHgIz0HsHICsyV h1rg== X-Gm-Message-State: AOAM532et3Wu2mL6yxTcY8SgIoMoCsUNvtBGtzS/TBKhvroaJbfbI2Zx TnnMtG4Xo12iZb9Sv9TIPyG7OMaRK3E= X-Google-Smtp-Source: ABdhPJx1RCIvfg1v0UsxEIjcHQNJGIgwDHX1SNn5TAmwVxmwhYjXGsKCbZ5rz8xwcvrrIjdVcchyzw== X-Received: by 2002:a63:520d:0:b0:3fa:52e2:1a1f with SMTP id g13-20020a63520d000000b003fa52e21a1fmr34227919pgb.546.1653947789324; Mon, 30 May 2022 14:56:29 -0700 (PDT) Received: from dingbat (220-235-29-41.dyn.iinet.net.au. [220.235.29.41]) by smtp.gmail.com with ESMTPSA id c1-20020a63d501000000b003c14af50631sm9085876pgg.73.2022.05.30.14.56.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 14:56:28 -0700 (PDT) References: <875ylpzmoh.fsf@gmail.com> <63167d83-ce29-f7d9-eeaf-38573b2b4205@gmail.com> <874k19zloo.fsf@gmail.com> <878rqj4gmm.fsf@ucl.ac.uk> <87h7575md8.fsf@posteo.net> User-agent: mu4e 1.7.24; emacs 28.1.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: # Comments export Date: Tue, 31 May 2022 07:49:53 +1000 In-reply-to: <87h7575md8.fsf@posteo.net> Message-ID: <8735gq3cs3.fsf@gmail.com> 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::535; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x535.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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=1653947841; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=QoAAVwhEGoFeMjXveD2lXJd66BhQfTp++aVDZrZxo4w=; b=pYrBL/M6WDv1/WhW5YODP0dDacJenlhO0WEZaxX9JX+/MvAOfApnwtAjftyNe/qqE9I07l Qu50HsNxejW6HsjBXQ91dMpvfM/LfrTuKrzHYZS1uEtjsC9Vk9aIUsE1SoqcuLmdgdqJSl v6gPHULLSkkZfMZNmUcIbrZmcJdNGFEZ6AGpAJhWgEsZuNh2m0yifxczjUkimOgL6oy7yK 0wl0tOj0bMQ3Yt2nHRqswHB+5t2qU8FtpZav+Vq8TH3kVyBfZQoWupQPeFf6HjralQj7mo ribxeuGQIRyOdnHczHX9RpbzKcesIj0QV3w2xzqooNi2atVeO0ONNOz2g60b7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653947841; a=rsa-sha256; cv=none; b=WscgsHch+MgJCbQgtwm+FKmUxhRXegLXTYrBzbrJxmAtfoFnWaZ9cAXyWybANBZ+T7VRJB +da6gh+l6ANn/2cjqcd8NOlmFtMDrZzp5ApdkerPnzEKfZXSleYyCcUcNiQrmsaPBN30FN I5y6eZE+BSfjZjVktkkK+2zIOBe62wj1xP90d6UUx6sBvTc2QgCFbVRM1JZTDeHzlFWv/2 ts039pkW5eNl7iIL6hBzHesKMnrugfLzG3sXRrNuva+sWh70D2TWKAXaYv66bz3tLSQvaD MZQKyA/JbTUOotKgdYQblSVNNOt+8rRFZk2wEEColKS6U2SYfpz5GY1Z55YNNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Atmzlfom; 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: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Atmzlfom; 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: F074A36EA1 X-Spam-Score: -4.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: U2qBit656nWo Juan Manuel Mac=C3=ADas writes: > Eric S Fraga writes: > >> I use drawers for this and then have specific processing of different >> types of drawers, depending on target. >> >> For instance, I might have :note: drawers (similar to inline tasks) with >> the following processing (for odt export; similar for LaTeX): >> >> --8<---------------cut here---------------start------------->8--- >> (setq-local org-odt-format-drawer-function >> (lambda (name contents) >> (if (string=3D name "note") >> (progn >> (format "%s= " contents))))) >> --8<---------------cut here---------------end--------------->8--- >> >> (progn because I used to do more in there...) > > I use a special type of footnote, which is exported to LaTeX as pdf > annotations (with the pdfannotate package) and to odt as comments. The > use of footnotes allows me to put comments and annotations within the > paragraph: > > https://list.orgmode.org/877de55cjf.fsf@posteo.net/ > I think this is a much better solution. I don't like the idea of adding the ability to export comments - the whole point of comments are to provide content which is NOT exported. If you find you have content as comments which you then want to export, my view would be that these are not 'comments' in the sense of org-mode. These sound like notes or annotations and there is likely a better approach than treating them as org comments. Org comments are probably best thought of as comments about org content and not org content per se. If you want your comments to appear as part of yhour exported data at some level, they are no longer comments, but rather a different class of content and should be categorised using one of the org content block types or a footnote.=20