emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH v3] Show org file title in org-clock clocktable


From: Duy Nguyen
Subject: Re: [PATCH v3] Show org file title in org-clock clocktable
Date: Wed, 17 Aug 2022 20:53:58 +0200

It is not a good idea to call internal function (with "--" in name) from
a different file. Such functions are a subject of change without notice.

`org-macro-templates' is always initialized when Org mode is active, and
you can rely on its value.

Thanks for letting me know. The reason I chose that method is because the org-macro-templates are not updated immediately after I change the title and save the file. However, I think I found a solution using org-macro-initialize-templates and org-macro-templates. Please see the attached patch. Hope this is OK, otherwise please let me know how to improve.

Duy

Attachment: v3-0001-lisp-org-clock.el-Show-file-title-in-org-clock-cl.patch
Description: Source code patch


reply via email to

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