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 wHryBHb9Tl8FEwAA0tVLHw (envelope-from ) for ; Wed, 02 Sep 2020 02:03:34 +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 YC+xAHb9Tl/JBQAAB5/wlQ (envelope-from ) for ; Wed, 02 Sep 2020 02:03:34 +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 4BC6A94060B for ; Wed, 2 Sep 2020 02:03:33 +0000 (UTC) Received: from localhost ([::1]:53166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDI7W-0000zD-7i for larch@yhetil.org; Tue, 01 Sep 2020 22:03:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDI77-0000yp-Kq for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 22:03:05 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:41738) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDI76-0008Lx-3v for emacs-orgmode@gnu.org; Tue, 01 Sep 2020 22:03:05 -0400 Received: by mail-pf1-x435.google.com with SMTP id t9so1949370pfq.8 for ; Tue, 01 Sep 2020 19:03:03 -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=gVVza52zG6cFlD+0wAx/iqQ2Xk8rwGOxZVHO5TDS3gA=; b=kRPshRTf6MxfMlRRMAXlFw29hDc4tag4dwvtg4xf3EymwuesS8REHDmYkrs4mCps8q RTdX7CsUWcsWfCThvxaWUtPpX17g+ldHoOuIb0byDwNhVcKEkwlgi/5zHeZjZgixmMVG f7Wc2VFxwQJxfXA1lm5WW0iPPdC6Syl8uEjhteO/19IQc+kdfEAkTOb0ktGu5g1S0tmU ZYudoN7vfPE672fRTDJKRgcEDANi/J6m7L8yPYtFMeXIuoVnBk9oOIMnx7kIFd0gK/IB VWP2VtdacBQu/TiMON7O0wTnNmaqKUtsLQhMgYgnJ7Q02Hwl0m9bvsZFu3XWHao/Nmdc Zy3A== 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=gVVza52zG6cFlD+0wAx/iqQ2Xk8rwGOxZVHO5TDS3gA=; b=XNE8m6e4uiBJo3D7t+k7Y3NmE3QTFQpxNqhakzLp1nDYFsi/pPQzQ57AzT9qzkMub8 vv2AM5KkeY+UAodpilbQEonfbCClVuXo53UCIUjesjoi1CZWPeigvFAIgAdHiJj54R4n hbckrUnfg4am+ktQsMBk8/EwkyRksW/2RZWRqgW7IrLCPQo//Gy0+ummnokzbixEUKo+ q3mdgui3wUlrxG9uFO0gEwxB0PlkY4WHRGlEPA2onpQAEO2Vem/kmuIOE9YyINDL0cij fuz2OfLt/apWWq8IryURBsnNyq7Tu+6FnfFq0dclq09luKEV+MvZLCAHlAMCXvEHwlDc RZeg== X-Gm-Message-State: AOAM530bAt7KvV1RR1ICX1s1RJ9Ihsr9VcHZUzZ6PKS3jxpMPFPHIqOb 9l1RTXU6wR6Z0STo25lqxhgohlfRoO4= X-Google-Smtp-Source: ABdhPJyizV00TcCn89Hyfdw3Ui8cIbgLGM3lrQzNXiCGdIjUs3UmsKlmQauobkhai1f5CkY1kAD/bQ== X-Received: by 2002:a62:1648:: with SMTP id 69mr1049891pfw.127.1599012181928; Tue, 01 Sep 2020 19:03:01 -0700 (PDT) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id a138sm975026pfd.19.2020.09.01.19.03.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2020 19:03:00 -0700 (PDT) From: Ihor Radchenko To: Nicolas Goaziou Subject: Re: [feature request] A new cookie type [!] showing the last note taken In-Reply-To: <87lfhu7tgi.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> Date: Wed, 02 Sep 2020 10:02:03 +0800 Message-ID: <87mu29djhg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=yantar92@gmail.com; helo=mail-pf1-x435.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=kRPshRTf; 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: TeGEfnVxFdMj >> - \\ >> > > This is not specific enough to be considered as syntax. The risk of > false positive is too high. This is the reason why notes were never > considered as syntactically meaningful so far. 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]*-.+\\\\$" Body of the note can be extracted using existing item parser (removing the first line). >> The is taken from `org-log-note-headings'. > > This is configurable, which is not a good idea for any new syntax. Agree. The syntax may allow arbitrary first line instead of limiting it to `org-log-note-headings'. Though `org-log-note-headings' can still be used to define special types of notes - not a part of syntax, but for org-mode functionality in Emacs. Best, Ihor Nicolas Goaziou writes: > Hello, > > Ihor Radchenko writes: > >> Instead of linking to the function, we can define the format used by >> `org-add-note' as a formal format for notes. Currently `org-add-note' >> uses the following format: >> >> - \\ >> > > This is not specific enough to be considered as syntax. The risk of > false positive is too high. This is the reason why notes were never > considered as syntactically meaningful so far. > >> The is taken from `org-log-note-headings'. > > This is configurable, which is not a good idea for any new syntax. > > Regards, > -- > Nicolas Goaziou