emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastien.guerry@wikimedia.fr>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: Why :ID: properties?
Date: Tue, 07 Sep 2010 16:40:41 +0200	[thread overview]
Message-ID: <87hbi11us6.fsf@gnu.org> (raw)
In-Reply-To: <4C864C75.1010202@gmail.com> (Rainer M. Krug's message of "Tue, 07 Sep 2010 16:30:13 +0200")

Rainer M Krug <r.m.krug@gmail.com> writes:

> On 07/09/10 16:16, Erik Iverson wrote:
>> Did you recently start using MobileOrg?
>
> No - I only inserted a link, and around that time the :ID:s appeared. I
> deleted them all manually, but they came back.

I suspect you need this:

(set org-link-to-org-use-id nil)

See the variable docstring:

,----[ org-link-to-org-use-id is a variable defined in `org.el'. ]
| Its value is create-if-interactive-and-no-custom-id
| 
| Documentation:
| Non-nil means storing a link to an Org file will use entry IDs.
| 
| Note that before this variable is even considered, org-id must be loaded,
| so please customize `org-modules' and turn it on.
| 
| The variable can have the following values:
| 
| t     Create an ID if needed to make a link to the current entry.
| 
| create-if-interactive
|       If `org-store-link' is called directly (interactively, as a user
|       command), do create an ID to support the link.  But when doing the
|       job for remember, only use the ID if it already exists.  The
|       purpose of this setting is to avoid proliferation of unwanted
|       IDs, just because you happen to be in an Org file when you
|       call `org-remember' that automatically and preemptively
|       creates a link.  If you do want to get an ID link in a remember
|       template to an entry not having an ID, create it first by
|       explicitly creating a link to it, using `C-c C-l' first.
| 
| create-if-interactive-and-no-custom-id
|       Like create-if-interactive, but do not create an ID if there is
|       a CUSTOM_ID property defined in the entry.  This is the default.
| 
| use-existing
|       Use existing ID, do not create one.
| 
| nil   Never use an ID to make a link, instead link using a text search for
|       the headline text.
`----

-- 
 Bastien

  reply	other threads:[~2010-09-07 14:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-07 14:10 Why :ID: properties? Rainer M Krug
2010-09-07 14:16 ` Erik Iverson
2010-09-07 14:30   ` Rainer M Krug
2010-09-07 14:40     ` Bastien [this message]
2010-09-07 18:42       ` Rainer M Krug
2010-09-12 15:30         ` David Maus
2010-09-19 21:49           ` Bastien
2010-09-07 14:34   ` Bastien
2010-09-07 18:42     ` Rainer M Krug

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=87hbi11us6.fsf@gnu.org \
    --to=bastien.guerry@wikimedia.fr \
    --cc=Emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    /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).