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 Wsg8GXaiS199WQAA0tVLHw (envelope-from ) for ; Sun, 30 Aug 2020 12:58:30 +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 GBxTFHaiS18/BgAAB5/wlQ (envelope-from ) for ; Sun, 30 Aug 2020 12:58:30 +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 A143B940606 for ; Sun, 30 Aug 2020 12:58:29 +0000 (UTC) Received: from localhost ([::1]:34140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCMug-0003IN-Sc for larch@yhetil.org; Sun, 30 Aug 2020 08:58:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCMtr-0002ld-FJ for emacs-orgmode@gnu.org; Sun, 30 Aug 2020 08:57:35 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:54781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCMto-000706-By for emacs-orgmode@gnu.org; Sun, 30 Aug 2020 08:57:35 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay11.mail.gandi.net (Postfix) with ESMTPSA id ED83B100004; Sun, 30 Aug 2020 12:57:27 +0000 (UTC) From: Nicolas Goaziou To: Ihor Radchenko Subject: Re: [feature request] A new cookie type [!] showing the last note taken References: <87zh6eymxs.fsf@localhost> <87h7skldpt.fsf@nicolasgoaziou.fr> <875z90xvqk.fsf@localhost> <871rjo8kgr.fsf@nicolasgoaziou.fr> <873644xr6y.fsf@localhost> Mail-Followup-To: Ihor Radchenko , emacs-orgmode@gnu.org Date: Sun, 30 Aug 2020 14:57:27 +0200 In-Reply-To: <873644xr6y.fsf@localhost> (Ihor Radchenko's message of "Sun, 30 Aug 2020 20:18:29 +0800") Message-ID: <87sgc470lk.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.231; envelope-from=mail@nicolasgoaziou.fr; helo=relay11.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/30 08:57:28 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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=none; dmarc=none; 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: 0.49 X-TUID: XxaHOwGrBzAj Ihor Radchenko writes: > I feel that my understand of "note" in context of org is different from > yours. Is there a formal definition of "note" in org? As I stated in my first post a few hours ago: Notes are mostly free-form; there is no syntax describing them. > However, we can formalise the "last note taken" to "last note taken > using org-add-note". This is more realistic, but you are then binding the tool (`org-add-note') to the syntax ("[!]"), which is a step in the wrong direction. We must not assume Org mode is the only tool writing Org documents. > org-add-note is the only way I am aware about (except plain text, > indeed). That's why I wrote the function saving the last note taken > using org-add-note into SUMMARY. The property is only used here for > convenient retrieval, not because I implied showing a property value. I understand the property was used for convenience, but showing its value is the only problem your can really claim solving at the moment. > May I know what are the other ways to add note via interactive function > in Org? Capture is certainly one way. In fact, `org-add-note' could (should ?) be rewritten using Capture library. I wouldn't dismiss plain text insertion too easily, either. It also includes external tools. What happens if an external tool automatically insert notes? The feature you are requesting could make sense if notes had a clear syntax. This would bring some interesting features, too (e.g., being able to list all notes in an entry, accurately). But it would also raise new problems, as any syntax change (backward compatibility with old documents, external tools...). Regards,