From: Alain.Cochard@unistra.fr
To: emacs-orgmode@gnu.org
Subject: org-up-element does not the same for all structural blocks
Date: Mon, 2 Jan 2023 00:19:12 +0100 [thread overview]
Message-ID: <25522.5360.861501.370084@gargle.gargle.HOWL> (raw)
With an org file like
* h
#+begin_export ascii
foo
#+end_export
putting the cursor on 'foo' and doing
M-x org-up-element
brings the cursor on '* h'. Same with the following blocks:
‘#+begin_comment’ ... ‘#+end_comment’
‘#+begin_example’ ... ‘#+end_example’
‘#+begin_export’ ... ‘#+end_export’
‘#+begin_export html’ ... ‘#+end_export’
‘#+begin_export latex’ ... ‘#+end_export’
‘#+begin_src’ ... ‘#+end_src’ (I tried org and lisp)
‘#+begin_verse’ ... ‘#+end_verse’
But for those two blocks:
‘#+begin_center’ ... ‘#+end_center’
‘#+begin_quote’ ... ‘#+end_quote’
the cursor is moved to the beginning of the block instead, which I
find strange.
Incidentally, is there a definition understandable for the basic user
of what an "org element" is? I could not find one after a (quick)
Internet search, not even in
https://orgmode.org/worg/dev/org-element-api.html
https://orgmode.org/worg/org-syntax.html
(even if I sure it's between the lines...)
--
EOST (École et Observatoire des Sciences de la Terre)
ITE (Institut Terre & Environnement) | alain.cochard@unistra.fr
5 rue René Descartes [bureau 110] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | [ slot available for rent ]
next reply other threads:[~2023-01-01 23:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-01 23:19 Alain.Cochard [this message]
2023-01-02 9:24 ` org-up-element does not the same for all structural blocks Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25522.5360.861501.370084@gargle.gargle.HOWL \
--to=alain.cochard@unistra.fr \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).