From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gGomMDPxWV+SNwAA0tVLHw (envelope-from ) for ; Thu, 10 Sep 2020 09:26:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CM0cLDPxWV/DSQAAB5/wlQ (envelope-from ) for ; Thu, 10 Sep 2020 09:26:11 +0000 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 02EDE9400C7 for ; Thu, 10 Sep 2020 09:26:11 +0000 (UTC) Received: from localhost ([::1]:46132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGIqH-00017w-R6 for larch@yhetil.org; Thu, 10 Sep 2020 05:26:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGIpt-00017Z-7N for emacs-orgmode@gnu.org; Thu, 10 Sep 2020 05:25:45 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:39242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGIpq-0000mx-Dn for emacs-orgmode@gnu.org; Thu, 10 Sep 2020 05:25:44 -0400 Received: by mail-pj1-x1030.google.com with SMTP id s2so2741969pjr.4 for ; Thu, 10 Sep 2020 02:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=i7Nv4UAgi2eRIUMpgxmePXpi1VGpdN+CdIZHtdgJHbM=; b=PUxLoKwhXPtcSAuv61IzaDVhQ1YZZ/IXxY6gmXxUiOPQRa4hOpmNvKbYfPoW3DfPni BbuoPH0OdxbddvwDpWch2C/vw/0hiL83G6B60XH7k7ro+9zkG3q3P/ZeISOhoVLUCR5q nQiHm+ZMmUACsf8PXzDuY79ExfT5Ys5tR0Z+8GUYtcJ5IEpQQm69h2Qj6iCMBCsmC1AV j6+LRWB3L+A1hbU8QqiwU1i4p6mkyt8ECrmnc4fxL+GTYYJ21R/xsa4HqrkgxPZlGG2m Tz3vlHMk8QgfgZoltYoHjwvqi1+Wsv6ILg7J813ZeMLa4A0mqMYWxwF5W8sH6eJrk9NR ZTaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=i7Nv4UAgi2eRIUMpgxmePXpi1VGpdN+CdIZHtdgJHbM=; b=LBEjw7jhQvfc63TVu13xUuwbCqzhUSRgHsws5Y4gATheNIXu5uvNge0tdvBOAvwX5E /EmqnvvKsYplTemlHXCTmIXUTq0DU6KclhWRtBxhZZOvLmpEX53e/EiJYsACnVNHLPLz jh6ShP7knqMXc5QiLIuHcC74HpWZKcGlxFuESFqvPm/uxOyYHuENCkdmYE+FLgy/bppP RfEtQIYDGDnVdBkBK5ZXUXArh7I3a6Nn+HyotH7Mr4p+0ipAoJtzDtnE9ijEqtHB7iVr 7iNevW+adAfhSgmd6xFClwgqkA+K4omKET5jNTmI5AwiTSb9Nq1Qmgn+554nTGAyl0RA AGOw== X-Gm-Message-State: AOAM533lsUE2waDJY9GunIaF8b+6z81Qu3dhYNr3j79gB34a8sTV/cvL cijWCJSs6+9ummElhmEKOCB6GschT+ljbBVs X-Google-Smtp-Source: ABdhPJzmsWpuDbibAU8o77iMFHE7ynxj5plDtlL8KeVxhzskfyyeg6GgoOxBws2VtxecOK8ESvEoPQ== X-Received: by 2002:a17:90b:3351:: with SMTP id lm17mr4289628pjb.151.1599729939814; Thu, 10 Sep 2020 02:25:39 -0700 (PDT) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id v21sm1522374pjn.4.2020.09.10.02.25.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 02:25:38 -0700 (PDT) From: Ihor Radchenko To: Nicolas Goaziou Subject: Re: [feature request] A new cookie type [!] showing the last note taken In-Reply-To: <87lfhjm4nl.fsf@nicolasgoaziou.fr> References: <87zh6eymxs.fsf@localhost> <87h7skldpt.fsf@nicolasgoaziou.fr> <875z90xvqk.fsf@localhost> <871rjo8kgr.fsf@nicolasgoaziou.fr> <873644xr6y.fsf@localhost> <87sgc470lk.fsf@nicolasgoaziou.fr> <87y2lvwny0.fsf@localhost> <87lfhu7tgi.fsf@nicolasgoaziou.fr> <87mu29djhg.fsf@localhost> <87sgbzw77n.fsf@nicolasgoaziou.fr> <871rjgahyj.fsf@localhost> <87lfhjm4nl.fsf@nicolasgoaziou.fr> Date: Thu, 10 Sep 2020 17:24:39 +0800 Message-ID: <877dt2j86g.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1030.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, 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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=PUxLoKwh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: tHQfVN56A8ky >> You are right. I missed that \\ is also a newline for LaTeX export. > > It is a line break in any export back-end. I did not know this and I cannot find any reference about such behaviour in manual (info:org#Markup for Rich Contents). >> However, it is unused it unordered lists. We might define a note as a >> unnumbered list item with [@note]: >> >> - [@note] This is note > > That's a reasonable syntax extension, maybe too English-centered. Maybe > a more abstract [@!] would be better. It also looks better for me. Should I open separate bug report proposing this syntax extension? >> In addition, all the list items in :LOGBOOK: drawer may be considered >> notes (to avoid a need to change the current format of the >> automatically added notes). > > Notes are not necessary stuffed into a LOGBOOK drawer, or even into > a drawer at all. Besides, LOGBOOK is a common word, and it is not > unreasonable to think some user could have used it for other purposes. > > Old notes are going to be incompatible (as in ignored by any tool > processing notes, not invalid markup) with the new ones. I don't think > there's a way to eschew it. It doesn't seem to be a big deal, however, > as you don't lose anything by keeping notes in old syntax around. That said, if we decide about the new syntax, it might be a good idea to provide command converting items inside LOGBOOK drawers into notes. Best, Ihor Nicolas Goaziou writes: > Hello, > > Ihor Radchenko writes: > >> You are right. I missed that \\ is also a newline for LaTeX export. > > It is a line break in any export back-end. > >> Another possibility is re-purposing counter definition from ordered >> lists. Currently the "\\[@[0-9]+\\]" is used to force item number in >> ordered lists: >> >> 1. item >> 5. [@5] another item >> 6. next item >> >> However, it is unused it unordered lists. We might define a note as a >> unnumbered list item with [@note]: >> >> - [@note] This is note > > That's a reasonable syntax extension, maybe too English-centered. Maybe > a more abstract [@!] would be better. > >> In addition, all the list items in :LOGBOOK: drawer may be considered >> notes (to avoid a need to change the current format of the >> automatically added notes). > > Notes are not necessary stuffed into a LOGBOOK drawer, or even into > a drawer at all. Besides, LOGBOOK is a common word, and it is not > unreasonable to think some user could have used it for other purposes. > > Old notes are going to be incompatible (as in ignored by any tool > processing notes, not invalid markup) with the new ones. I don't think > there's a way to eschew it. It doesn't seem to be a big deal, however, > as you don't lose anything by keeping notes in old syntax around. > > Regards, > -- > Nicolas Goaziou