emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: org-id-get-create maybe...
Date: Wed, 05 Aug 2009 01:06:43 +0200	[thread overview]
Message-ID: <87my6f5gcc.fsf@kassiopeya.MSHEIMNETZ> (raw)

In my org-setup, I want to have something like this:

  (defun sr-org-id-insert-maybe ()
    (if (y-or-n-p "Create a unique ID for this section?")

  (org-insert-heading-hook (quote (sr-org-id-insert-maybe)))

But I don't want to enable it globally. Instead, I want to create IDs
semi-automatic for special files (or projects) only.

How would I do that?


             reply	other threads:[~2009-08-04 23:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 23:06 Sebastian Rose [this message]
2009-08-04 23:49 ` org-id-get-create maybe Carsten Dominik
2009-08-05 11:33   ` Sebastian Rose

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:

  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=87my6f5gcc.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \


* 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


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).