From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Automatically Generating IDs From Title and Date Date: Sun, 18 Dec 2016 13:14:41 +0100 Message-ID: <2016-12-18T13-12-13@devnull.Karl-Voit.at> References: <2016-08-25T14-36-57@devnull.Karl-Voit.at> <877fb429j4.fsf@saiph.selenimh> <2016-08-25T17-05-15@devnull.Karl-Voit.at> <87mvg2t8g0.fsf@artlab.createcnix.lan> <2016-12-12T12-38-45@devnull.Karl-Voit.at> <2016-12-12T15-59-38@devnull.Karl-Voit.at> Reply-To: Karl Voit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIaN2-0005Ck-W7 for emacs-orgmode@gnu.org; Sun, 18 Dec 2016 07:15:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIaMz-0006mu-PZ for emacs-orgmode@gnu.org; Sun, 18 Dec 2016 07:15:16 -0500 Received: from [195.159.176.226] (port=47457 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIaMz-0006mq-J1 for emacs-orgmode@gnu.org; Sun, 18 Dec 2016 07:15:13 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cIaMr-0001JM-SS for emacs-orgmode@gnu.org; Sun, 18 Dec 2016 13:15:05 +0100 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: emacs-orgmode@gnu.org * Karl Voit wrote: > * Carsten Dominik wrote: > >> Since ord-depend was only proof of concept, we could also think a bit more >> broadly about what it should be able to do. Is there specific >> functionality it also should support, besides the TRIGGER/BLOCKER functions >> it has right now? > > Oh my goodness - free wishes for org-depend? Christmas is rather > early this year! ;-) > > For reference purposes: http://orgmode.org/worg/org-contrib/org-depend.html I thought about some org-depend improvements to take it to the next level. Since many Org-mode users do not know or use org-depend.el, I decided to write a blog post about it and how improvements can easy my digital life: http://karl-voit.at/2016/12/18/org-depend/ Some improvements are probably solved with a few lines of Elisp code. Unfortunately, I am very bad at coding Elisp myself and thus can't extend Emacs the way I would love to. For discussion purposes, I now append the improvements as separate mailinglist emails here as well: --------------------- 2 Improvement: Generating IDs From Heading and Date =================================================== So far, I define `:ID:' properties manually. There are settings that result in random IDs set for any new heading. I don't like random ID numbers because I would like to get a hint what heading this might be when I see it. Usually, my IDs start with the current ISO day to enforce uniqueness and look like this: *Title* *Manual ID* ----------------------------------------------------------------------- Update notebook 2016-12-18-update-notebook Schedule a meeting with Bob 2016-12-18-schedule-meeting-bob Add additional URLs to lecture notes 2016-12-18-add-URLs-to-lecture Wouldn't it be nice when there is a command which takes the current heading title and auto-generates the ID property accordingly? I guess this is not that hard to do: *Title* *Auto-generated ID* --------------------------------------------------------------------------------------- Update notebook 2016-12-18-Update-notebook Schedule a meeting with Bob 2016-12-18-Schedule-a-meeting-with-Bob Add additional URLs to lecture notes 2016-12-18-Add-additional-URLs-to-lecture-notes -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github