From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mAO+D4UC/2Qg6gAA9RJhRA:P1 (envelope-from ) for ; Mon, 11 Sep 2023 14:05:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mAO+D4UC/2Qg6gAA9RJhRA (envelope-from ) for ; Mon, 11 Sep 2023 14:05:25 +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 420483599F for ; Mon, 11 Sep 2023 14:05:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=ZQdTLBFF; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694433924; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GVAqXzlC426/Q99gWmFQEMcQAnthP/MlxMy+vl72q0A=; b=a9M7aP5c+3o9vNm2TpS8ZJbJ3klSOZxzsXg23gx4k9i0FAekg3ZgsVpSCUv43c0hvAGOUX 3XoMMXZr+IXDsLejeWXkELNZg0f0nXwSei7I2e+tPxK3Oay8MhR9aECeq1RrdOxEm2TYl5 0BL112MnBeI0sobungf5IBFj2bLK2nfVKeuf6R2ORlnQTtDHPXUdz1TeN24+0dquOFBiLG IyO49q5m/vOMjsnyG44y0CuWl6D/Gq/mLIoHRf0XLD4iP6C9aswJb6OQYVkgkXx0NfTFnL At+lZeK4Ah/E8zzXcofNPWcCY1I43mNQQ6BBX3dr9ymeLUtk1x566UgRtodnNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694433924; a=rsa-sha256; cv=none; b=LvfsA34N0KFPxnj5kGxn4CAbJ430lNPRWcmLd/jByEFgxX+LfA9GdE6nKF00VmT9Toaxh0 EhRGQx3BQyc4RMkabvDr8ilfJUYckf960HPmUdGnM+TtxWFZq2lhl5TwRU38aleVu5Xtdi ckCtzx82OmOUvVctX1M6d5h8QjcADoAZtkgMm3i+Eq59b2Vw68gWqrq2l3PTzDN7dQazUo 6PS5npI6cdSg+VVkLMwMoP+9uzIKmn8KoWgo9MYXZqgAyRV6lr0M/0dzDPQ9skVh9Va5+f hSj9cKIpCGE5LHHvAVObQGCYDm4WI/bn1++8QMKI4k9ZyyVbYzfNL+ErAAFiag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=ZQdTLBFF; 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"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qffed-0001PE-VR; Mon, 11 Sep 2023 08:04:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qffec-0001Oy-2b for emacs-orgmode@gnu.org; Mon, 11 Sep 2023 08:04:34 -0400 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qffeY-0006Ku-DG for emacs-orgmode@gnu.org; Mon, 11 Sep 2023 08:04:33 -0400 Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-655d25f3678so16656376d6.3 for ; Mon, 11 Sep 2023 05:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694433869; x=1695038669; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=GVAqXzlC426/Q99gWmFQEMcQAnthP/MlxMy+vl72q0A=; b=ZQdTLBFFGpticfqKf/cn0XVjqBTpZJz/xbB4VxRpEK/r4qabSq3JtxfCwfLt7BhDG7 N6euTAPmqUPVtlVCVUCnHX4PZpHczttePHDSEpxftbACVkgu6KcMbhtI4Kjp0kMOVHco yoT9WHAECCHhIZmNHPmAsGUF/KmhXhaBdihvSY+a0F1yAiYZDZfmxVxsCLOTCqVVrvPb Cv7KCKR5R83SxYPvfCF/CeO/aaP+6Bo35J4DJ2tpOjrcY0/V3/1obAbBPuwC/liFpkNp S1UqJdKPAIZJUF94yxaytcY/F5dkNEWuJ9N3IRprR7BBIvrsMimCnaALWDRVVj+DBnPC l7Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694433869; x=1695038669; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=GVAqXzlC426/Q99gWmFQEMcQAnthP/MlxMy+vl72q0A=; b=hggaYa1u7qImDvnC5mK1p3DM3LRtqSWEZVKqpHPT5Q8dxFWmsD5ZCmhcBcY+as3paA /x9pdmgwiVr8DuKMPpaGLE9LIVP+fW9BJF0DFTWQJhrQd68wsp4PieIwDfFcaPJ+bcIb uKafXuvRC8tTdy7S8AKMudHnkT/ytuW0c7tv827Naxwq6VgxShtr+hAPrv2RVOuA/zQ3 RsS4TIUI2iKMM/cMpk3SaUylXdBcSHZKCaMdPWfQn2rodB8p5BZodTwtOZhlGTedPUh6 xh8T95pncgfz+3cA97uk8+Z/y6T9e4zPiMMaFMTElRnvHevGwSgaUmMMuFMwXMzWkETc lrtw== X-Gm-Message-State: AOJu0YyPdw7iwK8LgLmNcuuhcH1gLHqxq9MgfKwGw6MC6GvpvnTybP0O Dsv0O3458qbD8DnftrMty+4EwJ40xrAuQr7a5EgfD1EPCNg= X-Google-Smtp-Source: AGHT+IEZNNyRlSUZrC5WG88KBuLNQsHjCcO64IGzElVBW4JSji+vJ49MJioaeR3axRB+rIj/dmzyJp85126HcZOXGiU= X-Received: by 2002:a0c:b21e:0:b0:647:2def:6a8 with SMTP id x30-20020a0cb21e000000b006472def06a8mr8988094qvd.45.1694433868867; Mon, 11 Sep 2023 05:04:28 -0700 (PDT) MIME-Version: 1.0 From: note meta Date: Mon, 11 Sep 2023 20:04:17 +0800 Message-ID: Subject: Some Issues I Encountered While Developing Metanote To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000d96b3806051420d6" Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=metanote.team@gmail.com; helo=mail-qv1-xf2c.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, HTML_MESSAGE=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.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: 420483599F X-TUID: 7W+J7eQoc2GI --000000000000d96b3806051420d6 Content-Type: text/plain; charset="UTF-8" Dear org mode developers, I'm the author of Metanote. A few days ago, I posted a thread on Reddit with the title "Let's Talk About the Story of Metanote and Free Software." https://www.reddit.com/r/emacs/comments/16db9gz/lets_talk_about_the_story_of_metanote_and_free/ You can learn more about Metanote and me from there. In the replies to that post, someone mentioned here, so here I am. During the development of Metanote, I encountered some issues, as follows: (Note that my testing environment is based on org mode 9.3.6, GNU Emacs 28.2. I haven't tested with the latest org mode, so I'm not sure if these issues still exist.) 1. Dynamic Block Parsing Issue #+begin_example #+begin #+end: #+end_example The above is a Dynamic Block, and the parsed syntax tree is: (org-data nil (section (:begin 1 :end 17 :contents-begin 1 :contents-end 17 :post-blank 0 :post-affiliated 1 :parent #0) (dynamic-block (:begin 1 :end 17 :block-name nil :arguments nil :contents-begin nil :contents-end nil :post-blank 0 :post-affiliated 1 :parent #1)))) However, the following is not recognized as a Dynamic Block: #+begin_example a #+begin #+end: #+end_example the parsed syntax tree is: (org-data nil (section (:begin 1 :end 18 :contents-begin 1 :contents-end 18 :post-blank 0 :post-affiliated 1 :parent #0) (paragraph (:begin 1 :end 11 :contents-begin 1 :contents-end 11 :post-blank 0 :post-affiliated 1 :parent #1)) (keyword (:key "END" :value "" :begin 11 :end 18 :post-blank 0 :post-affiliated 11 :parent #1)))) 2. About Paragraph #+begin_example +--+ +--+ +this is a paragraph+ +this is a paragraph+ #+end_example There should be only one paragraph above, but it's parsed as two: (org-data nil (section (:begin 1 :end 55 :contents-begin 1 :contents-end 55 :post-blank 0 :post-affiliated 1 :parent #0) (paragraph (:begin 1 :end 6 :contents-begin 1 :contents-end 6 :post-blank 0 :post-affiliated 1 :parent #1)) (paragraph (:begin 6 :end 55 :contents-begin 6 :contents-end 55 :post-blank 0 :post-affiliated 6 :parent #1)))) 3. About Pre-blank The first blank line in a Greater Element is parsed as a paragraph. However, this behavior is inconsistent in Items and Footnote definitions. In Items and Footnote definitions, a blank line is parsed as a Pre-blank. In Footnote definitions, especially, this blank line appears only once because having more than one would break the Footnote definitions. #+begin_example [fn:a] bbb #+end_example (org-data nil (section (:begin 1 :end 13 :contents-begin 1 :contents-end 13 :post-blank 0 :post-affiliated 1 :parent #0) (footnote-definition (:label "a" :begin 1 :end 13 :contents-begin 9 :contents-end 13 :pre-blank 2 :post-blank 0 :post-affiliated 1 :parent #1) (paragraph (:begin 9 :end 13 :contents-begin 9 :contents-end 13 :post-blank 0 :post-affiliated 9 :parent #2))))) I'm a big fan of org mode. A few years ago, I couldn't find an app that supported org mode on my phone, so I created one myself. I hope that through my app, I can introduce org mode to more people, even those who are not familiar with Emacs. I also hope to make some contributions to org mode. Additionally, is it possible to include Metanote in the 'Tools that work with Org' section at https://orgmode.org/tools.html ? Metanote website is https://metanote-dev.github.io/. Best regards, Zhen --000000000000d96b3806051420d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear org mode developers,

I'm the author of Met= anote. A few days ago, I posted a thread on Reddit with the title "Let= 's Talk About the Story of Metanote and Free Software."
https://www.reddit.com/r/emacs/comments/16db9gz/l= ets_talk_about_the_story_of_metanote_and_free/
You =C2=A0can learn m= ore about Metanote and me from there. In the replies to that post, someone = mentioned here, so here I am.

During the development of Metanote, I = encountered some issues, as follows: (Note that my testing environment is b= ased on org mode 9.3.6, GNU Emacs 28.2. I haven't tested with the lates= t org mode, so I'm not sure if these issues still exist.)

1. Dyn= amic Block Parsing Issue

=C2=A0 =C2=A0#+begin_example
#+begin
= #+end:
=C2=A0 =C2=A0#+end_example

=C2=A0 =C2=A0The above is a Dyn= amic Block, and the parsed syntax tree is:

=C2=A0 =C2=A0(org-data ni= l (section (:begin 1 :end 17 :contents-begin 1 :contents-end 17 :post-blank= 0 :post-affiliated 1 :parent #0) (dynamic-block (:begin 1 :end 17 :block-n= ame nil :arguments nil :contents-begin nil :contents-end nil :post-blank 0 = :post-affiliated 1 :parent #1))))

=C2=A0 =C2=A0However, the followin= g is not recognized as a Dynamic Block:

=C2=A0 =C2=A0#+begin_example=
a
#+begin
#+end:
=C2=A0 =C2=A0#+end_example

=C2=A0 =C2= =A0the parsed syntax tree is:

(org-data nil (section (:begin 1 :end = 18 :contents-begin 1 :contents-end 18 :post-blank 0 :post-affiliated 1 :par= ent #0) (paragraph (:begin 1 :end 11 :contents-begin 1 :contents-end 11 :po= st-blank 0 :post-affiliated 1 :parent #1)) (keyword (:key "END" := value "" :begin 11 :end 18 :post-blank 0 :post-affiliated 11 :par= ent #1))))

2. About Paragraph

=C2=A0 =C2=A0#+begin_example+--+
+--+
+this is a paragraph+
+this is a paragraph+
=C2=A0 = =C2=A0#+end_example

There should be only one paragraph above, but it= 's parsed as two:

(org-data nil (section (:begin 1 :end 55 :cont= ents-begin 1 :contents-end 55 :post-blank 0 :post-affiliated 1 :parent #0) = (paragraph (:begin 1 :end 6 :contents-begin 1 :contents-end 6 :post-blank 0= :post-affiliated 1 :parent #1)) (paragraph (:begin 6 :end 55 :contents-beg= in 6 :contents-end 55 :post-blank 0 :post-affiliated 6 :parent #1))))
3. About Pre-blank
=C2=A0 =C2=A0
=C2=A0 =C2=A0The first blank line = in a Greater Element is parsed as a paragraph. However, this behavior is in= consistent in Items and Footnote definitions. In Items and Footnote definit= ions, a blank line is parsed as a Pre-blank. In Footnote definitions, espec= ially, this blank line appears only once because having more than one would= break the Footnote definitions.

#+begin_example
[fn:a]

bb= b
#+end_example

(org-data nil (section (:begin 1 :end 13 :content= s-begin 1 :contents-end 13 :post-blank 0 :post-affiliated 1 :parent #0) (fo= otnote-definition (:label "a" :begin 1 :end 13 :contents-begin 9 = :contents-end 13 :pre-blank 2 :post-blank 0 :post-affiliated 1 :parent #1) = (paragraph (:begin 9 :end 13 :contents-begin 9 :contents-end 13 :post-blank= 0 :post-affiliated 9 :parent #2)))))


I'm a big fan of org m= ode. A few years ago, I couldn't find an app that supported org mode on= my phone, so I created one myself. I hope that through my app, I can intro= duce org mode to more people, even those who are not familiar with Emacs. I= also hope to make some contributions to org mode.

Additionally, is = it possible to include Metanote in the 'Tools that work with Org' s= ection at https://orgmode.org/to= ols.html=C2=A0?=C2=A0 Metanote website is https://metanote-dev.github.io/.

Best regards,Zhen
--000000000000d96b3806051420d6--