From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: function to duplicate current header and change ID Date: Wed, 3 Aug 2016 07:17:55 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c14fc41d02670539231e22 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUncz-0006oR-0V for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 00:17:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUncy-0003Kk-5l for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 00:17:56 -0400 Received: from mail-yw0-x232.google.com ([2607:f8b0:4002:c05::232]:35091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUncy-0003Kg-16 for emacs-orgmode@gnu.org; Wed, 03 Aug 2016 00:17:56 -0400 Received: by mail-yw0-x232.google.com with SMTP id j12so216892874ywb.2 for ; Tue, 02 Aug 2016 21:17:55 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org mode --001a11c14fc41d02670539231e22 Content-Type: text/plain; charset=UTF-8 Hi all i noticed i use the copy and then paste entire headers (with content) quite often. the problem i also notice is that creates alot of issues with duplicate IDS. I wonder if anyone has a function he would like to share or can help me create a function that will 1. copy current header and contents (org-copy-subtree) at point 2. auto paste it below current header 3. change ID thx alot! Z --001a11c14fc41d02670539231e22 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all

i noticed i use the copy and the= n paste entire headers (with content) quite often. the problem i also notic= e is that creates alot of issues with duplicate IDS. I wonder if anyone has= a function he would like to share or can help me create a function that wi= ll
1. copy current header and contents (org-copy-subtree) at poin= t
2. auto paste it below current header
3. change ID=C2= =A0

thx alot!

Z
--001a11c14fc41d02670539231e22--