emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Pere Quintana Seguí" <pquintana@obsebre.es>
To: Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Use id property as anchor in the Table of Contents
Date: Tue, 13 Sep 2011 16:53:27 +0200	[thread overview]
Message-ID: <CABnQcB+wKW+LkCJ7uj_MYAcD8HchHxnk-OnrXDExkZM2MeFCWg@mail.gmail.com> (raw)
In-Reply-To: <87hb4geozv.fsf@rat.lan>

2011/9/13 Olaf Dietsche <olaf+list.orgmode@olafdietsche.de>:
> You might try this *untested* patch. It is against git master.

:D Thanks!!!

> How did you create ID properties for all entries? Have you exported your
> org-files to icalendar?

Most of them have ID properties because I often link them internally.
When I create the link with C-c l, org adds the id.

For those that do not have ID, I'll create them manually with
org-id-get-create. With a keyboard macro this will be fast.

> And please, don't forget to backup your files!

Of course! Fortunately I version control my ~/org folder with Bazaar.

With this patch, what happens if there is no id in a heading, does it
create it automatically?

At work I'm using stable versions of Org-mode. This weekend I'll try
the git version at home and test your patch.

Thanks

  reply	other threads:[~2011-09-13 14:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-07 21:07 Use id property as anchor in the Table of Contents Pere Quintana Seguí
2011-09-08  0:34 ` Bernt Hansen
2011-09-08 10:53   ` Pere Quintana Seguí
2011-09-13 10:05     ` Olaf Dietsche
2011-09-13 14:53       ` Pere Quintana Seguí [this message]
2011-09-15  9:18         ` Olaf Dietsche
2011-09-15 11:52           ` Pere Quintana Seguí
2012-04-20 11:51       ` Bastien

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=CABnQcB+wKW+LkCJ7uj_MYAcD8HchHxnk-OnrXDExkZM2MeFCWg@mail.gmail.com \
    --to=pquintana@obsebre.es \
    --cc=emacs-orgmode@gnu.org \
    --cc=olaf+list.orgmode@olafdietsche.de \
    /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).