From: Philip Hudson <phil.hudson@iname.com>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: issues with duplicate ID's
Date: Sat, 23 Jul 2016 14:04:17 +0100 [thread overview]
Message-ID: <CAJ1MqVGMB=q5qVcvvFAcyW+=tRy2gO2-09vGFnA41JACdD7O=Q@mail.gmail.com> (raw)
In-Reply-To: <CAOQHXPrpU0T1yxTeuvExaQft0mR50YLhO-Pc0=Gc=VZHOzdQow@mail.gmail.com>
On 23 July 2016 at 08:02, Xebar Saram <zeltakc@gmail.com> wrote:
> i see why this happens since i often copy org headers to add new function
> and the ID is copied alongside
It would not be too hard to advise `org-yank' and `org-pasted-subtree'
to delete yanked IDs that are duplicates within the current buffer,
either interactively or automatically. With a bit more work, it could
be extended to scan a whole directory or fileset such as
`org-agenda-files'.
--
Phil Hudson http://hudson-it.ddns.net
@UWascalWabbit PGP/GnuPG ID: 0x887DCA63
prev parent reply other threads:[~2016-07-23 13:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-22 11:58 issues with duplicate ID's Xebar Saram
2016-07-22 15:20 ` Philip Hudson
2016-07-22 17:46 ` Xebar Saram
2016-07-23 7:02 ` Xebar Saram
2016-07-23 13:04 ` Philip Hudson [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ1MqVGMB=q5qVcvvFAcyW+=tRy2gO2-09vGFnA41JACdD7O=Q@mail.gmail.com' \
--to=phil.hudson@iname.com \
--cc=emacs-orgmode@gnu.org \
--cc=zeltakc@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.