emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Automatically Generating IDs From Title and Date


From: Karl Voit
Subject: [O] Automatically Generating IDs From Title and Date
Date: Sun, 18 Dec 2016 13:14:41 +0100
User-agent: slrn/pre1.0.0-18 (Linux)

* Karl Voit <address@hidden> wrote:
> * Carsten Dominik <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]