emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: shortcutz <spookygostee@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to export org as org and keep heading IDs?
Date: Thu, 9 Nov 2023 12:10:22 -0600	[thread overview]
Message-ID: <CAJ+V6LECSWUXDsN296Wx6XvNcNaErrrp4YXY-t4XvumMxoso=w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

org-md-export-as-markdown preserves the ID property of an org buffer, but
for some reason org-org-export-as-org does not. I don't have the "visible
only" option set.

According to the function documentation I should be able to pass a property
list "with external parameters overriding Org default settings", but I
don't know what those default settings are or what parameters will cause
the ID to be exported.

How can I export org headings to org buffers while preserving the ID?
Thanks.

[-- Attachment #2: Type: text/html, Size: 602 bytes --]

             reply	other threads:[~2023-11-09 18:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-09 18:10 shortcutz [this message]
2023-11-09 18:25 ` How to export org as org and keep heading IDs? 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='CAJ+V6LECSWUXDsN296Wx6XvNcNaErrrp4YXY-t4XvumMxoso=w@mail.gmail.com' \
    --to=spookygostee@gmail.com \
    --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).