From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gFi+LPEnU188EgAA0tVLHw (envelope-from ) for ; Sat, 05 Sep 2020 05:53:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wPGYKPEnU1+fHQAA1q6Kng (envelope-from ) for ; Sat, 05 Sep 2020 05:53:53 +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 40314940366 for ; Sat, 5 Sep 2020 05:53:53 +0000 (UTC) Received: from localhost ([::1]:33726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kER95-0003p5-0B for larch@yhetil.org; Sat, 05 Sep 2020 01:53:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kER8i-0003oV-NQ for emacs-orgmode@gnu.org; Sat, 05 Sep 2020 01:53:28 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:44722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kER8g-0000Ij-VC for emacs-orgmode@gnu.org; Sat, 05 Sep 2020 01:53:28 -0400 Received: by mail-pf1-x432.google.com with SMTP id o20so5739052pfp.11 for ; Fri, 04 Sep 2020 22:53:26 -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=KJ94kkCgzEiKDBXlqO+7i8yf31wc4m/dEa56f8tUQj8=; b=I8wEq+cLBUa7J/S4zAToRNxb7QdD7ON3A4NNsjwr+XUbsZPxWJVm90ryuoeBMbNkLa f8oosUD5SuI34fdQsQt3D5JAGNFTu6kGcpnXGWSScNUsQWV/pHhkAJqhkly0OknkuXKj /Em/rIGSI94NqxAI3nrf5RF73J1R2SpIDlb7FBt80o+wVdiJidaKQoFRYgobnd4EoQaZ 9B8UVi5gBShwMZrcIOCvERwbl03deZom+rZ8ooKT1fFh1Wrwv0FykLQhYjBdMZQvIzRg DOc7I1G8uxtxZhY8Tqqe4j3JL4omCcTw+5GvqEMtqpSGWKNSat5HeniDC2ifhSkVawIh 2o0g== 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=KJ94kkCgzEiKDBXlqO+7i8yf31wc4m/dEa56f8tUQj8=; b=Oo1+7X3rOeE2a2Dl5APJi3TWcxwEdb+fzz0zwRw+0CL7zj24/CPKNQfs0/UvoYr/Dj 8rAnvRcuJAK7itIou6IjLXsjM2ub3NyM8f0Gp8T+KffxmYOfXF5oE1uOwy4u3OXWRkal Tqvx9dCgAbn+muZIUSEPNFmdslAe1dc3pszIJK3SV6xKz8eg5XK3YhX+xEVGnTAkOORe C/UOGMq04gaeoS7RMygwybvGxe6PX5m37KBAUyk2Yb0t+PR8hshS4eBKMyQ7q6a/6GOf pDyqeonJ/RCmLc1PhkNELOCFXyJUJmSjB9KZiEaTigBYVhvOd2wqHLqT6Q11qB6IaEZw LEbA== X-Gm-Message-State: AOAM5337EvKTELrjAi/Y4Ujbvx1cYEcvHAFS4Hz0u/u+Iu27VkggP3cu 2bAQw8kdo6Vn4Wfdkffz2+eFLMNcLXztgfcB X-Google-Smtp-Source: ABdhPJyG8yO1DQrANIKQVC1jokkhaqUkKAHNANvd5Kpa3mqM4Nc8uC7mbzDRqvc3+IoB8K3nUiGKyQ== X-Received: by 2002:a62:53c2:: with SMTP id h185mr11798260pfb.53.1599285205145; Fri, 04 Sep 2020 22:53:25 -0700 (PDT) Received: from localhost ([66.212.20.8]) by smtp.gmail.com with ESMTPSA id b29sm7257737pgb.71.2020.09.04.22.53.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 22:53:24 -0700 (PDT) From: Ihor Radchenko To: Nicolas Goaziou Subject: Re: [feature request] A new cookie type [!] showing the last note taken In-Reply-To: <87sgbzw77n.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> Date: Sat, 05 Sep 2020 13:52:20 +0800 Message-ID: <871rjgahyj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=yantar92@gmail.com; helo=mail-pf1-x432.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=I8wEq+cL; 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: 1/vKqJGjVC24 > However, writing an item > with a line break at the end of its first line is not necessarily > a note. You are right. I missed that \\ is also a newline for LaTeX export. 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 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). What do you think? Best, Ihor Nicolas Goaziou writes: > Hello, > > Ihor Radchenko writes: > >> I may miss something, but it does not look [for me] any more specific >> in comparison with headline format: >> >> - headline :: "^\*+ .+$" >> - first line of note :: "^[ \t]*-.+\\\\$" > > I do see a big difference, tho. Starting a line with an asterisk > followed by a space _always_ create a headline. However, writing an item > with a line break at the end of its first line is not necessarily > a note. > > - Question.\\ > Why would this be a note? > > - Answer.\\ > It isn't. > > So, suggested syntax is too ambiguous. > > Regards, > -- > Nicolas Goaziou